| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addObject(T
the object object, int the revision number revisionNumber)Adds an object with a specified revision number. |
| public T | |
| private List | |
| public int | Returns: the revision numberthe position index)Returns the revision number at the specified position. |
| private List | |
| protected void | setRevisionNumber(T
the object object, int the revision number revisionNumber)Sets the revision number of a specified object. |
| public int | |
| public String |
| objects | back to summary |
|---|---|
| private List<T> objects | |
| revisionNumbers | back to summary |
|---|---|
| private List<Integer> revisionNumbers | |
| Revisions | back to summary |
|---|---|
| public Revisions() Constructor. | |
| addObject | back to summary |
|---|---|
| public void addObject(T object, int revisionNumber) Adds an object with a specified revision number.
| |
| getObject | back to summary |
|---|---|
| public T getObject(int index) Returns the object at the specified position.
| |
| getObjects | back to summary |
|---|---|
| private List | |
| getRevisionNumber | back to summary |
|---|---|
| public int getRevisionNumber(int index) Returns the revision number at the specified position.
| |
| getRevisionNumbers | back to summary |
|---|---|
| private List | |
| setRevisionNumber | back to summary |
|---|---|
| protected void setRevisionNumber(T object, int revisionNumber) Sets the revision number of a specified object.
| |
| size | back to summary |
|---|---|
| public int size() Returns the size.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |