public class StringEntry extends Object implements Entry
Entry
representing a stringConstructor and Description |
---|
StringEntry(String content)
Creates an instance of
StringEntry with the given StringKey |
StringEntry(StringKey content)
Creates an instance of
StringEntry with the given StringKey as a content |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
StringKey |
getContent()
Returns the content
|
int |
hashCode() |
void |
setContent(StringKey content)
Sets the given content
|
public StringEntry(StringKey content)
StringEntry
with the given StringKey
as a contentcontent
- A StringKey
that should be content of the StringEntry
public StringEntry(String content)
StringEntry
with the given StringKey
content
- A String that should be stored as an UnknownStringKey
content of the StringEntry
Copyright © 2017 JBoss by Red Hat. All rights reserved.