public class GeneralFormatCollection
extends java.lang.Object
implements java.lang.Iterable
| Modifier and Type | Method and Description |
|---|---|
void |
add(int item) |
int |
get(int index)
Gets a general format at the specified index.
|
int |
getCount()
Gets the total number of the items in the collection.
|
java.util.Iterator |
iterator()
Returns an enumerator object.
|
void |
remove(int item) |
void |
removeAt(int index)
Removes a general format occurrence at the specified index.
|
public void add(int item)
throws java.lang.Exception
java.lang.Exceptionpublic void remove(int item)
throws java.lang.Exception
java.lang.Exceptionpublic void removeAt(int index)
throws java.lang.Exception
index - java.lang.Exceptionpublic int getCount()
public int get(int index)
index - The index of a general format.GeneralFormat constants.public java.util.Iterator iterator()
iterator in interface java.lang.Iterable