TDescriptor
- will be DataStoreTypes.ItemDescriptor
or DataStoreTypes.SerializedItemDescriptor
public static final class DataStoreTypes.FullDataSet<TDescriptor>
extends java.lang.Object
Since the generic type signature for the data set is somewhat complicated (it is an ordered
list of key-value pairs where each key is a DataStoreTypes.DataKind
, and each value is another ordered
list of key-value pairs for the individual data items), this type simplifies the declaration of
data store methods and makes it easier to see what the type represents.
Constructor and Description |
---|
FullDataSet(java.lang.Iterable<java.util.Map.Entry<DataStoreTypes.DataKind,DataStoreTypes.KeyedItems<TDescriptor>>> data)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Iterable<java.util.Map.Entry<DataStoreTypes.DataKind,DataStoreTypes.KeyedItems<TDescriptor>>> |
getData()
Returns the wrapped data set.
|
int |
hashCode() |
public FullDataSet(java.lang.Iterable<java.util.Map.Entry<DataStoreTypes.DataKind,DataStoreTypes.KeyedItems<TDescriptor>>> data)
data
- the data setpublic java.lang.Iterable<java.util.Map.Entry<DataStoreTypes.DataKind,DataStoreTypes.KeyedItems<TDescriptor>>> getData()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object