UnionFind
instead.public class UnionFind<T>
extends java.lang.Object
implements java.util.Map<T,T>
Constructor and Description |
---|
UnionFind()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
|
boolean |
containsKey(java.lang.Object key)
Deprecated.
|
boolean |
containsValue(java.lang.Object value)
Deprecated.
|
java.util.Set<java.util.Map.Entry<T,T>> |
entrySet()
Deprecated.
|
T |
find(T x)
Deprecated.
|
T |
get(java.lang.Object key)
Deprecated.
|
boolean |
isEmpty()
Deprecated.
|
boolean |
isRoot(T x)
Deprecated.
|
java.util.Set<T> |
keySet()
Deprecated.
|
T |
put(T key,
T value)
Deprecated.
|
void |
putAll(java.util.Map<? extends T,? extends T> m)
Deprecated.
|
T |
remove(java.lang.Object key)
Deprecated.
|
int |
size()
Deprecated.
|
void |
unite(T a,
T b)
Deprecated.
|
java.util.Collection<T> |
values()
Deprecated.
|
public boolean isRoot(T x)
public T get(java.lang.Object key)
public boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)
public java.util.Set<T> keySet()
public T remove(java.lang.Object key)