public class CodespaceRange
extends java.lang.Object
Constructor | Description |
---|---|
CodespaceRange() |
Creates a new instance of CodespaceRange.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getCodeLength() |
Returns the length of the codes of the codespace.
|
byte[] |
getEnd() |
Getter for property end.
|
byte[] |
getStart() |
Getter for property start.
|
boolean |
isFullMatch(byte[] code,
int codeLen) |
Returns true if the given code bytes match this codespace range.
|
boolean |
matches(byte[] code) |
Returns true if the given code bytes match this codespace range.
|
public int getCodeLength()
public byte[] getEnd()
public byte[] getStart()
public boolean matches(byte[] code)
public boolean isFullMatch(byte[] code, int codeLen)
Copyright © 2008–2018. All rights reserved.