protected class AbstractCommentedConfig.CommentedEntryWrapper extends AbstractConfig.EntryWrapper implements CommentedConfig.Entry
mapEntry| Constructor and Description |
|---|
CommentedEntryWrapper(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 |
getComment() |
protected java.util.List<java.lang.String> |
getPath() |
int |
hashCode() |
java.lang.String |
removeComment()
Removes the entry's comment.
|
java.lang.String |
setComment(java.lang.String comment)
Sets the entry's comment.
|
getKey, getRawValue, setValueclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitsetValuegetByte, getByteOrElse, getChar, getCharOrElse, getInt, getIntOrElse, getKey, getLong, getLongOrElse, getOptional, getOptionalInt, getOptionalLong, getOrElse, getRawValue, getShort, getShortOrElse, getValue, isNullpublic CommentedEntryWrapper(java.util.Map.Entry<java.lang.String,java.lang.Object> mapEntry)
protected java.util.List<java.lang.String> getPath()
public java.lang.String getComment()
getComment in interface UnmodifiableCommentedConfig.Entrypublic java.lang.String setComment(java.lang.String comment)
CommentedConfig.EntrysetComment in interface CommentedConfig.Entrycomment - the comment to set, may contain several lines.null if none.public java.lang.String removeComment()
CommentedConfig.EntryremoveComment in interface CommentedConfig.Entrynull if none.public boolean equals(java.lang.Object obj)
equals in class AbstractConfig.EntryWrapperpublic int hashCode()
hashCode in class AbstractConfig.EntryWrapper