| Package | Description | 
|---|---|
| net.sf.rubycollect4j | |
| net.sf.rubycollect4j.iter | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
RubyLazyEnumerator.allʔ(BooleanBlock<? super E> block)  | 
boolean | 
RubyContract.Enumerable.allʔ(BooleanBlock<? super E> block)
Checks if any result returned by the block is false. 
 | 
boolean | 
RubyEnumerable.allʔ(BooleanBlock<? super E> block)  | 
boolean | 
RubyLazyEnumerator.anyʔ(BooleanBlock<? super E> block)  | 
boolean | 
RubyContract.Enumerable.anyʔ(BooleanBlock<? super E> block)
Checks if any result returned by the block is true. 
 | 
boolean | 
RubyEnumerable.anyʔ(BooleanBlock<? super E> block)  | 
int | 
RubyLazyEnumerator.count(BooleanBlock<? super E> block)  | 
int | 
RubyContract.Enumerable.count(BooleanBlock<? super E> block)
Counts the elements which are true returned by the block. 
 | 
int | 
RubyEnumerable.count(BooleanBlock<? super E> block)  | 
RubyArray<E> | 
RubyArray.deleteIf(BooleanBlock<? super E> block)
Deletes elements which are true returned by the block. 
 | 
RubySet<E> | 
RubySet.deleteIf(BooleanBlock<? super E> block)
Deletes every element of the set for which block evaluates to true, and
 returns self. 
 | 
E | 
RubyLazyEnumerator.detect(BooleanBlock<? super E> block)  | 
E | 
RubyContract.Enumerable.detect(BooleanBlock<? super E> block)
Finds the first element which gets true returned by the block. 
 | 
E | 
RubyEnumerable.detect(BooleanBlock<? super E> block)  | 
RubyLazyEnumerator<E> | 
RubyLazyEnumerator.dropWhile(BooleanBlock<? super E> block)
Drops the first n elements until an element gets false returned by the
 block. 
 | 
Z | 
RubyContract.Enumerable.dropWhile(BooleanBlock<? super E> block)
Drops the first n elements until an element gets false returned by the
 block. 
 | 
RubyArray<E> | 
RubyEnumerable.dropWhile(BooleanBlock<? super E> block)
Drops the first n elements until an element gets false returned by the
 block. 
 | 
RubyArray<E> | 
Ruby.Enumerable.dropWhile(BooleanBlock<? super E> block)
Drops the first n elements until an element gets false returned by the
 block. 
 | 
Ruby.LazyEnumerator<E> | 
Ruby.LazyEnumerator.dropWhile(BooleanBlock<? super E> block)
Drops the first n elements until an element gets false returned by the
 block. 
 | 
E | 
RubyLazyEnumerator.find(BooleanBlock<? super E> block)  | 
E | 
RubyContract.Enumerable.find(BooleanBlock<? super E> block)
Equivalent to  
RubyContract.Enumerable.detect(BooleanBlock). | 
E | 
RubyEnumerable.find(BooleanBlock<? super E> block)  | 
RubyLazyEnumerator<E> | 
RubyLazyEnumerator.findAll(BooleanBlock<? super E> block)
Finds all elements which are true returned by the block. 
 | 
Z | 
RubyContract.Enumerable.findAll(BooleanBlock<? super E> block)
Finds all elements which are true returned by the block. 
 | 
RubyArray<E> | 
RubyEnumerable.findAll(BooleanBlock<? super E> block)
Finds all elements which are true returned by the block. 
 | 
RubyArray<E> | 
Ruby.Enumerable.findAll(BooleanBlock<? super E> block)
Finds all elements which are true returned by the block. 
 | 
Ruby.LazyEnumerator<E> | 
Ruby.LazyEnumerator.findAll(BooleanBlock<? super E> block)
Finds all elements which are true returned by the block. 
 | 
