public class SetAnnotation extends HashSet<Object> implements Comparable<SetAnnotation>
IDistanceFunction,
SetAnnotationDistanceFunction,
MASISetAnnotationDistanceFunction,
Serialized Form| Constructor 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, spliteratorhashCode, removeAlladdAll, containsAll, retainAll, toArray, toArrayfinalize, getClass, notify, notifyAll, wait, wait, waitaddAll, containsAll, hashCode, removeAll, retainAll, toArray, toArrayparallelStream, removeIf, streampublic 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.