Interface Locator
- public interface Locator
Locator.java
Created: Fri Mar 31 09:43:51 2000
Method Summary |
java.lang.Object |
container()
Returns the container of the element. |
java.lang.Object |
element()
Returns the element. |
boolean |
isContained()
Returns true if the element is still contained. |
element
public java.lang.Object element()
- Returns the element. O(1).
- Returns:
- the element associated with this locator.
isContained
public boolean isContained()
- Returns true if the element is still contained.
O(1).
- Returns:
- true if the element is still in a container.
container
public java.lang.Object container()
- Returns the container of the element. O(1).
- Returns:
- the container of the element associated with this
locator.