aQute.bnd.header
Class Parameters

java.lang.Object
  extended by aQute.bnd.header.Parameters
All Implemented Interfaces:
Map<String,Attrs>

public class Parameters
extends Object
implements Map<String,Attrs>


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Parameters()
           
Parameters(String header)
           
Parameters(String header, Reporter reporter)
           
 
Method Summary
 void add(String key, Attrs attrs)
           
 void append(StringBuilder sb)
           
 Map<String,? extends Map<String,String>> asMapMap()
           
 void clear()
           
 boolean containsKey(Object name)
          Deprecated. 
 boolean containsKey(String name)
           
 boolean containsValue(Attrs value)
           
 boolean containsValue(Object value)
          Deprecated. 
 Set<Map.Entry<String,Attrs>> entrySet()
           
 boolean equals(Object other)
          Deprecated. 
 Attrs get(Object key)
          Deprecated. 
 Attrs get(String key)
           
 int hashCode()
          Deprecated. 
 boolean isEmpty()
           
 boolean isEqual(Parameters other)
           
 Set<String> keySet()
           
 void mergeWith(Parameters other, boolean override)
          Merge all attributes of the given parameters with this
 Attrs put(String key, Attrs value)
           
 void putAll(Map<? extends String,? extends Attrs> map)
           
 void putAllIfAbsent(Map<String,? extends Attrs> map)
           
 Attrs remove(Object var0)
          Deprecated. 
 Attrs remove(String var0)
           
 int size()
           
 String toString()
           
 Collection<Attrs> values()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Parameters

public Parameters()

Parameters

public Parameters(String header)

Parameters

public Parameters(String header,
                  Reporter reporter)
Method Detail

clear

public void clear()
Specified by:
clear in interface Map<String,Attrs>

add

public void add(String key,
                Attrs attrs)

containsKey

public boolean containsKey(String name)

containsKey

@Deprecated
public boolean containsKey(Object name)
Deprecated. 

Specified by:
containsKey in interface Map<String,Attrs>

containsValue

public boolean containsValue(Attrs value)

containsValue

@Deprecated
public boolean containsValue(Object value)
Deprecated. 

Specified by:
containsValue in interface Map<String,Attrs>

entrySet

public Set<Map.Entry<String,Attrs>> entrySet()
Specified by:
entrySet in interface Map<String,Attrs>

get

@Deprecated
public Attrs get(Object key)
Deprecated. 

Specified by:
get in interface Map<String,Attrs>

get

public Attrs get(String key)

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<String,Attrs>

keySet

public Set<String> keySet()
Specified by:
keySet in interface Map<String,Attrs>

put

public Attrs put(String key,
                 Attrs value)
Specified by:
put in interface Map<String,Attrs>

putAll

public void putAll(Map<? extends String,? extends Attrs> map)
Specified by:
putAll in interface Map<String,Attrs>

putAllIfAbsent

public void putAllIfAbsent(Map<String,? extends Attrs> map)

remove

@Deprecated
public Attrs remove(Object var0)
Deprecated. 

Specified by:
remove in interface Map<String,Attrs>

remove

public Attrs remove(String var0)

size

public int size()
Specified by:
size in interface Map<String,Attrs>

values

public Collection<Attrs> values()
Specified by:
values in interface Map<String,Attrs>

toString

public String toString()
Overrides:
toString in class Object

append

public void append(StringBuilder sb)

equals

@Deprecated
public boolean equals(Object other)
Deprecated. 

Specified by:
equals in interface Map<String,Attrs>
Overrides:
equals in class Object

hashCode

@Deprecated
public int hashCode()
Deprecated. 

Specified by:
hashCode in interface Map<String,Attrs>
Overrides:
hashCode in class Object

isEqual

public boolean isEqual(Parameters other)

asMapMap

public Map<String,? extends Map<String,String>> asMapMap()

mergeWith

public void mergeWith(Parameters other,
                      boolean override)
Merge all attributes of the given parameters with this



Copyright © 2014 aQute SARL. All rights reserved.