K
- key typeR
- record typepublic abstract class MapBase<K extends java.lang.Comparable<K>,R>
extends java.lang.Object
implements java.util.Map<K,R>
Modifier and Type | Class and Description |
---|---|
static class |
MapBase.IsamEntry<EK,EV>
Class IsamEntry is an entry in IsamMap.
|
protected static interface |
MapBase.RecordHandler<K,R> |
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class<R> |
recordClass |
protected IsamSource |
src |
Constructor and Description |
---|
MapBase() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
all(MapBase.RecordHandler<K,R> h) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<K,R>> |
entrySet() |
protected K |
getKey(R rec) |
protected K |
getKey(R rec,
int ix) |
protected int |
keyNameToIndex(java.lang.String keynam) |
java.util.Set<K> |
keySet() |
int |
size() |
java.util.Collection<R> |
values() |
protected IsamSource src
protected java.lang.Class<R> recordClass
protected int keyNameToIndex(java.lang.String keynam) throws IsamException
IsamException
protected abstract void all(MapBase.RecordHandler<K,R> h)
protected K getKey(R rec) throws IsamException
IsamException
protected K getKey(R rec, int ix) throws IsamException
IsamException
public int size()
public boolean containsValue(java.lang.Object value)
public java.util.Set<K> keySet()
public java.util.Collection<R> values()