|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deduced.PropertyCollectionAsPropertyList<K,V>
K - the type of keys in the mapV - the type of values in the mapclass PropertyCollectionAsPropertyList<K,V>

Class used to browse a property collection as a list of property objects.
| Field Summary | |
|---|---|
private PropertyCollection<K,V> |
collection
the collection to browse |
| Constructor Summary | |
|---|---|
PropertyCollectionAsPropertyList(PropertyCollection<K,V> setCollection)
constructor |
|
| Method Summary | ||
|---|---|---|
void |
add(int index,
Property<V> element)
(non-Javadoc) |
|
boolean |
add(Property<V> o)
(non-Javadoc) |
|
boolean |
addAll(java.util.Collection<? extends Property<V>> c)
(non-Javadoc) |
|
boolean |
addAll(int index,
java.util.Collection<? extends Property<V>> c)
(non-Javadoc) |
|
void |
clear()
(non-Javadoc) |
|
boolean |
contains(java.lang.Object o)
(non-Javadoc) |
|
boolean |
containsAll(java.util.Collection<?> c)
(non-Javadoc) |
|
Property<V> |
get(int index)
(non-Javadoc) |
|
private K |
getKeyFromIndex(int index)
Utility method to get a key from a specified index in a property collection |
|
int |
indexOf(java.lang.Object o)
(non-Javadoc) |
|
boolean |
isEmpty()
(non-Javadoc) |
|
java.util.Iterator<Property<V>> |
iterator()
(non-Javadoc) |
|
int |
lastIndexOf(java.lang.Object o)
(non-Javadoc) |
|
java.util.ListIterator<Property<V>> |
listIterator()
(non-Javadoc) |
|
java.util.ListIterator<Property<V>> |
listIterator(int index)
(non-Javadoc) |
|
Property<V> |
remove(int index)
(non-Javadoc) |
|
boolean |
remove(java.lang.Object o)
(non-Javadoc) |
|
boolean |
removeAll(java.util.Collection<?> c)
(non-Javadoc) |
|
boolean |
retainAll(java.util.Collection<?> c)
(non-Javadoc) |
|
Property<V> |
set(int index,
Property<V> element)
(non-Javadoc) |
|
int |
size()
(non-Javadoc) |
|
java.util.List<Property<V>> |
subList(int fromIndex,
int toIndex)
(non-Javadoc) |
|
java.lang.Object[] |
toArray()
(non-Javadoc) |
|
|
toArray(T[] a)
(non-Javadoc) |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
equals, hashCode |
| Field Detail |
|---|
private PropertyCollection<K,V> collection
| Constructor Detail |
|---|
public PropertyCollectionAsPropertyList(PropertyCollection<K,V> setCollection)
setCollection - the collection to browse| Method Detail |
|---|
public int size()
size in interface java.util.Collection<Property<V>>size in interface java.util.List<Property<V>>List.size()public void clear()
clear in interface java.util.Collection<Property<V>>clear in interface java.util.List<Property<V>>List.clear()public boolean isEmpty()
isEmpty in interface java.util.Collection<Property<V>>isEmpty in interface java.util.List<Property<V>>List.isEmpty()public java.lang.Object[] toArray()
toArray in interface java.util.Collection<Property<V>>toArray in interface java.util.List<Property<V>>List.toArray()public Property<V> get(int index)
get in interface java.util.List<Property<V>>List.get(int)private K getKeyFromIndex(int index)
index - the index to fetch
public Property<V> remove(int index)
remove in interface java.util.List<Property<V>>List.remove(int)
public void add(int index,
Property<V> element)
add in interface java.util.List<Property<V>>List.add(int, java.lang.Object)public int indexOf(java.lang.Object o)
indexOf in interface java.util.List<Property<V>>List.indexOf(java.lang.Object)public int lastIndexOf(java.lang.Object o)
lastIndexOf in interface java.util.List<Property<V>>List.lastIndexOf(java.lang.Object)public boolean add(Property<V> o)
add in interface java.util.Collection<Property<V>>add in interface java.util.List<Property<V>>List.add(java.lang.Object)public boolean contains(java.lang.Object o)
contains in interface java.util.Collection<Property<V>>contains in interface java.util.List<Property<V>>List.contains(java.lang.Object)public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<Property<V>>remove in interface java.util.List<Property<V>>List.remove(java.lang.Object)
public boolean addAll(int index,
java.util.Collection<? extends Property<V>> c)
addAll in interface java.util.List<Property<V>>List.addAll(int, java.util.Collection)public boolean addAll(java.util.Collection<? extends Property<V>> c)
addAll in interface java.util.Collection<Property<V>>addAll in interface java.util.List<Property<V>>List.addAll(java.util.Collection)public boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<Property<V>>containsAll in interface java.util.List<Property<V>>List.containsAll(java.util.Collection)public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<Property<V>>removeAll in interface java.util.List<Property<V>>List.removeAll(java.util.Collection)public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<Property<V>>retainAll in interface java.util.List<Property<V>>List.retainAll(java.util.Collection)public java.util.Iterator<Property<V>> iterator()
iterator in interface java.lang.Iterable<Property<V>>iterator in interface java.util.Collection<Property<V>>iterator in interface java.util.List<Property<V>>List.iterator()
public java.util.List<Property<V>> subList(int fromIndex,
int toIndex)
subList in interface java.util.List<Property<V>>List.subList(int, int)public java.util.ListIterator<Property<V>> listIterator()
listIterator in interface java.util.List<Property<V>>List.listIterator()public java.util.ListIterator<Property<V>> listIterator(int index)
listIterator in interface java.util.List<Property<V>>List.listIterator(int)
public Property<V> set(int index,
Property<V> element)
set in interface java.util.List<Property<V>>List.set(int, java.lang.Object)public <T> T[] toArray(T[] a)
toArray in interface java.util.Collection<Property<V>>toArray in interface java.util.List<Property<V>>List.toArray(java.lang.Object[])
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||