| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Buffer |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | Returns: TheBuffer#array() from the underlying buffer.Implements org. |
| public Buffer | Returns: TheBuffer#buffer() from the underlying buffer.Overrides org. Implements org. |
| public int | Returns: TheBuffer#capacity of the underlying buffer.Implements org. |
| public void | clear()
Overrides org. Implements org. |
| public void | compact()
Overrides org. Implements org. |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides org. |
| public boolean | Returns: Whether the underlying buffer isread onlyOverrides org. Implements org. |
| public boolean | Returns: Whether the underlying buffer isvolatileOverrides org. Implements org. |
| public byte | Returns: The result of callingBuffer#peek(int) on the underlying bufferan index)int valueImplements org. |
| public int | Returns: The result of callingBuffer#peek(int, byte[], int, int) on the underlying bufferan index, byte[] int valueThe byte array to peek into b, int The offset into the array to start peeking offset, int an length)int valueImplements org. |
| public Buffer | Returns: The result of callingBuffer#peek(int, int) on the underlying bufferan index, int int valuean length)int valueOverrides org. Implements org. |
| public int | poke(int index, Buffer src)
Overrides org. Implements org. |
| public void | poke(int index, byte b)
Implements org. |
| public int | poke(int index, byte[] b, int offset, int length)
Overrides org. Implements org. |
| public String | toString()
Overrides org. |
| public void | |
| public void |
| _buffer | back to summary |
|---|---|
| pack-priv Buffer _buffer | |
| View | back to summary |
|---|---|
public View(Buffer buffer, int mark, int get, int put, int access)
| |
| View | back to summary |
|---|---|
| public View(Buffer buffer) | |
| View | back to summary |
|---|---|
| public View() | |
| array | back to summary |
|---|---|
| public byte[] array() Implements org. Doc from org. Get the underlying array, if one exists.
| |
| buffer | back to summary |
|---|---|
| public Buffer buffer() Overrides org. Implements org. Doc from org. Get the unerlying buffer. If this buffer wraps a backing buffer.
| |
| capacity | back to summary |
|---|---|
| public int capacity() Implements org. Doc from org. The capacity of the buffer. This is the maximum putIndex that may be set.
| |
| clear | back to summary |
|---|---|
| public void clear() Overrides org. Implements org. Doc from org. Clear the buffer. getIndex=0, putIndex=0. | |
| compact | back to summary |
|---|---|
| public void compact() Overrides org. Implements org. Doc from org. Compact the buffer by discarding bytes before the postion (or mark if set). Bytes from the getIndex (or mark) to the putIndex are moved to the beginning of the buffer and the values adjusted accordingly. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides org. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly() Overrides org. Implements org.
| |
| isVolatile | back to summary |
|---|---|
| public boolean isVolatile() Overrides org. Implements org.
| |
| peek | back to summary |
|---|---|
| public byte peek(int index) Implements org. Doc from org. Get the byte at a specific index in the buffer.
| |
| peek | back to summary |
|---|---|
| public int peek(int index, byte[] b, int offset, int length) Implements org.
| |
| peek | back to summary |
|---|---|
| public Buffer peek(int index, int length) Overrides org. Implements org.
| |
| poke | back to summary |
|---|---|
| public int poke(int index, Buffer src) Overrides org. Implements org. Doc from org. Put the contents of the buffer at the specific index.
| |
| poke | back to summary |
|---|---|
| public void poke(int index, byte b) Implements org. Doc from org. Put a specific byte to a specific getIndex. | |
| poke | back to summary |
|---|---|
| public int poke(int index, byte[] b, int offset, int length) Overrides org. Implements org. Doc from org. Put a specific byte to a specific getIndex.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
| |
| update | back to summary |
|---|---|
| public void update(Buffer buffer) Update view to buffer | |
| update | back to summary |
|---|---|
| public void update(int get, int put) | |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides org. |
| CaseInsensitive | back to summary |
|---|---|
| public CaseInsensitive() | |
| CaseInsensitive | back to summary |
|---|---|
| public CaseInsensitive(Buffer buffer, int mark, int get, int put, int access) | |
| CaseInsensitive | back to summary |
|---|---|
| public CaseInsensitive(Buffer buffer) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides org. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |