public class IdentifierRelation extends UntypedData implements java.util.SortedSet<Identifier>
MetaData objects.ALL_RIGHTS_RESERVED, EMPTY, string| Constructor and Description |
|---|
IdentifierRelation()
Construct an IdentifierRelation with an empty list of relations.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Identifier identifier)
Add a
Identifier to this IdentifierRelation set. |
boolean |
addAll(java.util.Collection<? extends Identifier> collection)
|
Identifier |
ceiling(Identifier identifier) |
void |
clear()
Clear the
IdentifierRelation Set. |
java.lang.Object |
clone() |
java.util.Comparator<? super Identifier> |
comparator() |
int |
compareTo(UntypedData datatype) |
boolean |
contains(java.lang.Object object)
Check if an the
Object is in the IdentifierRelation set. |
boolean |
containsAll(java.util.Collection<?> c)
Check if an the
Collection is in the IdentifierRelation
set. |
java.util.Iterator<Identifier> |
descendingIterator() |
java.util.NavigableSet<Identifier> |
descendingSet() |
boolean |
equals(java.lang.Object o) |
Identifier |
first() |
Identifier |
floor(Identifier identifier) |
java.util.Collection<Identifier> |
getRelations()
Getter for the field
_relations. |
int |
hashCode() |
java.util.SortedSet<Identifier> |
headSet(Identifier toElement) |
java.util.NavigableSet<Identifier> |
headSet(Identifier toElement,
boolean inclusive) |
Identifier |
higher(Identifier identifier) |
boolean |
isEmpty()
Check if the
Collection of IdentifierRelation is empty. |
java.util.Iterator<Identifier> |
iterator()
Iterator for the
Collection of IdentifierRelation. |
Identifier |
last() |
Identifier |
lower(Identifier identifier) |
Identifier |
pollFirst() |
Identifier |
pollLast() |
boolean |
remove(java.lang.Object o)
Remove the
Object from the IdentifierRelation set. |
boolean |
removeAll(java.util.Collection<?> c)
Remove the
Collection from the IdentifierRelation set. |
boolean |
retainAll(java.util.Collection<?> c)
Retains only the object in the
Collection in the
IdentifierRelation set. |
void |
setRelations(java.util.TreeSet<Identifier> relations)
Setter for the field
_relations. |
int |
size()
Get the size of the
IdentifierRelation Collection. |
java.util.NavigableSet<Identifier> |
subSet(Identifier fromElement,
boolean fromInclusive,
Identifier toElement,
boolean toInclusive) |
java.util.SortedSet<Identifier> |
subSet(Identifier fromElement,
Identifier toElement) |
java.util.SortedSet<Identifier> |
tailSet(Identifier fromElement) |
java.util.NavigableSet<Identifier> |
tailSet(Identifier fromElement,
boolean inclusive) |
java.lang.Object[] |
toArray()
Convert the
Collection to an array of Objects. |
<T> T[] |
toArray(T[] a)
Convert the
Collection to an array of T objects. |
java.lang.String |
toString() |
getString, setString, toHTMLpublic IdentifierRelation()
public boolean add(Identifier identifier)
Identifier to this IdentifierRelation set.add in interface java.util.Collection<Identifier>add in interface java.util.Set<Identifier>identifier - the identifier to addtrue if successful;false otherwise.Collection.add(java.lang.Object)public boolean addAll(java.util.Collection<? extends Identifier> collection)
addAll in interface java.util.Collection<Identifier>addAll in interface java.util.Set<Identifier>collection - the collection of identifiers to addtrue if successful;false otherwise.Collection.addAll(java.util.Collection)public Identifier ceiling(Identifier identifier)
identifier - to identifier to matchIdentifierTreeSet.ceiling(java.lang.Object)public void clear()
IdentifierRelation Set.clear in interface java.util.Collection<Identifier>clear in interface java.util.Set<Identifier>Collection.clear()public java.lang.Object clone()
clone in class java.lang.ObjectObjectTreeSet.clone()public java.util.Comparator<? super Identifier> comparator()
comparator in interface java.util.SortedSet<Identifier>Comparator of IdentifierTreeSet.comparator()public int compareTo(UntypedData datatype)
compareTo in interface java.lang.Comparable<UntypedData>compareTo in class UntypedDatapublic boolean contains(java.lang.Object object)
Object is in the IdentifierRelation set.contains in interface java.util.Collection<Identifier>contains in interface java.util.Set<Identifier>object - to object to checktrue if the the Set contains the
object; false otherwise.Collection.contains(java.lang.Object)public boolean containsAll(java.util.Collection<?> c)
Collection is in the IdentifierRelation
set.containsAll in interface java.util.Collection<Identifier>containsAll in interface java.util.Set<Identifier>true if the the Set contains the
Collection; false otherwise.public java.util.Iterator<Identifier> descendingIterator()
Iterator of IdentifierTreeSet.descendingIterator()public java.util.NavigableSet<Identifier> descendingSet()
NavigableSet of IdentifierTreeSet.descendingSet()public boolean equals(java.lang.Object o)
equals in interface java.util.Collection<Identifier>equals in interface java.util.Set<Identifier>equals in class UntypedDatapublic Identifier first()
first in interface java.util.SortedSet<Identifier>IdentifierTreeSet.first()public Identifier floor(Identifier identifier)
identifier - the identifier to matchIdentifierTreeSet.floor(java.lang.Object)public java.util.Collection<Identifier> getRelations()
_relations.public int hashCode()
hashCode in interface java.util.Collection<Identifier>hashCode in interface java.util.Set<Identifier>hashCode in class UntypedDatapublic java.util.SortedSet<Identifier> headSet(Identifier toElement)
headSet in interface java.util.SortedSet<Identifier>toElement - the identifier to matchSortedSet of IdentifierTreeSet.headSet(java.lang.Object)public java.util.NavigableSet<Identifier> headSet(Identifier toElement, boolean inclusive)
toElement - the identifier to matchinclusive - if inclusive or notNavigableSet of IdentifierTreeSet.headSet(java.lang.Object, boolean)public Identifier higher(Identifier identifier)
identifier - the identifier to matchIdentifierTreeSet.higher(java.lang.Object)public boolean isEmpty()
Collection of IdentifierRelation is empty.isEmpty in interface java.util.Collection<Identifier>isEmpty in interface java.util.Set<Identifier>true if Collection is empty;
false otherwise.Collection.isEmpty()public java.util.Iterator<Identifier> iterator()
Collection of IdentifierRelation.iterator in interface java.lang.Iterable<Identifier>iterator in interface java.util.Collection<Identifier>iterator in interface java.util.Set<Identifier>IteratorCollection.iterator()public Identifier last()
last in interface java.util.SortedSet<Identifier>IdentifierTreeSet.last()public Identifier lower(Identifier identifier)
identifier - the identifier to matchIdentifierTreeSet.lower(java.lang.Object)public Identifier pollFirst()
IdentifierTreeSet.pollFirst()public Identifier pollLast()
IdentifierTreeSet.pollLast()public boolean remove(java.lang.Object o)
Object from the IdentifierRelation set.remove in interface java.util.Collection<Identifier>remove in interface java.util.Set<Identifier>true if successful; false otherwise.public boolean removeAll(java.util.Collection<?> c)
Collection from the IdentifierRelation set.removeAll in interface java.util.Collection<Identifier>removeAll in interface java.util.Set<Identifier>true if successful; false otherwise.public boolean retainAll(java.util.Collection<?> c)
Collection in the
IdentifierRelation set.
Removes all other Objects from the IdentifierRelation
set.retainAll in interface java.util.Collection<Identifier>retainAll in interface java.util.Set<Identifier>true if successful; false otherwise.public void setRelations(java.util.TreeSet<Identifier> relations)
_relations.relations - the _relations to setpublic int size()
IdentifierRelation Collection.size in interface java.util.Collection<Identifier>size in interface java.util.Set<Identifier>Set.size()public java.util.NavigableSet<Identifier> subSet(Identifier fromElement, boolean fromInclusive, Identifier toElement, boolean toInclusive)
fromElement - the 'from' identifier to matchfromInclusive - if inclusive or nottoElement - the 'to' identifier to matchtoInclusive - if inclusive or notNavigableSet of IdentifierTreeSet.subSet(java.lang.Object, boolean,
java.lang.Object, boolean)public java.util.SortedSet<Identifier> subSet(Identifier fromElement, Identifier toElement)
subSet in interface java.util.SortedSet<Identifier>fromElement - the 'from' identifier to matchtoElement - the 'to' identifier to matchSortedSet of IdentifierTreeSet.subSet(java.lang.Object, java.lang.Object)public java.util.SortedSet<Identifier> tailSet(Identifier fromElement)
tailSet in interface java.util.SortedSet<Identifier>fromElement - the 'from' identifier to matchSortedSet of IdentifierTreeSet.tailSet(java.lang.Object)public java.util.NavigableSet<Identifier> tailSet(Identifier fromElement, boolean inclusive)
fromElement - the 'from' identifier to matchinclusive - if inclusive or notNavigableSet of IdentifierTreeSet.tailSet(java.lang.Object, boolean)public java.lang.Object[] toArray()
Collection to an array of Objects.toArray in interface java.util.Collection<Identifier>toArray in interface java.util.Set<Identifier>Set.toArray()public <T> T[] toArray(T[] a)
Collection to an array of T objects.toArray in interface java.util.Collection<Identifier>toArray in interface java.util.Set<Identifier>T - a T object.a - an array of T objects.public java.lang.String toString()
UntypedDatatoString in class UntypedData