public abstract class ByteSequence extends Object implements Comparable<ByteSequence>
| Constructor and Description | 
|---|
ByteSequence()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract byte | 
byteAt(int i)  | 
static int | 
compareBytes(ByteSequence bs1,
            ByteSequence bs2)  | 
int | 
compareTo(ByteSequence obs)  | 
boolean | 
equals(Object o)  | 
abstract byte[] | 
getBackingArray()  | 
int | 
hashCode()  | 
abstract boolean | 
isBackedByArray()  | 
abstract int | 
length()  | 
abstract int | 
offset()  | 
abstract ByteSequence | 
subSequence(int start,
           int end)  | 
abstract byte[] | 
toArray()  | 
public abstract byte byteAt(int i)
public abstract int length()
public abstract ByteSequence subSequence(int start, int end)
public abstract byte[] toArray()
public abstract boolean isBackedByArray()
public abstract byte[] getBackingArray()
public abstract int offset()
public static int compareBytes(ByteSequence bs1, ByteSequence bs2)
public int compareTo(ByteSequence obs)
compareTo in interface Comparable<ByteSequence>Copyright © 2016 The Apache Software Foundation. All Rights Reserved.