public interface HasTextCluster extends CategoryHas
Interface for objects that do provide a cluster (iterable, iterator, and array) of text as textual representation.
| Modifier and Type | Method and Description |
|---|---|
default String[] |
getTextAsArray()
Returns text representation of an object.
|
Collection<String> |
getTextAsCollection()
Returns text representation of an object.
|
default Iterable<String> |
getTextAsIterable()
Returns text representation of an object.
|
default Iterator<String> |
getTextAsIterator()
Returns text representation of an object.
|
Collection<String> getTextAsCollection()
Returns text representation of an object.
default Iterable<String> getTextAsIterable()
Returns text representation of an object.
iterable view of text, should not be null and have no blank elementsdefault Iterator<String> getTextAsIterator()
Returns text representation of an object.
iterator view of text, should not be null and have no blank elementsdefault String[] getTextAsArray()
Returns text representation of an object.
array view of text, should not be null and have no blank elementsCopyright © 2016–2017. All rights reserved.