public class CodespaceRange extends Object
| Constructor and Description |
|---|
CodespaceRange()
Creates a new instance of CodespaceRange.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getEnd()
Getter for property end.
|
byte[] |
getStart()
Getter for property start.
|
boolean |
isFullMatch(List<Byte> code)
Returns true if the given code bytes match this codespace range.
|
boolean |
isPartialMatch(byte b,
int index)
Returns true if the given byte matches the byte at the given index of this codespace range.
|
boolean |
matches(byte[] code)
Returns true if the given code bytes match this codespace range.
|
public byte[] getEnd()
public byte[] getStart()
public boolean matches(byte[] code)
public boolean isFullMatch(List<Byte> code)
public boolean isPartialMatch(byte b,
int index)
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.