Package aQute.bnd.header
Class Parameters
java.lang.Object
aQute.bnd.header.Parameters
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionParameters
(boolean allowDuplicateAttributes) Parameters
(String header) Parameters
(String header, aQute.service.reporter.Reporter reporter) Parameters
(String header, aQute.service.reporter.Reporter reporter, boolean duplicates) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
void
append
(StringBuilder sb) asMapMap()
void
clear()
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) 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.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
-
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
-
equals
Deprecated. -
hashCode
Deprecated. -
isEqual
-
asMapMap
-
mergeWith
Merge all attributes of the given parameters with this -
allowDuplicateAttributes
public boolean allowDuplicateAttributes() -
toParameters
-
toBasic
-