public class DictionaryImpl<KeyT,T> extends Object implements Dictionary<KeyT,T>
SINGLETON_NAME| Constructor and Description |
|---|
DictionaryImpl() |
DictionaryImpl(DictionaryImpl<KeyT,T> source) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T o) |
boolean |
addAll(Collection<? extends T> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
T |
defaultget(KeyT k,
T v) |
boolean |
equals(Object o) |
T |
get(KeyT k) |
int |
hashCode() |
boolean |
hasKey(KeyT k) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
List<KeyT> |
keys() |
void |
put(KeyT k,
T v) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<E> E[] |
toArray(E[] a) |
String |
toString() |
List<T> |
values() |
parallelStream, removeIf, spliterator, streampublic DictionaryImpl()
public DictionaryImpl(DictionaryImpl<KeyT,T> source)
public boolean hasKey(KeyT k)
hasKey in interface Dictionary<KeyT,T>public T defaultget(KeyT k, T v)
defaultget in interface Dictionary<KeyT,T>public void clear()
clear in interface Collection<T>clear in interface Dictionary<KeyT,T>public int size()
size in interface Collection<T>public boolean addAll(Collection<? extends T> c)
addAll in interface Collection<T>public boolean add(T o)
add in interface Collection<T>public boolean contains(Object o)
contains in interface Collection<T>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<T>public boolean isEmpty()
isEmpty in interface Collection<T>public boolean remove(Object o)
remove in interface Collection<T>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<T>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<T>public Object[] toArray()
toArray in interface Collection<T>public <E> E[] toArray(E[] a)
toArray in interface Collection<T>public boolean equals(Object o)
equals in interface Collection<T>equals in class Objectpublic int hashCode()
hashCode in interface Collection<T>hashCode in class ObjectCopyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.