|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.AbstractByteSequence
public abstract class AbstractByteSequence
A simple base class for ByteSequence implementations.
| Nested Class Summary | |
|---|---|
static class |
AbstractByteSequence.AggregateByteSequenceA naive ByteSequence that glues two ByteSequence instances together. |
static class |
AbstractByteSequence.PartialByteSequenceA naive ByteSequence that represents a portion of another ByteSequence. |
| Constructor Summary | |
|---|---|
AbstractByteSequence() |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
ByteSequence |
subSequence(int ofStart, int ofEnd)Returns a new ByteSequence that is a subsequence of this sequence. |
Binary |
toBinary()Returns a Binary object that holds the contents of this ByteSequence. |
java.lang.String |
toString() |
| Methods inherited from interface com.tangosol.util.ByteSequence |
|---|
byteAt, length |
| Constructor Detail |
|---|
public AbstractByteSequence()
| Method Detail |
|---|
public ByteSequence subSequence(int ofStart,
int ofEnd)
ByteSequence that is a subsequence of this sequence. The subsequence starts with the byte value at the specified index and ends with the byte value at index ofEnd - 1. The length (in bytes) of the returned sequence is ofEnd - ofStart, so if ofStart == ofEnd then an empty sequence is returned.subSequence in interface ByteSequenceofStart - the start index, inclusiveofEnd - the end index, exclusivepublic Binary toBinary()
toBinary in interface ByteSequencepublic int hashCode()
public boolean equals(java.lang.Object o)
public java.lang.String toString()
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||