public class IdentifierRelation extends UntypedData implements SortedSet<Identifier>
MetaData objects.EMPTY, string| Constructor and Description |
|---|
IdentifierRelation()
Construct an IdentifierRelation with an empty list of relations.
|
getString, setString, toHTMLpublic IdentifierRelation()
public boolean add(Identifier o)
Identifier to this IdentifierRelation set.add in interface Collection<Identifier>add in interface Set<Identifier>o - true if successful;false otherwise.Collection.add(java.lang.Object)public boolean addAll(Collection<? extends Identifier> c)
addAll in interface Collection<Identifier>addAll in interface Set<Identifier>c - true if successful;false otherwise.Collection.addAll(java.util.Collection)public Identifier ceiling(Identifier e)
e - IdentifierTreeSet.ceiling(java.lang.Object)public void clear()
IdentifierRelation Set.clear in interface Collection<Identifier>clear in interface Set<Identifier>Collection.clear()public Object clone()
clone in class ObjectObjectTreeSet.clone()public Comparator<? super Identifier> comparator()
comparator in interface SortedSet<Identifier>Comparator of IdentifierTreeSet.comparator()public int compareTo(UntypedData datatype)
compareTo in interface Comparable<UntypedData>compareTo in class UntypedDatapublic boolean contains(Object o)
Object is in the IdentifierRelation set.contains in interface Collection<Identifier>contains in interface Set<Identifier>o - true if the the Set contains the
object; false otherwise.Collection.contains(java.lang.Object)public boolean containsAll(Collection<?> c)
Collection is in the IdentifierRelation
set.containsAll in interface Collection<Identifier>containsAll in interface Set<Identifier>true if the the Set contains the
Collection; false otherwise.public Iterator<Identifier> descendingIterator()
Iterator of IdentifierTreeSet.descendingIterator()public NavigableSet<Identifier> descendingSet()
NavigableSet of IdentifierTreeSet.descendingSet()public boolean equals(Object o)
equals in interface Collection<Identifier>equals in interface Set<Identifier>equals in class UntypedDatapublic Identifier first()
first in interface SortedSet<Identifier>IdentifierTreeSet.first()public Identifier floor(Identifier e)
e - IdentifierTreeSet.floor(java.lang.Object)public Collection<Identifier> getRelations()
_relations.public int hashCode()
hashCode in interface Collection<Identifier>hashCode in interface Set<Identifier>hashCode in class UntypedDatapublic SortedSet<Identifier> headSet(Identifier toElement)
headSet in interface SortedSet<Identifier>toElement - SortedSet of IdentifierTreeSet.headSet(java.lang.Object)public NavigableSet<Identifier> headSet(Identifier toElement, boolean inclusive)
toElement - inclusive - NavigableSet of IdentifierTreeSet.headSet(java.lang.Object, boolean)public Identifier higher(Identifier e)
e - IdentifierTreeSet.higher(java.lang.Object)public boolean isEmpty()
Collection of IdentifierRelation is empty.isEmpty in interface Collection<Identifier>isEmpty in interface Set<Identifier>true if Collection is empty;
false otherwise.Collection.isEmpty()public Iterator<Identifier> iterator()
Collection of IdentifierRelation.iterator in interface Iterable<Identifier>iterator in interface Collection<Identifier>iterator in interface Set<Identifier>Collection.iterator()public Identifier last()
last in interface SortedSet<Identifier>IdentifierTreeSet.last()public Identifier lower(Identifier e)
e - IdentifierTreeSet.lower(java.lang.Object)public Identifier pollFirst()
IdentifierTreeSet.pollFirst()public Identifier pollLast()
IdentifierTreeSet.pollLast()public boolean remove(Object o)
Object from the IdentifierRelation set.remove in interface Collection<Identifier>remove in interface Set<Identifier>true if successful; false otherwise.public boolean removeAll(Collection<?> c)
Collection from the IdentifierRelation set.removeAll in interface Collection<Identifier>removeAll in interface Set<Identifier>true if successful; false otherwise.public boolean retainAll(Collection<?> c)
Collection in the
IdentifierRelation set.
Removes all other Objects from the IdentifierRelation
set.retainAll in interface Collection<Identifier>retainAll in interface Set<Identifier>true if successful; false otherwise.public void setRelations(TreeSet<Identifier> relations)
_relations.relations - the _relations to setpublic int size()
IdentifierRelation Collection.size in interface Collection<Identifier>size in interface Set<Identifier>Set.size()public NavigableSet<Identifier> subSet(Identifier fromElement, boolean fromInclusive, Identifier toElement, boolean toInclusive)
fromElement - fromInclusive - toElement - toInclusive - NavigableSet of IdentifierTreeSet.subSet(java.lang.Object, boolean,
java.lang.Object, boolean)public SortedSet<Identifier> subSet(Identifier fromElement, Identifier toElement)
subSet in interface SortedSet<Identifier>fromElement - toElement - SortedSet of IdentifierTreeSet.subSet(java.lang.Object, java.lang.Object)public SortedSet<Identifier> tailSet(Identifier fromElement)
tailSet in interface SortedSet<Identifier>fromElement - SortedSet of IdentifierTreeSet.tailSet(java.lang.Object)public NavigableSet<Identifier> tailSet(Identifier fromElement, boolean inclusive)
fromElement - inclusive - NavigableSet of IdentifierTreeSet.tailSet(java.lang.Object, boolean)public Object[] toArray()
Collection to an array of Objects.toArray in interface Collection<Identifier>toArray in interface Set<Identifier>Set.toArray()public <T> T[] toArray(T[] a)
Collection to an array of T objects.toArray in interface Collection<Identifier>toArray in interface Set<Identifier>T - a T object.a - an array of T objects.public String toString()
UntypedDatatoString in class UntypedDataCopyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.