public abstract class ByteIterableWithAddress
extends java.lang.Object
implements jetbrains.exodus.ByteIterable
| Modifier and Type | Field and Description |
|---|---|
static ByteIterableWithAddress |
EMPTY |
| Modifier | Constructor and Description |
|---|---|
protected |
ByteIterableWithAddress(long address) |
| Modifier and Type | Method and Description |
|---|---|
byte |
byteAt(int offset) |
abstract ByteIterableWithAddress |
clone(int offset) |
int |
compareTo(@NotNull jetbrains.exodus.ByteIterable right) |
abstract int |
compareTo(int offset,
int len,
@NotNull jetbrains.exodus.ByteIterable right) |
byte[] |
getBytesUnsafe() |
int |
getCompressedUnsignedInt() |
long |
getDataAddress() |
int |
getLength() |
abstract ByteIteratorWithAddress |
iterator() |
abstract ByteIteratorWithAddress |
iterator(int offset) |
long |
nextLong(int offset,
int length) |
@NotNull jetbrains.exodus.ByteIterable |
subIterable(int offset,
int length) |
public static final ByteIterableWithAddress EMPTY
public final long getDataAddress()
public byte byteAt(int offset)
public long nextLong(int offset,
int length)
public int getCompressedUnsignedInt()
public abstract ByteIteratorWithAddress iterator()
iterator in interface jetbrains.exodus.ByteIterablepublic abstract ByteIteratorWithAddress iterator(int offset)
public abstract int compareTo(int offset,
int len,
@NotNull
@NotNull jetbrains.exodus.ByteIterable right)
public abstract ByteIterableWithAddress clone(int offset)
public byte[] getBytesUnsafe()
getBytesUnsafe in interface jetbrains.exodus.ByteIterablepublic int getLength()
getLength in interface jetbrains.exodus.ByteIterable@NotNull
public @NotNull jetbrains.exodus.ByteIterable subIterable(int offset,
int length)
subIterable in interface jetbrains.exodus.ByteIterablepublic int compareTo(@NotNull
@NotNull jetbrains.exodus.ByteIterable right)
compareTo in interface java.lang.Comparable<jetbrains.exodus.ByteIterable>