public class InMemoryText extends java.lang.Object implements Text
Text
interface.
The provided implementation is immutable and, therefore, instances can be freely shared.
Modifier and Type | Class and Description |
---|---|
static class |
InMemoryText.Builder
A builder to create
InMemoryText instances. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.util.Iterator<TextElement> |
iterator() |
public java.util.Iterator<TextElement> iterator()
iterator
in interface java.lang.Iterable<TextElement>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object