protected static class AbstractConfig.EntryWrapper extends java.lang.Object implements Config.Entry
Map.Entry<String, Object>.Map.Entry| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map.Entry<java.lang.String,java.lang.Object> |
mapEntry |
| Constructor and Description |
|---|
EntryWrapper(java.util.Map.Entry<java.lang.String,java.lang.Object> mapEntry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getKey() |
<T> T |
getRawValue()
Returns the entry's value without converting
NullObject.NULL_OBJECT to null. |
int |
hashCode() |
<T> T |
setValue(java.lang.Object value)
Sets the entry's value.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetByte, getByteOrElse, getChar, getCharOrElse, getInt, getIntOrElse, getLong, getLongOrElse, getOptional, getOptionalInt, getOptionalLong, getOrElse, getShort, getShortOrElse, getValue, isNullprotected final java.util.Map.Entry<java.lang.String,java.lang.Object> mapEntry
public EntryWrapper(java.util.Map.Entry<java.lang.String,java.lang.Object> mapEntry)
public java.lang.String getKey()
getKey in interface UnmodifiableConfig.Entrypublic <T> T getRawValue()
UnmodifiableConfig.EntryNullObject.NULL_OBJECT to null.getRawValue in interface UnmodifiableConfig.EntryT - the value's typepublic <T> T setValue(java.lang.Object value)
Config.EntrysetValue in interface Config.EntryT - the type of the old valuevalue - the value to setpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object