|
|||||||||
| Home >> All >> java >> [ util overview ] | PREV NEXT | ||||||||
Uses of Interface
java.util.Set
| Uses of Set in java.util |
| Subinterfaces of Set in java.util | |
interface |
SortedSet
A set which guarantees its iteration order. |
| Classes in java.util that implement Set | |
class |
AbstractSet
An abstract implementation of Set to make it easier to create your own implementations. |
private static class |
Collections.EmptySet
The implementation of Collections.EMPTY_SET 55 . |
private static class |
Collections.SingletonSet
The implementation of Collections.singleton(Object) 55 . |
(package private) static class |
Collections.SynchronizedSet
The implementation of Collections.synchronizedSet(Set) 55 . |
private static class |
Collections.SynchronizedSortedSet
The implementation of Collections.synchronizedSortedSet(SortedSet) 55 . |
private static class |
Collections.UnmodifiableMap.UnmodifiableEntrySet
The implementation of UnmodifiableMap#entrySet(). |
private static class |
Collections.UnmodifiableSet
The implementation of Collections.unmodifiableSet(Set) 55 . |
private static class |
Collections.UnmodifiableSortedSet
The implementation of Collections.synchronizedSortedMap(SortedMap) 55 . |
class |
HashSet
This class provides a HashMap-backed implementation of the Set interface. |
class |
LinkedHashSet
This class provides a hashtable-backed implementation of the Set interface, with predictable traversal order. |
class |
TreeSet
This class provides a TreeMap-backed implementation of the SortedSet interface. |
private class |
WeakHashMap.WeakEntrySet
The entry set. |
| Fields in java.util declared as Set | |
private Set |
Hashtable.keys
The cache for Hashtable.keySet() 55 . |
private Set |
Hashtable.entries
The cache for Hashtable.entrySet() 55 . |
(package private) Set |
AbstractMap.keys
The cache for AbstractMap.keySet() 55 . |
private Set |
HashMap.entries
The cache for HashMap.entrySet() 55 . |
static Set |
Collections.EMPTY_SET
An immutable, serializable, empty Set. |
private Set |
Collections.SingletonMap.entries
Cache the entry set. |
private Set |
Collections.SynchronizedMap.entries
Cache the entry set. |
private Set |
Collections.SynchronizedMap.keys
Cache the key set. |
private Set |
Collections.UnmodifiableMap.entries
Cache the entry set. |
private Set |
Collections.UnmodifiableMap.keys
Cache the key set. |
private Set |
TreeMap.entries
The cache for TreeMap.entrySet() 55 . |
private Set |
TreeMap.SubMap.entries
The cache for TreeMap.SubMap.entrySet() 55 . |
private Set |
IdentityHashMap.entries
The cache for IdentityHashMap.entrySet() 55 . |
| Methods in java.util that return Set | |
Set |
Map.entrySet()
Returns a set view of the mappings in this Map. |
Set |
Map.keySet()
Returns a set view of the keys in this Map. |
Set |
Hashtable.keySet()
Returns a "set view" of this Hashtable's keys. |
Set |
Hashtable.entrySet()
Returns a "set view" of this Hashtable's entries. |
abstract Set |
AbstractMap.entrySet()
Returns a set view of the mappings in this Map. |
Set |
AbstractMap.keySet()
Returns a set view of this map's keys. |
Set |
HashMap.keySet()
Returns a "set view" of this HashMap's keys. |
Set |
HashMap.entrySet()
Returns a "set view" of this HashMap's entries. |
static Set |
Collections.singleton(java.lang.Object o)
Obtain an immutable Set consisting of a single element. |
static Set |
Collections.synchronizedSet(Set s)
Returns a synchronized (thread-safe) set wrapper backed by the given set. |
static Set |
Collections.unmodifiableSet(Set s)
Returns an unmodifiable view of the given set. |
Set |
Collections.EmptyMap.entrySet()
There are no entries. |
Set |
Collections.EmptyMap.keySet()
No entries. |
Set |
Collections.SingletonMap.entrySet()
There is a single immutable entry. |
Set |
Collections.SingletonMap.keySet()
Return the keyset. |
Set |
Collections.SynchronizedMap.entrySet()
|
Set |
Collections.SynchronizedMap.keySet()
Returns a thread-safe set view of the keys in the underlying map. |
Set |
Collections.UnmodifiableMap.entrySet()
Returns a unmodifiable set view of the entries in the underlying map. |
Set |
Collections.UnmodifiableMap.keySet()
Returns a unmodifiable set view of the keys in the underlying map. |
Set |
WeakHashMap.entrySet()
Returns a set representation of the entries in this map. |
Set |
WeakHashMap.keySet()
Returns a set representation of the keys in this map. |
Set |
TreeMap.entrySet()
Returns a "set view" of this TreeMap's entries. |
Set |
TreeMap.keySet()
Returns a "set view" of this TreeMap's keys. |
Set |
TreeMap.SubMap.entrySet()
|
Set |
TreeMap.SubMap.keySet()
|
Set |
IdentityHashMap.entrySet()
Returns a "set view" of this Map's entries. |
Set |
IdentityHashMap.keySet()
Returns a "set view" of this Map's keys. |
| Methods in java.util with parameters of type Set | |
static Set |
Collections.synchronizedSet(Set s)
Returns a synchronized (thread-safe) set wrapper backed by the given set. |
static Set |
Collections.unmodifiableSet(Set s)
Returns an unmodifiable view of the given set. |
| Constructors in java.util with parameters of type Set | |
Collections.SynchronizedSet(Set s)
Wrap a given set. |
|
Collections.SynchronizedSet(java.lang.Object sync,
Set s)
Called only by trusted code to specify the mutex as well as the set. |
|
Collections.UnmodifiableMap.UnmodifiableEntrySet(Set s)
Wrap a given set. |
|
Collections.UnmodifiableSet(Set s)
Wrap a given set. |
|
|
|||||||||
| Home >> All >> java >> [ util overview ] | PREV NEXT | ||||||||