Package io.permazen.kv.xodus
Class Util.ByteDataIterable
java.lang.Object
io.permazen.kv.xodus.Util.ByteDataIterable
- All Implemented Interfaces:
Comparable<jetbrains.exodus.ByteIterable>
,jetbrains.exodus.ByteIterable
- Enclosing class:
- Util
A
ByteIterable
view of a ByteData
.-
Field Summary
Fields inherited from interface jetbrains.exodus.ByteIterable
EMPTY, EMPTY_BYTES, EMPTY_ITERATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(jetbrains.exodus.ByteIterable that) boolean
byte[]
int
int
hashCode()
jetbrains.exodus.ByteIterator
iterator()
jetbrains.exodus.ByteIterable
subIterable
(int offset, int length)
-
Constructor Details
-
ByteDataIterable
-
-
Method Details
-
getBytesUnsafe
public byte[] getBytesUnsafe()- Specified by:
getBytesUnsafe
in interfacejetbrains.exodus.ByteIterable
-
getLength
public int getLength()- Specified by:
getLength
in interfacejetbrains.exodus.ByteIterable
-
iterator
public jetbrains.exodus.ByteIterator iterator()- Specified by:
iterator
in interfacejetbrains.exodus.ByteIterable
-
subIterable
public jetbrains.exodus.ByteIterable subIterable(int offset, int length) - Specified by:
subIterable
in interfacejetbrains.exodus.ByteIterable
-
compareTo
public int compareTo(jetbrains.exodus.ByteIterable that) - Specified by:
compareTo
in interfaceComparable<jetbrains.exodus.ByteIterable>
-
equals
-
hashCode
public int hashCode()
-