|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.lonniepryor.blues.util.Parameters.Builder
Helper class for sequentially constructing the elements of a common TokenizedStrings specification.
Constructor Summary | |
Parameters.Builder()
|
Method Summary | |
Parameters |
endingWithAny()
Returns a Parameters specification that will allow any number of elements at the end of the sequence. |
Parameters |
endingWithElement(Types specification)
Returns a Parameters specification that will require the supplied element at the end of the sequence. |
Parameters |
endingWithElements(Types[] specifications)
Returns a Parameters specification that will require the supplied elements at the end of the sequence. |
Parameters.Builder |
followedByAny()
Returns a Builder whose resulting Parameters specification will allow any number of elements at this point in the sequence. |
Parameters.Builder |
followedByElement(Types specification)
Returns a Builder whose resulting Parameters specification will require the supplied element at this point in the sequence. |
Parameters.Builder |
followedByElements(Types[] specifications)
Returns a Builder whose resulting Parameters specification will require the supplied elements at this point in the sequence. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Parameters.Builder()
Method Detail |
public final Parameters.Builder followedByAny()
public final Parameters.Builder followedByElement(Types specification)
specification
- The specification the element must match.
public final Parameters.Builder followedByElements(Types[] specifications)
specifications
- The specifications the elements must match.
public final Parameters endingWithAny()
public final Parameters endingWithElement(Types specification)
specification
- The specification the element must match.
public final Parameters endingWithElements(Types[] specifications)
specifications
- The specifications the elements must match.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |