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 TypeMethodDescriptionvoidbooleanvoidappend(StringBuilder sb) asMapMap()voidclear()booleancontainsKey(Object name) Deprecated.booleancontainsKey(String name) booleancontainsValue(Attrs value) booleancontainsValue(Object value) Deprecated.entrySet()booleanDeprecated.Deprecated.inthashCode()Deprecated.booleanisEmpty()booleanisEqual(Parameters other) keyList()keySet()voidmergeWith(Parameters other, boolean override) Merge all attributes of the given parameters with thisvoidvoidputAllIfAbsent(Map<? extends String, ? extends Attrs> map) Deprecated.intsize()stream()toBasic()static Collector<String, Parameters, Parameters> toString()values()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
containsKeyin interfaceMap<String,Attrs>
-
containsValue
-
containsValue
Deprecated.- Specified by:
containsValuein 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
-