public class LexerRules extends net.sf.okapi.lib.extra.AbstractParameters implements List<LexerRule>
bufferpathSIMPLIFIERRULES, SIMPLIFIERRULES_DISPLAY_NAME, SIMPLIFIERRULES_SHORT_DESC| Constructor and Description |
|---|
LexerRules() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
LexerRule element) |
boolean |
add(LexerRule o) |
boolean |
addAll(Collection<? extends LexerRule> c) |
boolean |
addAll(int index,
Collection<? extends LexerRule> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
LexerRule |
get(int index) |
LexerRule |
getRule(int lexemId)
Gets a lexer rule for the given lexem ID.
|
protected Class<? extends LexerRule> |
getRuleClass() |
boolean |
hasOutTokens() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<LexerRule> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<LexerRule> |
listIterator() |
ListIterator<LexerRule> |
listIterator(int index) |
protected void |
parameters_init() |
void |
parameters_load(ParametersString buffer) |
void |
parameters_reset() |
void |
parameters_save(ParametersString buffer) |
LexerRule |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
LexerRule |
set(int index,
LexerRule element) |
int |
size() |
List<LexerRule> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
exec, fromString, getData, getSimplifierRules, loadFromResource, loadFromResource, loadGroup, loadGroup, reset, saveGroup, saveGroup, saveToResource, saveToResource, setSimplifierRules, toString, validateSimplifierRulesfromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setStringgetParametersDescription, getPath, load, load, save, setPathprotected void parameters_init()
parameters_init in class net.sf.okapi.lib.extra.AbstractParameterspublic void parameters_reset()
parameters_reset in class net.sf.okapi.lib.extra.AbstractParameterspublic void parameters_load(ParametersString buffer)
parameters_load in class net.sf.okapi.lib.extra.AbstractParameterspublic void parameters_save(ParametersString buffer)
parameters_save in class net.sf.okapi.lib.extra.AbstractParameterspublic LexerRule getRule(int lexemId)
lexemId - ID of the rule.public boolean add(LexerRule o)
public boolean addAll(Collection<? extends LexerRule> c)
public boolean addAll(int index,
Collection<? extends LexerRule> c)
public void clear()
public boolean contains(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<LexerRule>containsAll in interface List<LexerRule>public boolean isEmpty()
public int lastIndexOf(Object o)
lastIndexOf in interface List<LexerRule>public ListIterator<LexerRule> listIterator()
listIterator in interface List<LexerRule>public ListIterator<LexerRule> listIterator(int index)
listIterator in interface List<LexerRule>public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int size()
public Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean hasOutTokens()
Copyright © 2019. All rights reserved.