|
Simian - Similarity Analyser v2.2.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectau.com.redhillconsulting.simian.BlockMarkers
public final class BlockMarkers
Strings that mark the start and end of a code block.
| Constructor Summary | |
|---|---|
BlockMarkers(java.lang.String start,
java.lang.String end)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
isEnd(au.com.redhillconsulting.simian.LineBuffer line)
Determines if the specified string signifies the end of the block. |
boolean |
isStart(au.com.redhillconsulting.simian.LineBuffer line)
Determines if the specified string signifies the start of the block. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BlockMarkers(java.lang.String start,
java.lang.String end)
start - The string that indicates the start of the block.end - The string that indicates the end of the block.| Method Detail |
|---|
public boolean isStart(au.com.redhillconsulting.simian.LineBuffer line)
line - The line.
true if the specified string signifies the start of the block; otherwise false.public boolean isEnd(au.com.redhillconsulting.simian.LineBuffer line)
line - The line.
true if the specified string signifies the end of the block; otherwise false.public java.lang.String toString()
toString in class java.lang.Object
|
Simian - Similarity Analyser v2.2.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||