public class BooleanMap<V> extends AbstractMap<Boolean,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
BooleanMap() |
BooleanMap(V falseValue,
V trueValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<Boolean,V>> |
entrySet() |
V |
get(boolean key) |
V |
get(Object key) |
boolean |
isEmpty() |
Set<Boolean> |
keySet() |
V |
put(boolean key,
V value) |
V |
put(Boolean key,
V value) |
void |
putAll(Map<? extends Boolean,? extends V> m) |
V |
remove(Object key) |
int |
size() |
Collection<V> |
values() |
clone, equals, hashCode, toStringpublic V get(boolean key)
public int size()
public boolean isEmpty()
public boolean containsValue(Object value)
containsValue in interface Map<Boolean,V>containsValue in class AbstractMap<Boolean,V>public boolean containsKey(Object key)
containsKey in interface Map<Boolean,V>containsKey in class AbstractMap<Boolean,V>public void clear()
public Collection<V> values()
Copyright © 2014. All Rights Reserved.