NT - The type of objects returned by the iteratorpublic class BaseNearIterable<NT> extends TransformingIterable<NT> implements NearIterable<NT>
NearIterable.| Constructor and Description |
|---|
BaseNearIterable(Iterable<?> iterable,
Class<NT> type,
Function<Object,NT> function)
Creates a new
BaseNearIterable instance. |
| Modifier and Type | Method and Description |
|---|---|
NT |
declareNearType()
Declares the near type that corresponds to the object that implements this interface.
|
first, getType, getWrappedIterable, isEmpty, iteratorequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfirst, isEmptypublic BaseNearIterable(Iterable<?> iterable, Class<NT> type, Function<Object,NT> function)
BaseNearIterable instance.iterable - The iterable that backs this instancetype - The type of object returned by the iteratorfunction - The function that converts objects returned by the backing iterablepublic NT declareNearType()
DeclaresNearTypedeclareNearType in interface DeclaresNearType<NT>Copyright © 2013. All Rights Reserved.