Class StandardRequestResolversIdentitiesDataStore
java.lang.Object
com.minecolonies.core.colony.requestsystem.data.StandardRequestResolversIdentitiesDataStore
- All Implemented Interfaces:
IDataStore,IIdentitiesDataStore<IToken<?>,,IRequestResolver<?>> IRequestResolverIdentitiesDataStore
public class StandardRequestResolversIdentitiesDataStore
extends Object
implements IRequestResolverIdentitiesDataStore
A default implementation of the
IRequestResolverIdentitiesDataStore interface.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionStandardRequestResolversIdentitiesDataStore(IToken<?> id, com.google.common.collect.BiMap<IToken<?>, IRequestResolver<?>> map) -
Method Summary
Modifier and TypeMethodDescriptionIToken<?> getId()Method to get theITokenused to identify thisIDataStore.com.google.common.collect.BiMap<IToken<?>, IRequestResolver<?>> Method to get the identities stored in thisIIdentitiesDataStorevoidMethod to set theITokenused to identify thisIDataStore.
-
Constructor Details
-
StandardRequestResolversIdentitiesDataStore
public StandardRequestResolversIdentitiesDataStore(IToken<?> id, com.google.common.collect.BiMap<IToken<?>, IRequestResolver<?>> map) -
StandardRequestResolversIdentitiesDataStore
public StandardRequestResolversIdentitiesDataStore()
-
-
Method Details
-
getIdentities
Description copied from interface:IIdentitiesDataStoreMethod to get the identities stored in thisIIdentitiesDataStore- Specified by:
getIdentitiesin interfaceIIdentitiesDataStore<IToken<?>,IRequestResolver<?>> - Returns:
- The identities.
-
getId
Description copied from interface:IDataStoreMethod to get theITokenused to identify thisIDataStore.- Specified by:
getIdin interfaceIDataStore- Returns:
- The
ITokenfor thisIDataStore
-
setId
Description copied from interface:IDataStoreMethod to set theITokenused to identify thisIDataStore. Used during creation to setup the initial Id.- Specified by:
setIdin interfaceIDataStore- Parameters:
id- The new Id.
-