- All Implemented Interfaces:
IListable<E>
- Enclosing class:
IList<E>
protected static class IList.IListableFromMult<E>
extends Object
implements IListable<E>
Wrapper to treat a repeated element as
IListable
.
-
-
Constructor Summary
Constructors
-
Method Summary
Return element at specified position
int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Details
-
IListableFromMult
IListableFromMult(int len,
E elem)
-
Method Details
-
size
public int size()
Return size of list
- Specified by:
size
in interface IListable<E>
-
get
Return element at specified position
- Specified by:
get
in interface IListable<E>