public class CodespaceRange extends Object
| Constructor and Description |
|---|
CodespaceRange(byte[] startBytes,
byte[] endBytes)
Creates a new instance of CodespaceRange.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCodeLength()
Returns the length of the codes of the codespace.
|
boolean |
isFullMatch(byte[] code,
int codeLen)
Returns true if the given number of code bytes match this codespace range.
|
boolean |
matches(byte[] code)
Returns true if the given code bytes match this codespace range.
|
public CodespaceRange(byte[] startBytes,
byte[] endBytes)
startBytes - endBytes - public int getCodeLength()
public boolean matches(byte[] code)
public boolean isFullMatch(byte[] code,
int codeLen)
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.