| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| pack-priv volatile boolean | |
| pack-priv Object[] | |
| pack-priv Constructor |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Relation | |
| public Relation | |
| public void | |
| public Relation | cloneAsThawed()
Implements com. |
| public boolean | |
| public boolean | |
| public final Set | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public Relation | |
| public Set | |
| public Set | |
| public int | |
| public boolean | |
| public boolean | isFrozen()
Implements com. |
| public Set | |
| public Set | |
| public Set | |
| private Set | |
| public static <K, V> Relation | |
| public static <K, V> Relation | |
| public V | |
| public V | |
| public V | |
| public void | |
| public void | |
| public boolean | |
| public Set | |
| public boolean | |
| public final Set | |
| public boolean | |
| public Set | |
| public int | |
| public String | |
| public Set | |
| public <C extends Collection |
| data | back to summary |
|---|---|
| private Map<K, Set<V>> data | |
| frozen | back to summary |
|---|---|
| pack-priv volatile boolean frozen | |
| setComparatorParam | back to summary |
|---|---|
| pack-priv Object[] setComparatorParam | |
| setCreator | back to summary |
|---|---|
| pack-priv Constructor<? extends Set<V>> setCreator | |
| Relation | back to summary |
|---|---|
| public Relation(Map<K, Set<V>> map, Class<?> setCreator) | |
| Relation | back to summary |
|---|---|
public Relation(Map<K, Set<V>> map, Class<?> setCreator, Comparator<V> setComparator)
| |
| addAllInverted | back to summary |
|---|---|
| public Relation | |
| addAllInverted | back to summary |
|---|---|
| public Relation | |
| clear | back to summary |
|---|---|
| public void clear() | |
| cloneAsThawed | back to summary |
|---|---|
| public Relation Implements com. Doc from com. Provides for the clone operation. Any clone is initially unfrozen.
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(Object key) | |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(Object value) | |
| entrySet | back to summary |
|---|---|
| public final Set | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| freeze | back to summary |
|---|---|
| public Relation Implements com. Doc from com. Freezes the object. | |
| get | back to summary |
|---|---|
| public Set | |
| getAll | back to summary |
|---|---|
| public Set | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| isFrozen | back to summary |
|---|---|
| public boolean isFrozen() Implements com. Doc from com. Determines whether the object has been frozen or not.
| |
| keySet | back to summary |
|---|---|
| public Set | |
| keyValueSet | back to summary |
|---|---|
| public Set | |
| keyValuesSet | back to summary |
|---|---|
| public Set | |
| newSet | back to summary |
|---|---|
| private Set | |
| of | back to summary |
|---|---|
| public static <K, V> Relation | |
| of | back to summary |
|---|---|
| public static <K, V> Relation | |
| put | back to summary |
|---|---|
| public V put(K key, V value) | |
| putAll | back to summary |
|---|---|
| public V putAll(K key, Collection<? extends V> values) | |
| putAll | back to summary |
|---|---|
| public V putAll(Collection<K> keys, V value) | |
| putAll | back to summary |
|---|---|
| public void putAll(Map<? extends K, ? extends V> t) | |
| putAll | back to summary |
|---|---|
| public void putAll(Relation<? extends K, ? extends V> t) | |
| remove | back to summary |
|---|---|
| public boolean remove(K key, V value) | |
| removeAll | back to summary |
|---|---|
| public Set | |
| removeAll | back to summary |
|---|---|
| public boolean removeAll(Relation<K, V> toBeRemoved) | |
| removeAll | back to summary |
|---|---|
public final Set
| |
| removeAll | back to summary |
|---|---|
| public boolean removeAll(K key, Iterable<V> toBeRemoved) | |
| removeAll | back to summary |
|---|---|
| public Set | |
| size | back to summary |
|---|---|
| public int size() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| values | back to summary |
|---|---|
| public Set | |
| values | back to summary |
|---|---|
| public <C extends Collection | |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public K | |
| public V | |
| public V | setValue(V
new value to be stored in this entry value)Implements java. |
| SimpleEntry | back to summary |
|---|---|
| public SimpleEntry(K key, V value) | |
| SimpleEntry | back to summary |
|---|---|
| public SimpleEntry(Map. | |
| getKey | back to summary |
|---|---|
| public K getKey() Implements java. Doc from java. Returns the key corresponding to this entry.
| |
| getValue | back to summary |
|---|---|
| public V getValue() Implements java. Doc from java. Returns the value corresponding to this entry. If the mapping
has been removed from the backing map (by the iterator's
| |
| setValue | back to summary |
|---|---|
| public V setValue(V value) Implements java. Doc from java. Replaces the value corresponding to this entry with the specified
value (optional operation). (Writes through to the map.) The
behavior of this call is undefined if the mapping has already been
removed from the map (by the iterator's
| |