org.gjt.lindfors.util
Class BoundBuffer
java.lang.Object
java.util.AbstractCollection
org.gjt.lindfors.util.BoundBuffer
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable, java.util.Collection
public class BoundBuffer
- extends java.util.AbstractCollection
- implements java.io.Serializable
...
- Author:
- Juha Lindfors
- See Also:
- Serialized Form
|
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 |
DEFAULT_CAPACITY
public static final int DEFAULT_CAPACITY
- See Also:
- Constant Field Values
BoundBuffer
public BoundBuffer()
BoundBuffer
public BoundBuffer(int capacity)
BoundBuffer
public BoundBuffer(java.util.Collection col)
BoundBuffer
public BoundBuffer(java.util.Collection col,
int capacity)
size
public int size()
- Specified by:
size in interface java.util.Collection- Specified by:
size in class java.util.AbstractCollection
iterator
public java.util.Iterator iterator()
- Specified by:
iterator in interface java.lang.Iterable- Specified by:
iterator in interface java.util.Collection- Specified by:
iterator in class java.util.AbstractCollection
add
public boolean add(java.lang.Object o)
- Specified by:
add in interface java.util.Collection- Overrides:
add in class java.util.AbstractCollection
clear
public void clear()
- Specified by:
clear in interface java.util.Collection- Overrides:
clear in class java.util.AbstractCollection