Package aQute.bnd.osgi
Class Packages
- java.lang.Object
-
- aQute.bnd.osgi.Packages
-
- All Implemented Interfaces:
java.util.Map<Descriptors.PackageRef,Attrs>
public class Packages extends java.lang.Object implements java.util.Map<Descriptors.PackageRef,Attrs>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Packages.QUERY
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
append(java.lang.StringBuilder sb)
void
clear()
boolean
containsBinaryName(java.lang.String s)
boolean
containsFQN(java.lang.String s)
boolean
containsKey(Descriptors.PackageRef name)
boolean
containsKey(java.lang.Object name)
Deprecated.boolean
containsValue(Attrs value)
boolean
containsValue(java.lang.Object value)
Deprecated.Packages
dup()
java.util.Set<java.util.Map.Entry<Descriptors.PackageRef,Attrs>>
entrySet()
boolean
equals(java.lang.Object other)
Deprecated.Attrs
get(Descriptors.PackageRef key)
Attrs
get(Descriptors.PackageRef packageRef, Attrs deflt)
Attrs
get(java.lang.Object key)
Deprecated.Attrs
getByBinaryName(java.lang.String s)
Attrs
getByFQN(java.lang.String s)
int
hashCode()
Deprecated.boolean
isEmpty()
java.util.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(java.util.Map<? extends Descriptors.PackageRef,? extends Attrs> map)
void
putAllIfAbsent(java.util.Map<Descriptors.PackageRef,? extends Attrs> map)
Attrs
remove(Descriptors.PackageRef var0)
Attrs
remove(java.lang.Object var0)
Deprecated.int
size()
aQute.bnd.stream.MapStream<Descriptors.PackageRef,Attrs>
stream()
java.lang.String
toString()
java.util.Collection<Attrs>
values()
-
-
-
Constructor Detail
-
Packages
public Packages(Packages other)
-
Packages
public Packages()
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clear
in interfacejava.util.Map<Descriptors.PackageRef,Attrs>
-
containsKey
public boolean containsKey(Descriptors.PackageRef name)
-
containsKey
@Deprecated public boolean containsKey(java.lang.Object name)
Deprecated.- Specified by:
containsKey
in interfacejava.util.Map<Descriptors.PackageRef,Attrs>
-
containsValue
public boolean containsValue(Attrs value)
-
containsValue
@Deprecated public boolean containsValue(java.lang.Object value)
Deprecated.- Specified by:
containsValue
in interfacejava.util.Map<Descriptors.PackageRef,Attrs>
-
entrySet
public java.util.Set<java.util.Map.Entry<Descriptors.PackageRef,Attrs>> entrySet()
- Specified by:
entrySet
in interfacejava.util.Map<Descriptors.PackageRef,Attrs>
-
stream
public aQute.bnd.stream.MapStream<Descriptors.PackageRef,Attrs> stream()
-
get
@Deprecated public Attrs get(java.lang.Object key)
Deprecated.- Specified by:
get
in interfacejava.util.Map<Descriptors.PackageRef,Attrs>
-
get
public Attrs get(Descriptors.PackageRef key)
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacejava.util.Map<Descriptors.PackageRef,Attrs>
-
keySet
public java.util.Set<Descriptors.PackageRef> keySet()
- Specified by:
keySet
in interfacejava.util.Map<Descriptors.PackageRef,Attrs>
-
put
public Attrs put(Descriptors.PackageRef ref)
-
put
public Attrs put(Descriptors.PackageRef key, Attrs value)
- Specified by:
put
in interfacejava.util.Map<Descriptors.PackageRef,Attrs>
-
putAll
public void putAll(java.util.Map<? extends Descriptors.PackageRef,? extends Attrs> map)
- Specified by:
putAll
in interfacejava.util.Map<Descriptors.PackageRef,Attrs>
-
putAllIfAbsent
public void putAllIfAbsent(java.util.Map<Descriptors.PackageRef,? extends Attrs> map)
-
remove
@Deprecated public Attrs remove(java.lang.Object var0)
Deprecated.- Specified by:
remove
in interfacejava.util.Map<Descriptors.PackageRef,Attrs>
-
remove
public Attrs remove(Descriptors.PackageRef var0)
-
size
public int size()
- Specified by:
size
in interfacejava.util.Map<Descriptors.PackageRef,Attrs>
-
values
public java.util.Collection<Attrs> values()
- Specified by:
values
in interfacejava.util.Map<Descriptors.PackageRef,Attrs>
-
getByFQN
public Attrs getByFQN(java.lang.String s)
-
getByBinaryName
public Attrs getByBinaryName(java.lang.String s)
-
containsFQN
public boolean containsFQN(java.lang.String s)
-
containsBinaryName
public boolean containsBinaryName(java.lang.String s)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
append
public void append(java.lang.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(java.lang.Object other)
Deprecated.- Specified by:
equals
in interfacejava.util.Map<Descriptors.PackageRef,Attrs>
- Overrides:
equals
in classjava.lang.Object
-
hashCode
@Deprecated public int hashCode()
Deprecated.- Specified by:
hashCode
in interfacejava.util.Map<Descriptors.PackageRef,Attrs>
- Overrides:
hashCode
in classjava.lang.Object
-
dup
public Packages dup()
-
-