public final class PrefixVariable extends VariableSpec
foo:3 in {foo:3}name| Constructor and Description |
|---|
PrefixVariable(String name,
int length) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getPrefixLength()
Return the prefix length for this varspec
|
int |
hashCode() |
boolean |
isExploded()
Tell whether this varspec has an explode modifier
|
String |
toString() |
getName, getTypepublic PrefixVariable(String name, int length)
public boolean isExploded()
VariableSpecisExploded in class VariableSpecpublic int getPrefixLength()
VariableSpecReturns -1 if no prefix length is specified. Recall: valid values are integers between 0 and 10000.
getPrefixLength in class VariableSpecpublic int hashCode()
hashCode in class VariableSpecpublic boolean equals(Object obj)
equals in class VariableSpecpublic String toString()
toString in class VariableSpecCopyright © 2013. All Rights Reserved.