Class DataStoreTypes.FullDataSet<TDescriptor>
- java.lang.Object
-
- com.launchdarkly.sdk.server.subsystems.DataStoreTypes.FullDataSet<TDescriptor>
-
- Type Parameters:
TDescriptor
- will beDataStoreTypes.ItemDescriptor
orDataStoreTypes.SerializedItemDescriptor
- Enclosing class:
- DataStoreTypes
public static final class DataStoreTypes.FullDataSet<TDescriptor> extends java.lang.Object
Wrapper for a set of storable items being passed to a data store.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 Summary
Constructors Constructor Description FullDataSet(java.lang.Iterable<java.util.Map.Entry<DataStoreTypes.DataKind,DataStoreTypes.KeyedItems<TDescriptor>>> data)
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
FullDataSet
public FullDataSet(java.lang.Iterable<java.util.Map.Entry<DataStoreTypes.DataKind,DataStoreTypes.KeyedItems<TDescriptor>>> data)
Constructs a new instance.- Parameters:
data
- the data set
-
-
Method Detail
-
getData
public java.lang.Iterable<java.util.Map.Entry<DataStoreTypes.DataKind,DataStoreTypes.KeyedItems<TDescriptor>>> getData()
Returns the wrapped data set.- Returns:
- an enumeration of key-value pairs; may be empty, but will not be null
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-