| Modifier and Type | Method and Description |
|---|---|
Object |
at(T obj,
int key)
index with integer key
|
default Object |
at(T obj,
Object key)
Get the value for the list for map.
|
void |
set(T obj,
int key,
Object v)
index with integer key
|
default void |
set(T obj,
Object key,
Object v)
Set the list for map at the key with the value.
|
default boolean |
supportsKey(Object key)
To test whether the key is allowed by the list or map.
|
default boolean supportsKey(Object key)
supportsKey in interface Indexer<T>key - the keydefault void set(T obj, Object key, Object v) throws Throwable
Object at(T obj, int key) throws Throwable
ThrowableIndexer.at(Object, Object)void set(T obj, int key, Object v) throws Throwable
ThrowableIndexer.set(Object, Object, Object)