public class SetAnnotation extends HashSet<Object> implements Comparable<SetAnnotation>
IDistanceFunction
,
SetAnnotationDistanceFunction
,
MASISetAnnotationDistanceFunction
,
Serialized FormConstructor and Description |
---|
SetAnnotation()
Instantiates an empty set annotation.
|
SetAnnotation(Collection<? extends Object> c)
Instantiates a set annotation with the given values as set elements.
|
SetAnnotation(Object... values)
Instantiates a set annotation with the given values as set elements.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SetAnnotation that) |
boolean |
equals(Object that) |
String |
toString() |
add, clear, clone, contains, isEmpty, iterator, remove, size, spliterator
hashCode, removeAll
addAll, containsAll, retainAll, toArray, toArray
finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, containsAll, hashCode, removeAll, retainAll, toArray, toArray
parallelStream, removeIf, stream
public SetAnnotation()
public SetAnnotation(Object... values)
public SetAnnotation(Collection<? extends Object> c)
public int compareTo(SetAnnotation that)
compareTo
in interface Comparable<SetAnnotation>
public boolean equals(Object that)
equals
in interface Collection<Object>
equals
in interface Set<Object>
equals
in class AbstractSet<Object>
public String toString()
toString
in class AbstractCollection<Object>
Copyright © 2011–2015 Ubiquitous Knowledge Processing (UKP) Lab. All rights reserved.