Package live
Class LiveArrayList<T>
java.lang.Object
live.LiveArrayList<T>
- All Implemented Interfaces:
AutoCloseable,Iterable<T>,LiveList<T>,MutableLiveList<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface live.LiveList
LiveList.Listener<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(LiveList.Listener<T> listener) voidclear()voidclose()getAt(int index) intintvoiditerator()voidremove(int index) voidvoidMethods 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
-
LiveArrayList
public LiveArrayList()
-
-
Method Details
-
add
- Specified by:
addin interfaceMutableLiveList<T>
-
insert
- Specified by:
insertin interfaceMutableLiveList<T>
-
setAt
- Specified by:
setAtin interfaceMutableLiveList<T>
-
remove
public void remove(int index) - Specified by:
removein interfaceMutableLiveList<T>
-
remove
- Specified by:
removein interfaceMutableLiveList<T>
-
clear
public void clear()- Specified by:
clearin interfaceMutableLiveList<T>
-
iterator
-
indexOf
-
getLength
public int getLength() -
getAt
-
addListener
- Specified by:
addListenerin interfaceLiveList<T>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceLiveList<T>- Specified by:
closein interfaceMutableLiveList<T>
-