|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--xxl.collections.Container.Id
The Id is used as a primary key in the map to identify objects.
| Field Summary | |
protected java.lang.Object |
id
|
| Constructor Summary | |
Container.Id(java.lang.Object id)
Creates a new Id. |
|
| Method Summary | |
Container |
container()
Returns a reference to the container belonging to the id. |
boolean |
equals(java.lang.Object object)
Indicates whether some other object is "equal to" this one. |
void |
fix()
Calls Container.this.fix(id()). |
java.lang.Object |
get()
Calls Container.this.get(id()). |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.Object |
id()
Returns id. |
void |
remove()
Calls Container.this.remove(id()). |
void |
unfix()
Calls Container.this.unfix(id()). |
void |
update(java.lang.Object object)
Calls Container.this.update(id(),object). |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected final java.lang.Object id
| Constructor Detail |
public Container.Id(java.lang.Object id)
| Method Detail |
public Container container()
public java.lang.Object id()
id.
public void fix()
throws java.util.NoSuchElementException
Container.this.fix(id()).
public void unfix()
throws java.util.NoSuchElementException
Container.this.unfix(id()).
public java.lang.Object get()
throws java.util.NoSuchElementException
Container.this.get(id()).
public void update(java.lang.Object object)
throws java.util.NoSuchElementException
Container.this.update(id(),object).
public void remove()
throws java.util.NoSuchElementException
Container.this.remove(id()).
public boolean equals(java.lang.Object object)
public int hashCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||