Package live
Class SortedLiveList<T>
java.lang.Object
live.SortedLiveList<T>
- All Implemented Interfaces:
AutoCloseable,Iterable<T>,LiveList<T>,LiveList.Listener<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface live.LiveList
LiveList.Listener<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddListener(LiveList.Listener<T> listener) voidclose()getAt(int index) intintiterator()voidvoidonInserted(int index, T value) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
SortedLiveList
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceLiveList<T>
-
indexOf
-
getLength
public int getLength() -
getAt
-
iterator
-
addListener
- Specified by:
addListenerin interfaceLiveList<T>
-
onInserted
- Specified by:
onInsertedin interfaceLiveList.Listener<T>
-
onChanged
- Specified by:
onChangedin interfaceLiveList.Listener<T>
-
onRemoved
- Specified by:
onRemovedin interfaceLiveList.Listener<T>
-