public interface ObjectIterable<K>
extends java.lang.Iterable<K>
Iterable
that strengthens that specification of iterator()
.Iterable
Modifier and Type | Method and Description |
---|---|
ObjectIterator<K> |
iterator()
Returns a type-specific iterator.
|
default ObjectSpliterator<K> |
spliterator()
Returns a type-specific spliterator on the elements of this iterable.
|
ObjectIterator<K> iterator()
iterator
in interface java.lang.Iterable<K>
Iterable.iterator()
Iterable.iterator()
.default ObjectSpliterator<K> spliterator()
spliterator
in interface java.lang.Iterable<K>
Iterable.spliterator()
.