public class CodespaceRange extends Object
Constructor and Description |
---|
CodespaceRange()
Creates a new instance of CodespaceRange.
|
Modifier and Type | Method and 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 © 2002–2017 The Apache Software Foundation. All rights reserved.