java.lang.Integer | 
RubyLazyEnumerator.findIndex(BooleanBlock<? super E> block)  | 
java.lang.Integer | 
RubyContract.Enumerable.findIndex(BooleanBlock<? super E> block)
Returns the index of first element which gets true returned by the block. 
 | 
java.lang.Integer | 
RubyEnumerable.findIndex(BooleanBlock<? super E> block)  | 
java.lang.Integer | 
RubyArray.index(BooleanBlock<? super E> block)
Finds the first index of an element which gets true returned by the block. 
 | 
RubyArray<E> | 
RubyArray.keepIf(BooleanBlock<? super E> block)
Keeps elements which are true returned by the block. 
 | 
RubySet<E> | 
RubySet.keepIf(BooleanBlock<? super E> block)
Deletes every element of the set for which block evaluates to false, and
 returns self. 
 | 
boolean | 
RubyLazyEnumerator.noneʔ(BooleanBlock<? super E> block)  | 
boolean | 
RubyContract.Enumerable.noneʔ(BooleanBlock<? super E> block)
Checks if elements contain only elements which are false returned by the
 block. 
 | 
boolean | 
RubyEnumerable.noneʔ(BooleanBlock<? super E> block)  | 
boolean | 
RubyLazyEnumerator.oneʔ(BooleanBlock<? super E> block)  | 
boolean | 
RubyContract.Enumerable.oneʔ(BooleanBlock<? super E> block)
Checks if elements contain only one element which are true returned by
 the block. 
 | 
boolean | 
RubyEnumerable.oneʔ(BooleanBlock<? super E> block)  | 
RubyArray<RubyArray<E>> | 
RubyLazyEnumerator.partition(BooleanBlock<? super E> block)  | 
RubyArray<RubyArray<E>> | 
RubyContract.Enumerable.partition(BooleanBlock<? super E> block)
Divides elements into 2 groups by the given block. 
 | 
RubyArray<RubyArray<E>> | 
RubyEnumerable.partition(BooleanBlock<? super E> block)  | 
RubyLazyEnumerator<E> | 
RubyLazyEnumerator.reject(BooleanBlock<? super E> block)
Filters all elements which are true returned by the block. 
 | 
Z | 
RubyContract.Enumerable.reject(BooleanBlock<? super E> block)
Filters all elements which are true returned by the block. 
 | 
RubyArray<E> | 
RubyEnumerable.reject(BooleanBlock<? super E> block)
Filters all elements which are true returned by the block. 
 | 
RubyArray<E> | 
Ruby.Enumerable.reject(BooleanBlock<? super E> block)
Filters all elements which are true returned by the block. 
 | 
Ruby.LazyEnumerator<E> | 
Ruby.LazyEnumerator.reject(BooleanBlock<? super E> block)
Filters all elements which are true returned by the block. 
 | 
RubyArray<E> | 
RubyArray.rejectǃ(BooleanBlock<? super E> block)
Deletes all elements which are false returned by the block. 
 | 
RubySet<E> | 
RubySet.rejectǃ(BooleanBlock<? super E> block)
Equivalent to  
RubySet.deleteIf(BooleanBlock), but returns null if no
 changes were made. | 
java.lang.Integer | 
RubyArray.rindex(BooleanBlock<? super E> block)
Finds the last index of the element which gets true returned by the block. 
 | 
RubyLazyEnumerator<E> | 
RubyLazyEnumerator.select(BooleanBlock<? super E> block)
Equivalent to  
RubyContract.Enumerable.findAll(BooleanBlock) | 
Z | 
RubyContract.Enumerable.select(BooleanBlock<? super E> block)
Equivalent to  
RubyContract.Enumerable.findAll(BooleanBlock) | 
RubyArray<E> | 
RubyEnumerable.select(BooleanBlock<? super E> block)
Equivalent to  
RubyContract.Enumerable.findAll(BooleanBlock) | 
RubyArray<E> | 
Ruby.Enumerable.select(BooleanBlock<? super E> block)
Equivalent to  
RubyContract.Enumerable.findAll(BooleanBlock) | 
Ruby.LazyEnumerator<E> | 
Ruby.LazyEnumerator.select(BooleanBlock<? super E> block)
Equivalent to  
RubyContract.Enumerable.findAll(BooleanBlock) | 
RubyArray<E> | 
RubyArray.selectǃ(BooleanBlock<? super E> block)
Selects elements which the result returned by the block are false. 
 | 
