NT
- The type of objects returned by the iteratorpublic interface NearIterable<NT> extends DeclaresNearType<NT>, Iterable<NT>
Modifier and Type | Method and Description |
---|---|
NT |
first()
Returns the first object of this iterable; or
null if the iterable is empty. |
boolean |
isEmpty()
Returns an flag that indicates whether the iterable is empty.
|
declareNearType
NT first()
null
if the iterable is empty.null
if the iterable is emptyboolean isEmpty()
true
if the iterable is empty; false
otherwiseCopyright © 2013. All Rights Reserved.