public abstract class SymbolObjectMap<T> extends Object
Object of type T.| Modifier | Constructor and Description |
|---|---|
protected |
SymbolObjectMap() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
clear() |
abstract boolean |
contains(int cipher,
char[] chars,
int offset,
int length) |
abstract boolean |
contains(int cipher,
String symbol) |
static <T> SymbolObjectMap<T> |
createInstance() |
abstract boolean |
examineEntries(SymbolObjectVisitor<T> visitor)
Examines map entries via specified
SymbolObjectVisitor. |
abstract T |
get(int cipher,
char[] chars,
int offset,
int length) |
abstract T |
get(int cipher,
String symbol) |
abstract String |
getSymbol(char[] chars,
int offset,
int length)
Returns symbol used for specified characters or
null if not found. |
boolean |
isEmpty() |
abstract T |
put(int cipher,
char[] chars,
int offset,
int length,
T value) |
abstract T |
put(int cipher,
String symbol,
T value) |
abstract T |
remove(int cipher,
char[] chars,
int offset,
int length) |
abstract T |
remove(int cipher,
String symbol) |
abstract int |
size() |
public static <T> SymbolObjectMap<T> createInstance()
public boolean isEmpty()
public abstract int size()
public abstract String getSymbol(char[] chars, int offset, int length)
null if not found.public abstract boolean contains(int cipher,
String symbol)
public abstract boolean contains(int cipher,
char[] chars,
int offset,
int length)
public abstract T get(int cipher, char[] chars, int offset, int length)
public abstract T remove(int cipher, char[] chars, int offset, int length)
public abstract void clear()
public abstract boolean examineEntries(SymbolObjectVisitor<T> visitor)
SymbolObjectVisitor.
Returns true if not all entries were examined
(this happens when visitor.hasCapacity()
return false)
or false if all entries were examined.visitor - SymbolObjectVisitor to useCopyright © 2002–2025 Devexperts LLC. All rights reserved.