Package one.microstream.jdk8.java.util
Class BinaryHandlerLinkedHashSet
java.lang.Object
one.microstream.persistence.types.PersistenceTypeHandler.Abstract<Binary,T>
one.microstream.persistence.binary.types.BinaryTypeHandler.Abstract<T>
one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustom<T>
one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomCollection<LinkedHashSet<?>>
one.microstream.jdk8.java.util.BinaryHandlerLinkedHashSet
- All Implemented Interfaces:
BinaryTypeHandler<LinkedHashSet<?>>
,PersistenceDataTypeHolder<Binary>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,LinkedHashSet<?>>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
public final class BinaryHandlerLinkedHashSet extends AbstractBinaryHandlerCustomCollection<LinkedHashSet<?>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.binary.types.BinaryTypeHandler
BinaryTypeHandler.Abstract<T>
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceDataTypeHolder
PersistenceDataTypeHolder.Default<D>
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDefinition
PersistenceTypeDefinition.Default
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDescription
PersistenceTypeDescription.Identity
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeHandler
PersistenceTypeHandler.Abstract<D,T>
-
Constructor Summary
Constructors Constructor Description BinaryHandlerLinkedHashSet()
-
Method Summary
Modifier and Type Method Description void
complete(Binary bytes, LinkedHashSet<?> instance, PersistenceLoadHandler idResolver)
Completes an initially built instance after all loaded instances have been built.LinkedHashSet<?>
create(Binary bytes, PersistenceLoadHandler idResolver)
void
iterateInstanceReferences(LinkedHashSet<?> instance, PersistenceFunction iterator)
void
iterateLoadableReferences(Binary bytes, PersistenceReferenceLoader iterator)
static BinaryHandlerLinkedHashSet
New()
void
store(Binary bytes, LinkedHashSet<?> instance, long objectId, PersistenceStoreHandler<Binary> handler)
void
updateState(Binary bytes, LinkedHashSet<?> instance, PersistenceLoadHandler idResolver)
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomCollection
hasPersistedReferences, hasPersistedVariableLength, hasVaryingPersistedLengthInstances
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustom
allMembers, bytes, chars, Complex, CustomField, CustomField, CustomFields, defineValueType, instanceMembers, isPrimitiveType, iterateMemberTypes, keyValuesFields, membersPersistedLengthMaximum, membersPersistedLengthMinimum, SimpleArrayFields, SizedArrayFields
Methods inherited from class one.microstream.persistence.binary.types.BinaryTypeHandler.Abstract
declaredField, declaredField
Methods inherited from class one.microstream.persistence.types.PersistenceTypeHandler.Abstract
declaredField, declaredFields, initialize, toString, type, typeId, typeName, validateAndImmure
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface one.microstream.persistence.binary.types.BinaryTypeHandler
dataType
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDefinition
runtimeTypeName, toRuntimeTypeIdentifier, typeId, typeName
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDescription
instancePrimitiveMembers, instanceReferenceMembers, toTypeIdentifier
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandler
collectEnumConstants, getPersistedEnumOrdinal, guaranteeSpecificInstanceViablity, guaranteeSubTypeInstanceViablity, initialize, initializeState, isSpecificInstanceViable, isSubTypeInstanceViable, isValidEntityType, membersInDeclaredOrder, settingMembers, storingMembers, type, validateEntityType
-
Constructor Details
-
BinaryHandlerLinkedHashSet
public BinaryHandlerLinkedHashSet()
-
-
Method Details
-
New
-
store
public final void store(Binary bytes, LinkedHashSet<?> instance, long objectId, PersistenceStoreHandler<Binary> handler)- Specified by:
store
in interfacePersistenceTypeHandler<Binary,LinkedHashSet<?>>
- Specified by:
store
in classAbstractBinaryHandlerCustom<LinkedHashSet<?>>
-
create
- Specified by:
create
in interfacePersistenceTypeHandler<Binary,LinkedHashSet<?>>
- Specified by:
create
in classAbstractBinaryHandlerCustom<LinkedHashSet<?>>
-
updateState
public final void updateState(Binary bytes, LinkedHashSet<?> instance, PersistenceLoadHandler idResolver) -
complete
Description copied from interface:PersistenceTypeHandler
Completes an initially built instance after all loaded instances have been built. E.g. can be used to cause a hash collection to hash all its initially collected entries after their instances have been built.- Specified by:
complete
in interfacePersistenceTypeHandler<Binary,LinkedHashSet<?>>
- Overrides:
complete
in classAbstractBinaryHandlerCustom<LinkedHashSet<?>>
-
iterateInstanceReferences
public final void iterateInstanceReferences(LinkedHashSet<?> instance, PersistenceFunction iterator)- Specified by:
iterateInstanceReferences
in interfacePersistenceTypeHandler<Binary,LinkedHashSet<?>>
- Overrides:
iterateInstanceReferences
in classAbstractBinaryHandlerCustom<LinkedHashSet<?>>
-
iterateLoadableReferences
-