public static interface Byte2BooleanMap.Entry extends Map.Entry<Byte,Boolean>
Map.Entry; provides some additional methods
that use polymorphism to avoid (un)boxing.Map.Entry| Modifier and Type | Method and Description |
|---|---|
boolean |
getBooleanValue()
Returns the value corresponding to this entry.
|
byte |
getByteKey()
Returns the key corresponding to this entry.
|
default Byte |
getKey()
Deprecated.
Please use the corresponding type-specific method instead.
|
default Boolean |
getValue()
Deprecated.
Please use the corresponding type-specific method instead.
|
boolean |
setValue(boolean value)
Replaces the value corresponding to this entry with the specified value (optional operation).
|
default Boolean |
setValue(Boolean value)
Deprecated.
Please use the corresponding type-specific method instead.
|
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCodebyte getByteKey()
Map.Entry.getKey()@Deprecated default Byte getKey()
boolean getBooleanValue()
Map.Entry.getValue()boolean setValue(boolean value)
Map.Entry.setValue(Object)@Deprecated default Boolean getValue()
Copyright © 2020. All rights reserved.