Module com.iamsoft.util.ui
Package com.iamsoft.util.ui.swing.mdi
Class AddOrderedInternalFrameSet<T>
- java.lang.Object
-
- com.iamsoft.util.ui.swing.mdi.AddOrderedInternalFrameSet<T>
-
- Type Parameters:
T
- Type of elements stored in set.
- All Implemented Interfaces:
com.iamsoft.util.collections.indexed.IndexedSet<T>
,Iterable<T>
,Collection<T>
,Set<T>
public class AddOrderedInternalFrameSet<T> extends Object implements com.iamsoft.util.collections.indexed.IndexedSet<T>
List of frames (sorted by 'add' time).
-
-
Constructor Summary
Constructors Constructor Description AddOrderedInternalFrameSet(ListModel pFrameListModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(T pElement)
boolean
addAll(Collection<? extends T> pCollection)
void
clear()
boolean
contains(Object pObj)
boolean
containsAll(Collection<?> pCollection)
boolean
equals(Object pObj)
T
get(int pIdx)
int
hashCode()
int
indexOf(Object pObj)
boolean
isEmpty()
ListIterator<T>
iterator()
boolean
remove(Object pObj)
boolean
removeAll(Collection<?> pCollection)
boolean
retainAll(Collection<?> pCollection)
int
size()
Object[]
toArray()
<T2> T2[]
toArray(T2[] pAry)
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.Set
spliterator
-
-
-
-
Constructor Detail
-
AddOrderedInternalFrameSet
public AddOrderedInternalFrameSet(ListModel pFrameListModel)
-
-
Method Detail
-
add
public boolean add(T pElement)
-
addAll
public boolean addAll(Collection<? extends T> pCollection)
-
clear
public void clear()
-
contains
public boolean contains(Object pObj)
-
containsAll
public boolean containsAll(Collection<?> pCollection)
- Specified by:
containsAll
in interfaceCollection<T>
- Specified by:
containsAll
in interfaceSet<T>
-
equals
public boolean equals(Object pObj)
-
get
public T get(int pIdx)
- Specified by:
get
in interfacecom.iamsoft.util.collections.indexed.IndexedSet<T>
-
hashCode
public int hashCode()
-
indexOf
public int indexOf(Object pObj)
- Specified by:
indexOf
in interfacecom.iamsoft.util.collections.indexed.IndexedSet<T>
-
isEmpty
public boolean isEmpty()
-
iterator
public ListIterator<T> iterator()
-
remove
public boolean remove(Object pObj)
-
removeAll
public boolean removeAll(Collection<?> pCollection)
-
retainAll
public boolean retainAll(Collection<?> pCollection)
-
size
public int size()
-
toArray
public Object[] toArray()
-
toArray
public <T2> T2[] toArray(T2[] pAry)
-
-