Class PrimitiveByteArrayBasicUserType
java.lang.Object
com.blazebit.persistence.view.spi.type.AbstractMutableBasicUserType<byte[]>
com.blazebit.persistence.view.impl.type.PrimitiveByteArrayBasicUserType
- All Implemented Interfaces:
BasicUserType<byte[]>
,BasicUserTypeStringSupport<byte[]>
public class PrimitiveByteArrayBasicUserType extends AbstractMutableBasicUserType<byte[]> implements BasicUserType<byte[]>
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Field Summary
Fields Modifier and Type Field Description static BasicUserType<?>
INSTANCE
-
Constructor Summary
Constructors Constructor Description PrimitiveByteArrayBasicUserType()
-
Method Summary
Modifier and Type Method Description byte[]
deepClone(byte[] object)
byte[]
fromString(CharSequence sequence)
int
hashCode(byte[] object)
boolean
isDeepEqual(byte[] object1, byte[] object2)
String
toStringExpression(String expression)
Methods inherited from class com.blazebit.persistence.view.spi.type.AbstractMutableBasicUserType
getDirtyProperties, isEqual, isMutable, shouldPersist, supportsDeepCloning, supportsDeepEqualChecking, supportsDirtyChecking, supportsDirtyTracking
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.blazebit.persistence.view.spi.type.BasicUserType
getDirtyProperties, isEqual, isMutable, shouldPersist, supportsDeepCloning, supportsDeepEqualChecking, supportsDirtyChecking, supportsDirtyTracking
-
Field Details
-
Constructor Details
-
PrimitiveByteArrayBasicUserType
public PrimitiveByteArrayBasicUserType()
-
-
Method Details
-
isDeepEqual
public boolean isDeepEqual(byte[] object1, byte[] object2)- Specified by:
isDeepEqual
in interfaceBasicUserType<byte[]>
- Overrides:
isDeepEqual
in classAbstractMutableBasicUserType<byte[]>
-
hashCode
public int hashCode(byte[] object)- Specified by:
hashCode
in interfaceBasicUserType<byte[]>
- Overrides:
hashCode
in classAbstractMutableBasicUserType<byte[]>
-
deepClone
public byte[] deepClone(byte[] object)- Specified by:
deepClone
in interfaceBasicUserType<byte[]>
-
fromString
- Specified by:
fromString
in interfaceBasicUserTypeStringSupport<byte[]>
- Overrides:
fromString
in classAbstractMutableBasicUserType<byte[]>
-
toStringExpression
- Specified by:
toStringExpression
in interfaceBasicUserTypeStringSupport<byte[]>
- Overrides:
toStringExpression
in classAbstractMutableBasicUserType<byte[]>
-