public class Mask6cPattern
extends java.lang.Object
Constructor and Description |
---|
Mask6cPattern()
Create an instance of the Mask6cPattern class.
|
Mask6cPattern(<any> value)
Create an instance of the Mask6cPattern class.
|
Mask6cPattern(java.lang.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.
|
java.lang.String |
getPattern()
Returns the Mask pattern of the Mask6cPattern instance.
|
void |
setLength(int length)
Sets the pattern length of the Mask6cPattern instance.
|
void |
setPattern(java.lang.String pattern)
Sets the Mask pattern for the instance.
|
java.lang.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(java.lang.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 java.lang.String getPattern()
public void setPattern(java.lang.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.public java.lang.String toString()
toString
in class java.lang.Object