ECIInput class abstract
Interface to navigate a sequence of ECIs and bytes.
@author Alex Geller
- Implementers
Constructors
- ECIInput()
Properties
Methods
-
charAt(
int index) → int -
Returns the
byte
value at the specified index. An index ranges from zero tolength() - 1
. The firstbyte
value of the sequence is at index zero, the next at index one, and so on, as for array indexing. -
getECIValue(
int index) → int -
Returns the
int
ECI value at the specified index. An index ranges from zero tolength() - 1
. The firstbyte
value of the sequence is at index zero, the next at index one, and so on, as for array indexing. -
haveNCharacters(
int index, int n) → bool -
isECI(
int index) → bool - Determines if a value is an ECI
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subSequence(
int start, int end) → String -
Returns a
String
that is a subsequence of this sequence. The subsequence starts with thechar
value at the specified index and ends with thechar
value at indexend - 1
. The length (inchar
s) of the returned sequence isend - start
, so ifstart == end
then an empty sequence is returned. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited