|
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
com.tangosol.util.AbstractByteSequence.AggregateByteSequence
public static class AbstractByteSequence.AggregateByteSequence
A naive ByteSequence that glues two ByteSequence instances together.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.tangosol.util.AbstractByteSequence |
|---|
AbstractByteSequence.AggregateByteSequence, AbstractByteSequence.PartialByteSequence |
| Constructor Summary | |
|---|---|
AbstractByteSequence.AggregateByteSequence(ByteSequence seqFirst, ByteSequence seqSecond)Construct an AggregateByteSequence from two ByteSequence objects. |
|
| Method Summary | |
|---|---|
byte |
byteAt(int of)Determine the n-th byte of the byte sequence. |
int |
length()Determine the number of bytes of data represented by this ByteSequence. |
ByteSequence |
subSequence(int ofStart, int ofEnd)Returns a new ByteSequence that is a subsequence of this sequence. |
| Methods inherited from class com.tangosol.util.AbstractByteSequence |
|---|
equals, hashCode, toBinary, toString |
| Constructor Detail |
|---|
public AbstractByteSequence.AggregateByteSequence(ByteSequence seqFirst,
ByteSequence seqSecond)
seqFirst - the first ByteSequenceseqSecond - the second ByteSequence| Method Detail |
|---|
public int length()
public byte byteAt(int of)
of - the zero-based byte offset within the sequence of bytes (0 <= of < ByteSequence.length())
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 ByteSequencesubSequence in class AbstractByteSequenceofStart - the start index, inclusiveofEnd - the end index, exclusive
|
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 | |||||||