Class DataStoreTypes.KeyedItems<TDescriptor>
- java.lang.Object
-
- com.launchdarkly.sdk.server.subsystems.DataStoreTypes.KeyedItems<TDescriptor>
-
- Type Parameters:
TDescriptor
- will beDataStoreTypes.ItemDescriptor
orDataStoreTypes.SerializedItemDescriptor
- Enclosing class:
- DataStoreTypes
public static final class DataStoreTypes.KeyedItems<TDescriptor> extends java.lang.Object
Wrapper for a set of storable items being passed to a data store, within a singleDataStoreTypes.DataKind
.
-
-
Constructor Summary
Constructors Constructor Description KeyedItems(java.lang.Iterable<java.util.Map.Entry<java.lang.String,TDescriptor>> items)
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<java.lang.String,TDescriptor>>
getItems()
Returns the wrapped data set.int
hashCode()
-
-
-
Constructor Detail
-
KeyedItems
public KeyedItems(java.lang.Iterable<java.util.Map.Entry<java.lang.String,TDescriptor>> items)
Constructs a new instance.- Parameters:
items
- the data set
-
-
Method Detail
-
getItems
public java.lang.Iterable<java.util.Map.Entry<java.lang.String,TDescriptor>> getItems()
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
-
-