|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SerIterable
An abstraction over collections, lists, sets and maps.
This is a plugin point that can handle Guava collections.
| Method Summary | |
|---|---|
void |
add(Object key,
Object value,
int count)
Adds an item to the builder. |
Object |
build()
Builds the final collection. |
boolean |
isMapLike()
Is the iterable map-like, as opposed to collection-like. |
SerIterator |
iterator()
Obtains an iterator over the data. |
Class<?> |
keyType()
Gets the type of the key. |
Class<?> |
valueType()
Gets the type of the value. |
List<Class<?>> |
valueTypeTypes()
Gets the generic parameters of the value type. |
| Method Detail |
|---|
SerIterator iterator()
void add(Object key,
Object value,
int count)
key - the key, such as for a map, null if no keyvalue - the value, such as for a map or list value, may be nullcount - the count, such as for a multiset, typically one or greaterObject build()
boolean isMapLike()
Class<?> keyType()
Class<?> valueType()
List<Class<?>> valueTypeTypes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||