|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecteworks.RDF.model.StaticCollection
A specialized collection for collecting all kind of objects.
| Constructor Summary | |
StaticCollection()
Creates a new and empty collection. |
|
| Method Summary | |
boolean |
add(Object o)
Do not call this method, as it throws an UnsupportedOperationException.
|
boolean |
addAll(Collection c)
Do not call this method, as it throws an UnsupportedOperationException.
|
void |
clear()
Do not call this method, as it throws an UnsupportedOperationException.
|
boolean |
contains(Object o)
Checks if a given object o exists inside the collection, and
returns true if so, else otherwise. |
boolean |
containsAll(Collection c)
Checks for a given collection of objects c, if every contained
object does also exists inside this collection, and returns true
if so, else otherwise. |
boolean |
isEmpty()
Returns true if and only if this collection does not contain
eny element. |
Iterator |
iterator()
Returns an iterator over the elements in this collection. |
boolean |
remove(Object o)
Do not call this method, as it throws an UnsupportedOperationException.
|
boolean |
removeAll(Collection c)
Do not call this method, as it throws an UnsupportedOperationException.
|
boolean |
retainAll(Collection c)
Do not call this method, as it throws an UnsupportedOperationException.
|
int |
size()
Returns the number of elements inside the collection. |
Object[] |
toArray()
Converts the collection into an array, containing all elements of this collection. |
Object[] |
toArray(Object[] a)
Converts the collection into an array, containing all elements of this collection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
equals, hashCode |
| Constructor Detail |
public StaticCollection()
| Method Detail |
public int size()
size in interface Collectionpublic void clear()
UnsupportedOperationException.
This method is implemented due to the contract with Collection, but
cannot be applied on instances of this class.
clear in interface CollectionUnsupportedOperationException - always.public boolean isEmpty()
true if and only if this collection does not contain
eny element.
isEmpty in interface Collectiontrue if and only if this collection is empty.public Object[] toArray()
toArray in interface Collectionpublic Object[] toArray(Object[] a)
a, see Collection.toArray(Object[]).
toArray in interface Collectionpublic boolean add(Object o)
UnsupportedOperationException.
This method is implemented due to the contract with Collection, but
cannot be applied on instances of this class.
add in interface CollectionUnsupportedOperationException - always.public boolean contains(Object o)
o exists inside the collection, and
returns true if so, else otherwise.
contains in interface Collectiono - The object to find.
true if and only if o exists inside the
collection.public boolean remove(Object o)
UnsupportedOperationException.
This method is implemented due to the contract with Collection, but
cannot be applied on instances of this class.
remove in interface CollectionUnsupportedOperationException - always.public boolean addAll(Collection c)
UnsupportedOperationException.
This method is implemented due to the contract with Collection, but
cannot be applied on instances of this class.
addAll in interface CollectionUnsupportedOperationException - always.public boolean containsAll(Collection c)
c, if every contained
object does also exists inside this collection, and returns true
if so, else otherwise.
containsAll in interface Collectionc - A collection of objects to find.
true if and only if all objects contained inside
c exists inside this collection.public boolean removeAll(Collection c)
UnsupportedOperationException.
This method is implemented due to the contract with Collection, but
cannot be applied on instances of this class.
removeAll in interface CollectionUnsupportedOperationException - always.public boolean retainAll(Collection c)
UnsupportedOperationException.
This method is implemented due to the contract with Collection, but
cannot be applied on instances of this class.
retainAll in interface CollectionUnsupportedOperationException - always.public Iterator iterator()
iterator in interface CollectionIterator over the elements inside this collection.
|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||