org.gjt.lindfors.util
Class BoundBuffer

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byorg.gjt.lindfors.util.BoundBuffer
All Implemented Interfaces:
java.util.Collection, java.io.Serializable

public class BoundBuffer
extends java.util.AbstractCollection
implements java.io.Serializable

...

Author:
Juha Lindfors
See Also:
Serialized Form

Field Summary
static int DEFAULT_CAPACITY
           
 
Constructor Summary
BoundBuffer()
           
BoundBuffer(java.util.Collection col)
           
BoundBuffer(java.util.Collection col, int capacity)
           
BoundBuffer(int capacity)
           
 
Method Summary
 boolean add(java.lang.Object o)
           
 void clear()
           
 java.util.Iterator iterator()
           
 int size()
           
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Field Detail

DEFAULT_CAPACITY

public static final int DEFAULT_CAPACITY
See Also:
Constant Field Values
Constructor Detail

BoundBuffer

public BoundBuffer()

BoundBuffer

public BoundBuffer(int capacity)

BoundBuffer

public BoundBuffer(java.util.Collection col)

BoundBuffer

public BoundBuffer(java.util.Collection col,
                   int capacity)
Method Detail

size

public int size()
Specified by:
size in interface java.util.Collection

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.util.Collection

add

public boolean add(java.lang.Object o)
Specified by:
add in interface java.util.Collection

clear

public void clear()
Specified by:
clear in interface java.util.Collection