public class Block
extends java.lang.Object
Constructor and Description |
---|
Block(java.lang.String [] source,
int start,
int end) |
Block(java.lang.String source,
int start,
int end) |
Modifier and Type | Method and Description |
---|---|
Block |
createPreviousBlock(java.lang.String prevContent) |
Block |
createPreviousBlock(java.lang.String [] prevContent) |
boolean |
equals(java.lang.Object object) |
java.lang.String |
getBlockContent() |
int |
getEnd() |
java.util.List<java.lang.String> |
getLines() |
int |
getStart() |
int |
hashCode() |
static java.lang.String [] |
tokenize(java.lang.String text) |
java.lang.String |
toString() |
public Block(java.lang.String source, int start, int end)
public Block(java.lang.String [] source, int start, int end)
public static java.lang.String [] tokenize(java.lang.String text)
public Block createPreviousBlock(java.lang.String prevContent)
public Block createPreviousBlock(java.lang.String [] prevContent)
public java.lang.String getBlockContent()
public java.util.List<java.lang.String> getLines()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int getStart()
public int getEnd()
public java.lang.String toString()
toString
in class java.lang.Object