Interface Int3Entry<V>
- Type Parameters:
V- The type of the value.
public interface Int3Entry<V>
Represents a key-value mapping.
This entry type is used by the
Int3HashMap.- Since:
- 1.3
-
Method Summary
-
Method Details
-
getKey1
int getKey1()Returns the key of this mapping.- Returns:
- The key component of this mapping.
-
getKey2
int getKey2()Returns the key of this mapping.- Returns:
- The key component of this mapping.
-
getKey3
int getKey3()Returns the key of this mapping.- Returns:
- The key component of this mapping.
-
getValue
-
setValue
Sets the value of this mapping. The previous value is replaced.This method can be used instead of
map.put(key, value). Iterators do not throw aConcurrentModificationExceptionif this method is used.- Parameters:
value- The new value of this mapping. Must not benull.- Throws:
IllegalArgumentException- If the new value isnull.
-