fr.ove.utils
Class ByteVector
java.lang.Object
fr.ove.utils.ByteVector
- All Implemented Interfaces:
- java.io.Serializable
- public class ByteVector
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
elementData
protected byte[] elementData
elementCount
protected int elementCount
capacityIncrement
protected int capacityIncrement
ByteVector
public ByteVector(int initialCapacity,
int capacityIncrement)
ByteVector
public ByteVector(int initialCapacity)
ByteVector
public ByteVector()
trimToSize
public final void trimToSize()
size
public final int size()
isEmpty
public final boolean isEmpty()
contains
public final boolean contains(byte elem)
indexOf
public final int indexOf(byte elem)
indexOf
public final int indexOf(byte elem,
int index)
elementAt
public final byte elementAt(int index)
addElement
public final void addElement(byte b)
addElements
public final void addElements(byte[] b)
addElements
public final void addElements(byte[] b,
int length)
removeElement
public final boolean removeElement(byte b)
removeElementAt
public final void removeElementAt(int index)
removeAllElements
public final void removeAllElements()
getBytes
public final byte[] getBytes()
ensureCapacity
public final void ensureCapacity(int minCapacity)
toString
public final java.lang.String toString()
Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.