public class Mask6cPattern extends Object
| Constructor and Description |
|---|
Mask6cPattern()
Create an instance of the Mask6cPattern class.
|
Mask6cPattern(<any> value)
Create an instance of the Mask6cPattern class.
|
Mask6cPattern(String pattern,
int length)
Create an instance of the Mask6cPattern class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Returns the pattern length of the Mask6cPattern instance.
|
String |
getPattern()
Returns the Mask pattern of the Mask6cPattern instance.
|
void |
setLength(int length)
Sets the pattern length of the Mask6cPattern instance.
|
void |
setPattern(String pattern)
Sets the Mask pattern for the instance.
|
String |
toString()
Return the Mask6cPattern information with format: [Pattern], [Length]
|
public Mask6cPattern()
public Mask6cPattern(<any> value)
value - An instance of the class Pair representing the Hex type string and length of the Mask pattern.public Mask6cPattern(String pattern, int length)
pattern - An Hex type string representing a mask pattern.length - An integer representing the length of the pattern. The length of the pattern is in bits.public String getPattern()
public void setPattern(String pattern)
pattern - An Hex type string representing a mask pattern.public int getLength()
public void setLength(int length)
length - An integer representing the length of the pattern. The length of the pattern is in bits.