prefuse.util.collections
Class ByteArrayList

java.lang.Object
  extended by prefuse.util.collections.ByteArrayList

public class ByteArrayList
extends java.lang.Object

A resizable array that maintains a list of byte values.

Author:
jeffrey heer

Constructor Summary
ByteArrayList()
           
ByteArrayList(int capacity)
           
 
Method Summary
 void add(byte b)
           
 void add(byte[] b, int start, int len)
           
 byte get(int i)
           
 java.io.InputStream getAsInputStream()
           
 void set(int i, byte b)
           
 int size()
           
 byte[] toArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayList

public ByteArrayList()

ByteArrayList

public ByteArrayList(int capacity)
Method Detail

get

public byte get(int i)

set

public void set(int i,
                byte b)

size

public int size()

add

public void add(byte b)

add

public void add(byte[] b,
                int start,
                int len)

getAsInputStream

public java.io.InputStream getAsInputStream()

toArray

public byte[] toArray()


Copyright © 2007 Regents of the University of California