public class StringToIntMapper<S extends Enum<S> & IntCounter> extends Object
Constructor and Description |
---|
StringToIntMapper(Class<S> clazz) |
Modifier and Type | Method and Description |
---|---|
void |
dump(Path file) |
void |
dump(Writer writer) |
String |
getId(S subset,
int num) |
int |
getInt(S subset,
String id) |
boolean |
isMapped(S subset,
String id) |
boolean |
isModified() |
void |
load(BufferedReader reader) |
void |
load(Path file) |
int |
newInt(S subset,
String id) |
void |
reset(S subset) |
public boolean isModified()
public void dump(Writer writer) throws IOException
IOException
public void dump(Path file) throws IOException
IOException
public void load(BufferedReader reader) throws IOException
IOException
public void load(Path file) throws IOException
IOException
public void reset(S subset)
Copyright © 2020. All rights reserved.