alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Scala example source code file (seqlike-kmp.check)

This example Scala source code file (seqlike-kmp.check) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Scala tags/keywords

The Scala seqlike-kmp.check source code

indexOfSlice
  (97) with idx >= -1 = 97
  (97) with idx >= 0 = 97
  (97) with idx >= 1 = 97
  (97) with idx >= 2 = 97
  (97) with idx >= 97 = 97
  (97) with idx >= 98 = -1
  (97) with idx >= 99 = -1
  (97) with idx >= 100 = -1
lastIndexOfSlice
  (97) with idx <= -1 = -1
  (97) with idx <= 0 = -1
  (97) with idx <= 1 = -1
  (97) with idx <= 2 = -1
  (97) with idx <= 97 = 97
  (97) with idx <= 98 = 97
  (97) with idx <= 99 = 97
  (97) with idx <= 100 = 97
indexOfSlice
  (97, 98) with idx >= -1 = 97
  (97, 98) with idx >= 0 = 97
  (97, 98) with idx >= 1 = 97
  (97, 98) with idx >= 2 = 97
  (97, 98) with idx >= 97 = 97
  (97, 98) with idx >= 98 = -1
  (97, 98) with idx >= 99 = -1
  (97, 98) with idx >= 100 = -1
lastIndexOfSlice
  (97, 98) with idx <= -1 = -1
  (97, 98) with idx <= 0 = -1
  (97, 98) with idx <= 1 = -1
  (97, 98) with idx <= 2 = -1
  (97, 98) with idx <= 97 = 97
  (97, 98) with idx <= 98 = 97
  (97, 98) with idx <= 99 = 97
  (97, 98) with idx <= 100 = 97
indexOfSlice
  (97, 98, 99) with idx >= -1 = 97
  (97, 98, 99) with idx >= 0 = 97
  (97, 98, 99) with idx >= 1 = 97
  (97, 98, 99) with idx >= 2 = 97
  (97, 98, 99) with idx >= 97 = 97
  (97, 98, 99) with idx >= 98 = -1
  (97, 98, 99) with idx >= 99 = -1
  (97, 98, 99) with idx >= 100 = -1
lastIndexOfSlice
  (97, 98, 99) with idx <= -1 = -1
  (97, 98, 99) with idx <= 0 = -1
  (97, 98, 99) with idx <= 1 = -1
  (97, 98, 99) with idx <= 2 = -1
  (97, 98, 99) with idx <= 97 = 97
  (97, 98, 99) with idx <= 98 = 97
  (97, 98, 99) with idx <= 99 = 97
  (97, 98, 99) with idx <= 100 = 97
indexOfSlice
  (98, 99) with idx >= -1 = 98
  (98, 99) with idx >= 0 = 98
  (98, 99) with idx >= 1 = 98
  (98, 99) with idx >= 2 = 98
  (98, 99) with idx >= 97 = 98
  (98, 99) with idx >= 98 = 98
  (98, 99) with idx >= 99 = -1
  (98, 99) with idx >= 100 = -1
lastIndexOfSlice
  (98, 99) with idx <= -1 = -1
  (98, 99) with idx <= 0 = -1
  (98, 99) with idx <= 1 = -1
  (98, 99) with idx <= 2 = -1
  (98, 99) with idx <= 97 = -1
  (98, 99) with idx <= 98 = 98
  (98, 99) with idx <= 99 = 98
  (98, 99) with idx <= 100 = 98
indexOfSlice
  (99) with idx >= -1 = 99
  (99) with idx >= 0 = 99
  (99) with idx >= 1 = 99
  (99) with idx >= 2 = 99
  (99) with idx >= 97 = 99
  (99) with idx >= 98 = 99
  (99) with idx >= 99 = 99
  (99) with idx >= 100 = -1
lastIndexOfSlice
  (99) with idx <= -1 = -1
  (99) with idx <= 0 = -1
  (99) with idx <= 1 = -1
  (99) with idx <= 2 = -1
  (99) with idx <= 97 = -1
  (99) with idx <= 98 = -1
  (99) with idx <= 99 = 99
  (99) with idx <= 100 = 99

Other Scala examples (source code examples)

Here is a short list of links related to this Scala seqlike-kmp.check source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.