com.neeve.lang
Interface XLongMap<V>
- All Known Implementing Classes:
- XLongLinkedHashMap
public interface XLongMap<V>
Defines a map with primitive long keys.
Nested Class Summary |
static interface |
XLongMap.Entry<V>
A Map Entry with a primitive long key. |
size
int size()
- Returns:
- The size of the map
- See Also:
Map.size()
isEmpty
boolean isEmpty()
- Returns:
- true if the map is empty.
- See Also:
Map.isEmpty()
containsKey
boolean containsKey(long key)
- Returns:
- true if the map contains the key
- See Also:
Map.containsKey(Object)
containsValue
boolean containsValue(Object value)
- Returns:
- true if the map is empty.
- See Also:
Map.containsValue(Object)
get
V get(long key)
put
V put(long key,
V value)
remove
V remove(long key)
putAll
void putAll(XLongMap<? extends V> m)
clear
void clear()
keySet
XLongSet keySet()
values
Collection<V> values()
entrySet
Set<XLongMap.Entry<V>> entrySet()
equals
boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2016 Neeve Research, LLC. All Rights Reserved.