Package | Description |
---|---|
net.sf.rubycollect4j |
Modifier and Type | Method and Description |
---|---|
E |
RubyLazyEnumerator.inject(ReduceBlock<E> block) |
E |
RubyContract.Enumerable.inject(ReduceBlock<E> block)
Assigns the first element as the initial value.
|
E |
RubyEnumerable.inject(ReduceBlock<E> block) |
E |
RubyLazyEnumerator.reduce(ReduceBlock<E> block) |
E |
RubyContract.Enumerable.reduce(ReduceBlock<E> block)
Equivalent to
RubyContract.Enumerable.inject(ReduceBlock) . |
E |
RubyEnumerable.reduce(ReduceBlock<E> block) |