public abstract class SerIterable
extends java.lang.Object
This is a plugin point that can handle Guava collections.
| Constructor | Description |
|---|---|
SerIterable() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract void |
add(java.lang.Object key,
java.lang.Object column,
java.lang.Object value,
int count) |
Adds an item to the builder.
|
abstract java.lang.Object |
build() |
Builds the final collection.
|
SerCategory |
category() |
Gets the category of iterable.
|
java.lang.Class<?> |
columnType() |
Gets the type of the column.
|
void |
dimensions(int[] dimensions) |
Sets the dimensions of the wrapped collection.
|
abstract SerIterator |
iterator() |
Obtains an iterator over the data.
|
java.lang.Class<?> |
keyType() |
Gets the type of the key.
|
abstract java.lang.Class<?> |
valueType() |
Gets the type of the value.
|
abstract java.util.List<java.lang.Class<?>> |
valueTypeTypes() |
Gets the generic parameters of the value type.
|
public abstract SerIterator iterator()
public void dimensions(int[] dimensions)
dimensions - the dimension, 0 for row, 1 for columnpublic abstract void add(java.lang.Object key,
java.lang.Object column,
java.lang.Object value,
int count)
key - the key, such as for a map, null if no keycolumn - the column, such as for a table, null if no columnvalue - the value, such as for a map or list value, may be nullcount - the count, such as for a multiset, typically one or greaterpublic abstract java.lang.Object build()
public SerCategory category()
public java.lang.Class<?> keyType()
public java.lang.Class<?> columnType()
public abstract java.lang.Class<?> valueType()
public abstract java.util.List<java.lang.Class<?>> valueTypeTypes()
Copyright © 2007–2018 Joda.org. All rights reserved.