Package | Description |
---|---|
net.sf.rubycollect4j |
Modifier and Type | Interface and Description |
---|---|
(package private) static interface |
RubyContract.Enumerable<E,N extends RubyContract.Enumerator<?,?,?>,Z extends RubyContract.Enumerable<?,?,?>>
RubyContract.Enumerable defines all methods of a Ruby Enumerable should have. |
(package private) static interface |
RubyContract.Enumerator<E,N extends RubyContract.Enumerator<?,?,?>,Z extends RubyContract.Enumerable<?,?,?>>
RubyContract.Enumerator defines all methods of a Ruby Enumerator should have. |
Modifier and Type | Interface and Description |
---|---|
static interface |
Ruby.Enumerable<E>
Ruby.Enumerable includes all methods refer to the Enumerable module
of Ruby. |
static interface |
Ruby.Enumerator<E>
Ruby.Enumerator includes all methods refer to the Enumerator class
of Ruby. |
static interface |
Ruby.LazyEnumerator<E>
Ruby.LazyEnumerator includes all methods refer to the
LazyEnumerator class of Ruby. |
(package private) static interface |
RubyContract.Enumerator<E,N extends RubyContract.Enumerator<?,?,?>,Z extends RubyContract.Enumerable<?,?,?>>
RubyContract.Enumerator defines all methods of a Ruby Enumerator should have. |
Modifier and Type | Class and Description |
---|---|
class |
RubyArray<E>
RubyArray implements all methods refer to the Array class of Ruby
language. |
class |
RubyDir
RubyDir implements parts of the methods refer to the Dir class of
Ruby. |
class |
RubyEnumerable<E>
RubyEnumerable is an extension for any Iterable class. |
class |
RubyEnumerator<E>
RubyEnumerator implements most of the methods refer to the Enumerator
class of Ruby language. |
class |
RubyHash<K,V>
RubyHash implements all methods refer to the Hash class of Ruby
language. |
class |
RubyLazyEnumerator<E>
RubyLazyEnumerator implements most of the methods refer to the
Enumerator::Lazy class of Ruby language. |
class |
RubyRange<E>
RubyRange is inspired by the Range class of Ruby. |
class |
RubySet<E>
RubySet implements all methods refer to the Set class of Ruby
language. |
class |
RubyString
RubyString implements all methods refer to the String class of Ruby
language. |
Modifier and Type | Method and Description |
---|---|
RubyContract.Enumerable<E,N,Z> |
RubyContract.Enumerable.each(Block<? super E> block)
Yields each element to the block.
|
RubyContract.Enumerable<E,N,Z> |
RubyContract.Enumerable.eachEntry(Block<? super E> block)
Yields each element to the block.
|
RubyContract.Enumerable<E,N,Z> |
RubyContract.Enumerable.eachWithIndex(WithIndexBlock<? super E> block)
Iterates elements with their indices and yields them to the block.
|
RubyContract.Enumerable<E,N,Z> |
RubyContract.Enumerable.reverseEach(Block<? super E> block)
Iterates each element reversely by given block.
|