aQute.bnd.osgi
Class Packages

java.lang.Object
  extended by aQute.bnd.osgi.Packages
All Implemented Interfaces:
Map<Descriptors.PackageRef,Attrs>

public class Packages
extends Object
implements Map<Descriptors.PackageRef,Attrs>


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Packages()
           
Packages(Packages other)
           
 
Method Summary
 void append(StringBuilder sb)
           
 void clear()
           
 boolean containsBinaryName(String s)
           
 boolean containsFQN(String s)
           
 boolean containsKey(Descriptors.PackageRef name)
           
 boolean containsKey(Object name)
          Deprecated. 
 boolean containsValue(Attrs value)
           
 boolean containsValue(Object value)
          Deprecated. 
 Set<Map.Entry<Descriptors.PackageRef,Attrs>> entrySet()
           
 boolean equals(Object other)
          Deprecated. 
 Attrs get(Descriptors.PackageRef key)
           
 Attrs get(Descriptors.PackageRef packageRef, Attrs deflt)
           
 Attrs get(Object key)
          Deprecated. 
 Attrs getByBinaryName(String s)
           
 Attrs getByFQN(String s)
           
 int hashCode()
          Deprecated. 
 boolean isEmpty()
           
 Set<Descriptors.PackageRef> keySet()
           
 void merge(Descriptors.PackageRef ref, boolean unique, Attrs... attrs)
           
 Attrs put(Descriptors.PackageRef ref)
           
 Attrs put(Descriptors.PackageRef key, Attrs value)
           
 void putAll(Map<? extends Descriptors.PackageRef,? extends Attrs> map)
           
 void putAllIfAbsent(Map<Descriptors.PackageRef,? extends Attrs> map)
           
 Attrs remove(Descriptors.PackageRef var0)
           
 Attrs remove(Object var0)
          Deprecated. 
 int size()
           
 String toString()
           
 Collection<Attrs> values()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Packages

public Packages(Packages other)

Packages

public Packages()
Method Detail

clear

public void clear()
Specified by:
clear in interface Map<Descriptors.PackageRef,Attrs>

containsKey

public boolean containsKey(Descriptors.PackageRef name)

containsKey

@Deprecated
public boolean containsKey(Object name)
Deprecated. 

Specified by:
containsKey in interface Map<Descriptors.PackageRef,Attrs>

containsValue

public boolean containsValue(Attrs value)

containsValue

@Deprecated
public boolean containsValue(Object value)
Deprecated. 

Specified by:
containsValue in interface Map<Descriptors.PackageRef,Attrs>

entrySet

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

get

@Deprecated
public Attrs get(Object key)
Deprecated. 

Specified by:
get in interface Map<Descriptors.PackageRef,Attrs>

get

public Attrs get(Descriptors.PackageRef key)

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<Descriptors.PackageRef,Attrs>

keySet

public Set<Descriptors.PackageRef> keySet()
Specified by:
keySet in interface Map<Descriptors.PackageRef,Attrs>

put

public Attrs put(Descriptors.PackageRef ref)

put

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

putAll

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

putAllIfAbsent

public void putAllIfAbsent(Map<Descriptors.PackageRef,? extends Attrs> map)

remove

@Deprecated
public Attrs remove(Object var0)
Deprecated. 

Specified by:
remove in interface Map<Descriptors.PackageRef,Attrs>

remove

public Attrs remove(Descriptors.PackageRef var0)

size

public int size()
Specified by:
size in interface Map<Descriptors.PackageRef,Attrs>

values

public Collection<Attrs> values()
Specified by:
values in interface Map<Descriptors.PackageRef,Attrs>

getByFQN

public Attrs getByFQN(String s)

getByBinaryName

public Attrs getByBinaryName(String s)

containsFQN

public boolean containsFQN(String s)

containsBinaryName

public boolean containsBinaryName(String s)

toString

public String toString()
Overrides:
toString in class Object

append

public void append(StringBuilder sb)

merge

public void merge(Descriptors.PackageRef ref,
                  boolean unique,
                  Attrs... attrs)

get

public Attrs get(Descriptors.PackageRef packageRef,
                 Attrs deflt)

equals

@Deprecated
public boolean equals(Object other)
Deprecated. 

Specified by:
equals in interface Map<Descriptors.PackageRef,Attrs>
Overrides:
equals in class Object

hashCode

@Deprecated
public int hashCode()
Deprecated. 

Specified by:
hashCode in interface Map<Descriptors.PackageRef,Attrs>
Overrides:
hashCode in class Object


Copyright © 2014 aQute SARL. All rights reserved.