Package aQute.bnd.header
Class Parameters
java.lang.Object
aQute.bnd.header.Parameters
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
-
Constructor Summary
ConstructorsConstructorDescriptionParameters
(boolean allowDuplicateAttributes) Parameters
(String header) Parameters
(String header, Reporter reporter) Parameters
(String header, Reporter reporter, boolean duplicates) -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
accumulator
(Parameters p, String s) void
boolean
void
append
(StringBuilder sb) asMapMap()
void
clear()
private static Parameters
combiner
(Parameters t, Parameters u) boolean
containsKey
(Object name) Deprecated.boolean
containsKey
(String name) boolean
containsValue
(Attrs value) boolean
containsValue
(Object value) Deprecated.entrySet()
boolean
Deprecated.Deprecated.int
hashCode()
Deprecated.boolean
isEmpty()
boolean
isEqual
(Parameters other) private static int
keyList()
keySet()
void
mergeWith
(Parameters other, boolean override) Merge all attributes of the given parameters with thisvoid
void
putAllIfAbsent
(Map<String, ? extends Attrs> map) Deprecated.private static String
int
size()
stream()
toBasic()
static Collector<String,
Parameters, Parameters> toString()
values()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
map
-
allowDuplicateAttributes
private final boolean allowDuplicateAttributes
-
-
Constructor Details
-
Parameters
public Parameters(boolean allowDuplicateAttributes) -
Parameters
public Parameters() -
Parameters
-
Parameters
-
Parameters
-
Parameters
-
-
Method Details
-
clear
public void clear() -
add
-
containsKey
-
containsKey
Deprecated.- Specified by:
containsKey
in interfaceMap<String,
Attrs>
-
containsValue
-
containsValue
Deprecated.- Specified by:
containsValue
in interfaceMap<String,
Attrs>
-
entrySet
-
stream
-
get
Deprecated. -
get
-
isEmpty
public boolean isEmpty() -
keySet
-
keyList
-
put
-
putAll
-
putAllIfAbsent
-
remove
Deprecated. -
remove
-
size
public int size() -
values
-
toString
-
append
-
removeDuplicateMarker
-
keyLength
-
equals
Deprecated. -
hashCode
Deprecated. -
isEqual
-
asMapMap
-
mergeWith
Merge all attributes of the given parameters with this -
allowDuplicateAttributes
public boolean allowDuplicateAttributes() -
toParameters
-
accumulator
-
combiner
-
toBasic
-