uses an array as a set (under the assumption that the number of elements will be low) to avoid having to instantiate an HashSet. if the assumption does not, hold the array can be kept ordered to reduce the cost of verifying duplicates
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public boolean | |
| public String[] | |
| public boolean | |
| public void | suspend(boolean suspend)
Implements org. |
| names | back to summary |
|---|---|
| private String[] names | |
| suspended | back to summary |
|---|---|
| private boolean suspended | |
| SimpleFieldTracker | back to summary |
|---|---|
| public SimpleFieldTracker() | |
| add | back to summary |
|---|---|
| public void add(String name) Implements org.
| |
| clear | back to summary |
|---|---|
| public void clear() Implements org.
| |
| contains | back to summary |
|---|---|
| public boolean contains(String name) Implements org.
| |
| get | back to summary |
|---|---|
| public String[] get() Implements org.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements org.
| |
| suspend | back to summary |
|---|---|
| public void suspend(boolean suspend) Implements org.
| |