java.io.Serializable, PathHandle@Private @Unstable public final class RawPathHandle extends java.lang.Object implements PathHandle
| Modifier and Type | Field | Description |
|---|---|---|
static int |
MAX_SIZE |
| Constructor | Description |
|---|---|
RawPathHandle(java.nio.ByteBuffer fd) |
Store a reference to the given bytes as the serialized form.
|
RawPathHandle(PathHandle handle) |
Initialize using a copy of bytes from the serialized handle.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.nio.ByteBuffer |
bytes() |
Get the bytes of this path handle.
|
boolean |
equals(java.lang.Object other) |
|
int |
hashCode() |
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waittoByteArraypublic static final int MAX_SIZE
public RawPathHandle(java.nio.ByteBuffer fd)
fd - serialized bytespublic RawPathHandle(PathHandle handle)
handle - PathHandle to preserve in serialized form.public java.nio.ByteBuffer bytes()
PathHandlebytes in interface PathHandlepublic boolean equals(java.lang.Object other)
equals in interface PathHandleequals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.