public class IdentifierBag
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
IdentifierBag()
Deprecated.
Constructs a new, empty IdentifierBag.
|
IdentifierBag(int initialSize)
Deprecated.
Constructs a new, empty IdentifierBag, with the initial capacity specified.
|
Modifier and Type | Method and Description |
---|---|
void |
add(KeyedReference identifier)
Deprecated.
Adds a
KeyedReference to the IdentifierBag. |
KeyedReference |
get(int index)
Deprecated.
Returns the
KeyedReference at the specified index. |
int |
size()
Deprecated.
Returns the number of
KeyedReference objects in the IdentifierBag. |
public IdentifierBag()
public IdentifierBag(int initialSize)
initialSize
- the initial capacity of the IdentifierBag.public void add(KeyedReference identifier)
KeyedReference
to the IdentifierBag.identifier
- the KeyedReference to be added.public KeyedReference get(int index)
KeyedReference
at the specified index.index
- the index of the KeyedReference to be retrieved.public int size()
KeyedReference
objects in the IdentifierBag.