public class Instructions extends Object implements Map<Instruction,Attrs>
| Modifier and Type | Field and Description |
|---|---|
static Instructions |
ALWAYS |
| Constructor and Description |
|---|
Instructions() |
Instructions(Collection<String> other) |
Instructions(Instructions other) |
Instructions(Parameters contained) |
Instructions(String h) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(Parameters other) |
void |
appendIfAbsent(Parameters other) |
void |
clear() |
boolean |
containsKey(Instruction name) |
boolean |
containsKey(Object name)
Deprecated.
|
boolean |
containsValue(Attrs value) |
boolean |
containsValue(Object value)
Deprecated.
|
void |
decorate(Parameters parameters)
Match the instruction against the parameters and merge the attributes if
matches.
|
void |
decorate(Parameters parameters,
boolean addLiterals)
Match the instruction against the parameters and merge the attributes if
matches.
|
Set<Map.Entry<Instruction,Attrs>> |
entrySet() |
Instruction |
finder(String value) |
Attrs |
get(Instruction key) |
Attrs |
get(Object key)
Deprecated.
|
boolean |
isEmpty() |
Set<Instruction> |
keySet() |
Instruction |
matcher(String value) |
boolean |
matches(String value) |
Attrs |
put(Instruction key,
Attrs value) |
void |
putAll(Map<? extends Instruction,? extends Attrs> map) |
<T> Collection<T> |
reject(Collection<T> set) |
Attrs |
remove(Instruction var0) |
Attrs |
remove(Object var0)
Deprecated.
|
<T> Collection<T> |
select(Collection<T> set,
boolean emptyIsAll) |
<T> Collection<T> |
select(Collection<T> set,
Set<Instruction> unused,
boolean emptyIsAll) |
Map<File,Attrs> |
select(File base)
Turn this Instructions into a map of File -> Attrs.
|
int |
size() |
String |
toString() |
Collection<Attrs> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static Instructions ALWAYS
public Instructions(Instructions other)
public Instructions(Collection<String> other)
public Instructions()
public Instructions(Parameters contained)
public Instructions(String h)
public void clear()
clear in interface Map<Instruction,Attrs>public boolean containsKey(Instruction name)
@Deprecated public boolean containsKey(Object name)
containsKey in interface Map<Instruction,Attrs>public boolean containsValue(Attrs value)
@Deprecated public boolean containsValue(Object value)
containsValue in interface Map<Instruction,Attrs>public Set<Map.Entry<Instruction,Attrs>> entrySet()
entrySet in interface Map<Instruction,Attrs>@Deprecated public Attrs get(Object key)
get in interface Map<Instruction,Attrs>public Attrs get(Instruction key)
public boolean isEmpty()
isEmpty in interface Map<Instruction,Attrs>public Set<Instruction> keySet()
keySet in interface Map<Instruction,Attrs>public Attrs put(Instruction key, Attrs value)
put in interface Map<Instruction,Attrs>public void putAll(Map<? extends Instruction,? extends Attrs> map)
putAll in interface Map<Instruction,Attrs>@Deprecated public Attrs remove(Object var0)
remove in interface Map<Instruction,Attrs>public Attrs remove(Instruction var0)
public int size()
size in interface Map<Instruction,Attrs>public Collection<Attrs> values()
values in interface Map<Instruction,Attrs>public void append(Parameters other)
public void appendIfAbsent(Parameters other)
public <T> Collection<T> select(Collection<T> set, boolean emptyIsAll)
public <T> Collection<T> select(Collection<T> set, Set<Instruction> unused, boolean emptyIsAll)
public <T> Collection<T> reject(Collection<T> set)
public Instruction matcher(String value)
public Instruction finder(String value)
public boolean matches(String value)
public Map<File,Attrs> select(File base)
base - The directory to list files from.public void decorate(Parameters parameters)
parameters - the parameters to decoratepublic void decorate(Parameters parameters, boolean addLiterals)
parameters - the parameters to decorateaddLiterals - add literals to the outputCopyright © 2021. All rights reserved.