java.lang.Object
net.anwiba.commons.model.AbstractListChangedNotifier<T>
net.anwiba.commons.model.AbstractObjectListModel<T>
- All Implemented Interfaces:
Iterable<T>,IMutableObjectList<T>,IObjectCollection<T>,IObjectCollectionReceiver<T>,IObjectIterable<T>,IObjectList<T>,IObjectListProvider<T>,IObjectListReceiver<T>,IListChangedNotifier<T>,IObjectListDistributor<T>,IObjectListModel<T>
- Direct Known Subclasses:
ObjectListModel,ObjectModelListModel
public abstract class AbstractObjectListModel<T>
extends AbstractListChangedNotifier<T>
implements IObjectListModel<T>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.anwiba.commons.model.AbstractListChangedNotifier
addListModelListener, fireObjectsAdded, fireObjectsChanged, fireObjectsChanged, fireObjectsRemoved, fireObjectsUpdated, removeListModelListener, removeListModelListenersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.anwiba.commons.model.IListChangedNotifier
addListModelListener, removeListModelListener, removeListModelListenersMethods inherited from interface net.anwiba.commons.lang.collection.IObjectIterable
foreachMethods inherited from interface net.anwiba.commons.lang.collection.IObjectList
streamMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
AbstractObjectListModel
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceIObjectCollection<T>- Specified by:
sizein interfaceIObjectListProvider<T>
-
set
- Specified by:
setin interfaceIObjectCollectionReceiver<T>
-
set
- Specified by:
setin interfaceIObjectCollectionReceiver<T>
-
set
- Specified by:
setin interfaceIObjectListReceiver<T>
-
add
- Specified by:
addin interfaceIObjectCollectionReceiver<T>
-
add
- Specified by:
addin interfaceIObjectCollectionReceiver<T>
-
indices
- Specified by:
indicesin interfaceIObjectListProvider<T>
-
remove
- Specified by:
removein interfaceIMutableObjectList<T>- Specified by:
removein interfaceIObjectListModel<T>
-
remove
- Specified by:
removein interfaceIMutableObjectList<T>- Specified by:
removein interfaceIObjectListModel<T>
-
remove
public void remove(int... indices) - Specified by:
removein interfaceIMutableObjectList<T>- Specified by:
removein interfaceIObjectListModel<T>
-
removeAll
public void removeAll()- Specified by:
removeAllin interfaceIMutableObjectList<T>- Specified by:
removeAllin interfaceIObjectListModel<T>
-
values
- Specified by:
valuesin interfaceIObjectCollection<T>- Specified by:
valuesin interfaceIObjectListProvider<T>
-
isEmpty
public final boolean isEmpty()- Specified by:
isEmptyin interfaceIObjectCollection<T>- Specified by:
isEmptyin interfaceIObjectListProvider<T>
-
get
- Specified by:
getin interfaceIObjectListProvider<T>
-
get
- Specified by:
getin interfaceIObjectListProvider<T>
-
toCollection
- Specified by:
toCollectionin interfaceIObjectCollection<T>
-
toList
- Specified by:
toListin interfaceIObjectCollection<T>
-
iterator
-