public class CollectSerIteratorFactory extends GuavaSerIteratorFactory
EMPTY_VALUE_TYPES, INSTANCE| Constructor | Description |
|---|---|
CollectSerIteratorFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
SerIterator |
create(java.lang.Object value,
MetaProperty<?> prop,
java.lang.Class<?> beanClass) |
Creates an iterator wrapper for a meta-property value.
|
SerIterator |
createChild(java.lang.Object value,
SerIterator parent) |
Creates an iterator wrapper for a value retrieved from a parent iterator.
|
SerIterable |
createIterable(java.lang.String metaTypeDescription,
JodaBeanSer settings,
java.util.Map<java.lang.String,java.lang.Class<?>> knownTypes) |
Creates an iterator wrapper for a meta-property value.
|
SerIterable |
createIterable(MetaProperty<?> prop,
java.lang.Class<?> beanClass) |
Creates an iterator wrapper for a meta-property value.
|
static SerIterable |
grid(java.lang.Class<?> valueType,
java.util.List<java.lang.Class<?>> valueTypeTypes) |
Gets an iterable wrapper for
Grid. |
static SerIterator |
grid(org.joda.collect.grid.Grid<?> grid,
java.lang.Class<?> declaredType,
java.lang.Class<?> valueType,
java.util.List<java.lang.Class<?>> valueTypeTypes) |
Gets an iterator wrapper for
Grid. |
biMap, biMap, immutableList, immutableSet, immutableSortedSet, listMultimap, multimap, multiset, multiset, setMultimap, sortedMultiset, table, tableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitarray, array, collection, create, createIterable, createIterable, defaultToObjectClass, list, map, map, navigableMap, navigableSet, set, sortedMap, sortedSetpublic SerIterator create(java.lang.Object value, MetaProperty<?> prop, java.lang.Class<?> beanClass)
create in class GuavaSerIteratorFactoryvalue - the possible collection-like object, not nullprop - the meta-property defining the value, not nullbeanClass - the class of the bean, not the meta-property, for better generics, not nullpublic SerIterator createChild(java.lang.Object value, SerIterator parent)
Allows the parent iterator to define the child iterator using generic type information.
This handles cases such as a List as the value in a Map.
createChild in class GuavaSerIteratorFactoryvalue - the possible collection-like object, not nullparent - the parent iterator, not nullpublic SerIterable createIterable(java.lang.String metaTypeDescription, JodaBeanSer settings, java.util.Map<java.lang.String,java.lang.Class<?>> knownTypes)
createIterable in class GuavaSerIteratorFactorymetaTypeDescription - the description of the collection type, not nullsettings - the settings object, not nullknownTypes - the known types map, null if not using known type shorteningpublic SerIterable createIterable(MetaProperty<?> prop, java.lang.Class<?> beanClass)
createIterable in class GuavaSerIteratorFactoryprop - the meta-property defining the value, not nullbeanClass - the class of the bean, not the meta-property, for better generics, not nullpublic static final SerIterable grid(java.lang.Class<?> valueType, java.util.List<java.lang.Class<?>> valueTypeTypes)
Grid.valueType - the value type, not nullvalueTypeTypes - the generic parameters of the value typepublic static final SerIterator grid(org.joda.collect.grid.Grid<?> grid, java.lang.Class<?> declaredType, java.lang.Class<?> valueType, java.util.List<java.lang.Class<?>> valueTypeTypes)
Grid.grid - the collection, not nulldeclaredType - the declared type, not nullvalueType - the value type, not nullvalueTypeTypes - the generic parameters of the value typeCopyright © 2007–2018 Joda.org. All rights reserved.