au.com.zip.cs
Class HierList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
au.com.zip.cs.HierList
- All Implemented Interfaces:
- Iterable, Collection, List
public class HierList
- extends AbstractList
A List based on a ListHier.
- Author:
- Cameron Simpson <cs@zip.com.au> 6may2003
| Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList |
HierList
public HierList(ListHier h)
- Constructs a new HierList interfaced to a
ListHier.
- Parameters:
h - the source ListHier
size
public final int size()
- Specified by:
size in interface Collection- Specified by:
size in interface List- Specified by:
size in class AbstractCollection
get
public final Object get(int ndx)
- Specified by:
get in interface List- Specified by:
get in class AbstractList
set
public final Object set(int ndx,
Object value)
- Specified by:
set in interface List- Overrides:
set in class AbstractList
remove
public final Object remove(int ndx)
- Specified by:
remove in interface List- Overrides:
remove in class AbstractList