com.unitech.lib.uhf.params

## Class Mask6cPattern

- java.lang.Object
- - com.unitech.lib.uhf.params.Mask6cPattern

-     public class Mask6cPattern
      extends Object

  The Mask6cPattern class is a class that represents the Mask Pattern of a Selection Mask in terms of pattern and length.

- - ### Constructor Summary

    Constructors
    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.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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]

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Mask6cPattern

          public Mask6cPattern()

      Create an instance of the Mask6cPattern class.

    - #### Mask6cPattern

          public Mask6cPattern(<any> value)

      Create an instance of the Mask6cPattern class.
      Parameters:
        `value` - An instance of the class Pair representing the Hex type string and length of the Mask pattern.

    - #### Mask6cPattern

          public Mask6cPattern(String pattern,
                               int length)

      Create an instance of the Mask6cPattern class.
      Parameters:
        `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.

  - ### Method Detail

    - #### getPattern

          public String getPattern()

      Returns the Mask pattern of the Mask6cPattern instance.
      Returns:
        An Hex type string representing a mask pattern.

    - #### setPattern

          public void setPattern(String pattern)

      Sets the Mask pattern for the instance.
      Parameters:
        `pattern` - An Hex type string representing a mask pattern.

    - #### getLength

          public int getLength()

      Returns the pattern length of the Mask6cPattern instance.
      Returns:
        An integer representing the length of the pattern. The length of the pattern is in bits.

    - #### setLength

          public void setLength(int length)

      Sets the pattern length of the Mask6cPattern instance.
      Parameters:
        `length` - An integer representing the length of the pattern. The length of the pattern is in bits.

    - #### toString

          public String toString()

      Return the Mask6cPattern information with format: [Pattern], [Length]
      Overrides:
        `toString` in class `Object`
      Returns:
        The Mask6cPattern information