Package thewebsemantic.lazy
Class LazyList
- java.lang.Object
-
- thewebsemantic.lazy.LazyList
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, Object element)booleanadd(Object e)booleanaddAll(int index, Collection c)booleanaddAll(Collection c)voidclear()booleancontains(Object o)booleancontainsAll(Collection c)booleanequals(Object o)Objectget(int index)inthashCode()intindexOf(Object o)booleanisConnected()booleanisEmpty()Iteratoriterator()intlastIndexOf(Object o)ListIteratorlistIterator()ListIteratorlistIterator(int index)booleanmodified()Objectremove(int index)booleanremove(Object o)booleanremoveAll(Collection c)booleanretainAll(Collection c)Objectset(int index, Object element)intsize()ListsubList(int fromIndex, int toIndex)Object[]toArray()Object[]toArray(Object[] a)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
-
-
-
-
Method Detail
-
add
public boolean add(Object e)
- Specified by:
addin interfaceCollection- Specified by:
addin interfaceList
-
addAll
public boolean addAll(Collection c)
- Specified by:
addAllin interfaceCollection- Specified by:
addAllin interfaceList
-
addAll
public boolean addAll(int index, Collection c)
-
clear
public void clear()
- Specified by:
clearin interfaceCollection- Specified by:
clearin interfaceList
-
contains
public boolean contains(Object o)
- Specified by:
containsin interfaceCollection- Specified by:
containsin interfaceList
-
containsAll
public boolean containsAll(Collection c)
- Specified by:
containsAllin interfaceCollection- Specified by:
containsAllin interfaceList
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceCollection- Specified by:
isEmptyin interfaceList
-
iterator
public Iterator iterator()
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOfin interfaceList
-
listIterator
public ListIterator listIterator()
- Specified by:
listIteratorin interfaceList
-
listIterator
public ListIterator listIterator(int index)
- Specified by:
listIteratorin interfaceList
-
remove
public boolean remove(Object o)
- Specified by:
removein interfaceCollection- Specified by:
removein interfaceList
-
removeAll
public boolean removeAll(Collection c)
- Specified by:
removeAllin interfaceCollection- Specified by:
removeAllin interfaceList
-
retainAll
public boolean retainAll(Collection c)
- Specified by:
retainAllin interfaceCollection- Specified by:
retainAllin interfaceList
-
size
public int size()
- Specified by:
sizein interfaceCollection- Specified by:
sizein interfaceList
-
toArray
public Object[] toArray()
- Specified by:
toArrayin interfaceCollection- Specified by:
toArrayin interfaceList
-
toArray
public Object[] toArray(Object[] a)
- Specified by:
toArrayin interfaceCollection- Specified by:
toArrayin interfaceList
-
isConnected
public boolean isConnected()
- Specified by:
isConnectedin interfaceLazy
-
-