Class CodespaceRange


  • public class CodespaceRange
    extends Object
    This represents a single entry in the codespace range.
    • Constructor Detail

      • CodespaceRange

        public CodespaceRange()
        Creates a new instance of CodespaceRange.
    • Method Detail

      • getEnd

        public byte[] getEnd()
        Getter for property end.
        Returns:
        Value of property end.
      • getStart

        public byte[] getStart()
        Getter for property start.
        Returns:
        Value of property start.
      • matches

        public boolean matches​(byte[] code)
        Returns true if the given code bytes match this codespace range.
      • isFullMatch

        public boolean isFullMatch​(List<Byte> code)
        Returns true if the given code bytes match this codespace range.
      • isPartialMatch

        public boolean isPartialMatch​(byte b,
                                      int index)
        Returns true if the given byte matches the byte at the given index of this codespace range.