au.com.prunge.jgenfile
Class AbsoluteItemReference
java.lang.Object
|
+--au.com.prunge.jgenfile.ItemReference
|
+--au.com.prunge.jgenfile.AbsoluteItemReference
- public class AbsoluteItemReference
- extends ItemReference
An absolute item reference is an item reference where
its most distant ancestor is a root in the file system.
- Version:
- 1.01
- Author:
- Peter Runge
Method Summary |
boolean |
equals(Object o)
Tests if this reference equals another. |
AbsoluteItemReference
public AbsoluteItemReference(List ancestorNames)
- Constructs an
AbsoluteItemReference
.
- Parameters:
ancestorNames
- the (string) names of the item
itself and its ancestors
in order from the item itself
to its most distant ancestor.
equals
public boolean equals(Object o)
- Description copied from class:
ItemReference
- Tests if this reference equals another.
- Overrides:
equals
in class ItemReference
- Parameters:
o
- the object to test equality with.
- Returns:
- true if the references are equal, false if not.
- See Also:
Object.equals(java.lang.Object)