RubySet<E> | 
RubySet.selectǃ(BooleanBlock<? super E> block)
Equivalent to  
RubySet.keepIf(BooleanBlock), but returns null if no changes
 were made. | 
RubyLazyEnumerator<RubyArray<E>> | 
RubyLazyEnumerator.sliceBefore(BooleanBlock<? super E> block)
 | 
N | 
RubyContract.Enumerable.sliceBefore(BooleanBlock<? super E> block)
 | 
RubyEnumerator<RubyArray<E>> | 
RubyEnumerable.sliceBefore(BooleanBlock<? super E> block)
 | 
Ruby.Enumerator<RubyArray<E>> | 
Ruby.Enumerable.sliceBefore(BooleanBlock<? super E> block)
 | 
Ruby.LazyEnumerator<RubyArray<E>> | 
Ruby.LazyEnumerator.sliceBefore(BooleanBlock<? super E> block)
 | 
RubyLazyEnumerator<E> | 
RubyLazyEnumerator.takeWhile(BooleanBlock<? super E> block)
Takes elements until an element gets false returned by the block. 
 | 
Z | 
RubyContract.Enumerable.takeWhile(BooleanBlock<? super E> block)
Takes elements until an element gets false returned by the block. 
 | 
RubyArray<E> | 
RubyEnumerable.takeWhile(BooleanBlock<? super E> block)
Takes elements until an element gets false returned by the block. 
 | 
RubyArray<E> | 
Ruby.Enumerable.takeWhile(BooleanBlock<? super E> block)
Takes elements until an element gets false returned by the block. 
 | 
Ruby.LazyEnumerator<E> | 
Ruby.LazyEnumerator.takeWhile(BooleanBlock<? super E> block)
Takes elements until an element gets false returned by the block. 
 | 
| Constructor and Description | 
|---|
DropWhileIterable(java.lang.Iterable<? extends E> iter,
                 BooleanBlock<? super E> block)
Creates a  
DropWhileIterable. | 
DropWhileIterator(java.util.Iterator<? extends E> iter,
                 BooleanBlock<? super E> block)
Creates a  
DropWhileIterator. | 
FindAllIterable(java.lang.Iterable<? extends E> iter,
               BooleanBlock<? super E> block)
Creates a  
FindAllIterable. | 
FindAllIterator(java.util.Iterator<? extends E> iter,
               BooleanBlock<? super E> block)
Creates a  
FindAllIterator. | 
RejectIterable(java.lang.Iterable<? extends E> iter,
              BooleanBlock<? super E> block)
Creates a  
RejectIterable. | 
RejectIterator(java.util.Iterator<? extends E> iter,
              BooleanBlock<? super E> block)
Creates a  
RejectIterator. | 
SliceBeforeIterable(java.lang.Iterable<? extends E> iter,
                   BooleanBlock<? super E> block)
Creates a  
SliceBeforeIterable. | 
SliceBeforeIterator(java.util.Iterator<? extends E> iter,
                   BooleanBlock<? super E> block)
Creates a  
SliceBeforeIterator. | 
TakeWhileIterable(java.lang.Iterable<? extends E> iter,
                 BooleanBlock<? super E> block)
Creates a  
TakeWhileIterable. | 
TakeWhileIterator(java.util.Iterator<? extends E> iter,
                 BooleanBlock<? super E> block)
Creates a  
TakeWhileIterator. |