public class CachingEnumerator<Data> extends java.lang.Object implements DataEnumerator<Data>
Constructor and Description |
---|
CachingEnumerator(DataEnumerator<Data> base,
KeyDescriptor<Data> dataDescriptor) |
Modifier and Type | Method and Description |
---|---|
int |
enumerate(Data value) |
Data |
valueOf(int idx) |
public CachingEnumerator(DataEnumerator<Data> base, KeyDescriptor<Data> dataDescriptor)
public int enumerate(Data value) throws java.io.IOException
enumerate
in interface DataEnumerator<Data>
java.io.IOException
public Data valueOf(int idx) throws java.io.IOException
valueOf
in interface DataEnumerator<Data>
java.io.IOException