Class ByteArrayWrapper
java.lang.Object
org.infinispan.commons.dataconversion.ByteArrayWrapper
- All Implemented Interfaces:
Wrapper
Wraps byte[] on a
WrappedByteArray
to provide equality and hashCode support, leaving other objects
unchanged.- Since:
- 9.1
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ByteArrayWrapper
public ByteArrayWrapper()
-
-
Method Details
-
wrap
-
unwrap
-
id
public byte id() -
isFilterable
public boolean isFilterable()- Specified by:
isFilterable
in interfaceWrapper
- Returns:
- true if the wrapped format is suitable to be indexed or filtered, thus avoiding extra unwrapping.
-