Package | Description |
---|---|
net.sf.rubycollect4j |
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 |
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 |
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 |
---|---|
RubyEnumerable<E> |
RubyEnumerable.each(Block<? super E> block)
Yields each element to the block.
|
RubyEnumerable<E> |
RubyEnumerable.eachEntry(Block<? super E> block)
Yields each element to the block.
|
RubyEnumerable<java.util.Map.Entry<K,V>> |
RubyHash.eachEntry(EntryBlock<? super K,? super V> block)
An adapter method.
|
RubyEnumerable<E> |
RubyEnumerable.eachWithIndex(WithIndexBlock<? super E> block)
Iterates elements with their indices and yields them to the block.
|
RubyEnumerable<E> |
RubyEnumerable.reverseEach(Block<? super E> block)
Iterates each element reversely by given block.
|
RubyEnumerable<java.util.Map.Entry<K,V>> |
RubyHash.reverseEach(EntryBlock<? super K,? super V> block)
An adapter method.
|