A C D E F G H I K L M O P R S T W

A

add(K, V) - Method in class org.jvnet.hk2.component.MultiMap
Adds one more key-value pair.
addMetadata(Map<String, List<String>>, String, String) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Adds a value to the list of values associated with this key
array(Object[]) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
 

C

CacheEntry - Interface in org.glassfish.hk2.utilities.cache
This can be used to remove a specific cache entry from the cache, for better control of the caching release semantics
clazz(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
Makes a nice, pretty class (without the package name)
clone() - Method in class org.jvnet.hk2.component.MultiMap
Creates a copy of the map that contains the exact same key and value set.
collection(Collection<?>) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
 
constructor(Constructor<?>) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
Make a nice pretty string out of the constructor and all its parameters
contains(K, V) - Method in class org.jvnet.hk2.component.MultiMap
Checks if the map contains the given key(s), also extending the search to including the sub collection.
containsKey(K) - Method in class org.jvnet.hk2.component.MultiMap
Checks if the map contains the given key.
createCache(int) - Static method in class org.glassfish.hk2.utilities.cache.LRUCache
Creates a cache with the given maximum cache size

D

debug(String) - Method in class org.glassfish.hk2.utilities.reflection.Logger
Sends this message to the Debug channel (FINER level in JDK parlance)
debug(String, String, Throwable) - Method in class org.glassfish.hk2.utilities.reflection.Logger
Sends this message to the Debug channel (FINER level in JDK parlance)
deepCopyMetadata(Map<String, List<String>>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
This method does a deep copy of the incoming meta-data, (which basically means we will also make copies of the value list)

E

entrySet() - Method in class org.jvnet.hk2.component.MultiMap
Lists up all entries.
equals(Object) - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
 
equals(Object) - Method in class org.jvnet.hk2.component.MultiMap
 

F

field(Field) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
 

G

get(K) - Method in class org.glassfish.hk2.utilities.cache.internal.LRUCacheImpl
 
get(K) - Method in class org.glassfish.hk2.utilities.cache.LRUCache
Returns the value associated with the given key.
get(K) - Method in class org.jvnet.hk2.component.MultiMap
Returns the elements indexed by the provided key
getActualTypeArguments() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
 
getAdvertisedTypesFromClass(Type, Class<? extends Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Returns the set of types this class advertises
getAdvertisedTypesFromObject(Object, Class<? extends Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Returns the set of types this class advertises
getContractsFromClass(Class<?>, Class<? extends Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Returns the set of types this class advertises
getLogger() - Static method in class org.glassfish.hk2.utilities.reflection.Logger
Gets the singleton instance of the Logger
getMaxCacheSize() - Method in class org.glassfish.hk2.utilities.cache.internal.LRUCacheImpl
 
getMaxCacheSize() - Method in class org.glassfish.hk2.utilities.cache.LRUCache
Returns the maximum number of entries that will be stored in this cache
getName(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Returns the name that should be associated with this class
getOne(K) - Method in class org.jvnet.hk2.component.MultiMap
Gets the first value if any, or null.
getOwnerType() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
 
getQualifierAnnotations(AnnotatedElement) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets all the qualifier annotations from the object
getQualifiersFromClass(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets all the qualifiers from the object
getQualifiersFromObject(Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets all the qualifiers from the object
getRawClass(Type) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Given the type parameter gets the raw type represented by the type, or null if this has no associated raw class
getRawType() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
 
getScopeAnnotationFromClass(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets the scope annotation from the object
getScopeAnnotationFromObject(Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets the scope annotation from the object
getScopeFromClass(Class<?>, Class<? extends Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets the scope annotation from the object
getScopeFromObject(Object, Class<? extends Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets the scope annotation from the object
getTypeClosure(Type, Set<String>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Returns the type closure, as restricted by the classes listed in the set of contracts implemented

H

hashCode() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
 
hashCode() - Method in class org.jvnet.hk2.component.MultiMap
 

I

invoke(Object, Method, Object[]) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
This version of invoke is CCL neutral (it will return with the same CCL as what it went in with)
isAnnotationAQualifier(Annotation) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Returns true if the given annotation is a qualifier
isStatic(Member) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Returns true if the underlying member is static

K

keySet() - Method in class org.jvnet.hk2.component.MultiMap
Returns the set of keys associated with this MultiMap

L

Logger - Class in org.glassfish.hk2.utilities.reflection
A logger for HK2.
LRUCache<K,V> - Class in org.glassfish.hk2.utilities.cache
A cache that contains a certain number of entries, and whose oldest accessed entries are removed when removal is necessary.
LRUCache() - Constructor for class org.glassfish.hk2.utilities.cache.LRUCache
 
LRUCacheImpl<K,V> - Class in org.glassfish.hk2.utilities.cache.internal
The implementation of the LRUCache
LRUCacheImpl(int) - Constructor for class org.glassfish.hk2.utilities.cache.internal.LRUCacheImpl
 

M

makeMe(Constructor<?>, Object[]) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
This version of invoke is CCL neutral (it will return with the same CCL as what it went in with)
mergeAll(MultiMap<K, V>) - Method in class org.jvnet.hk2.component.MultiMap
This method merges all of the keys and values from another MultiMap into this MultiMap.
method(Method) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
Makes a nice pretty string of the method, with the method name and all parameters
MultiMap<K,V> - Class in org.jvnet.hk2.component
Map from a key to multiple values.
MultiMap() - Constructor for class org.jvnet.hk2.component.MultiMap
Creates an empty multi-map with default concurrency controls
MultiMap(MultiMap<K, V>) - Constructor for class org.jvnet.hk2.component.MultiMap
Copy constructor.

O

org.glassfish.hk2.utilities.cache - package org.glassfish.hk2.utilities.cache
 
org.glassfish.hk2.utilities.cache.internal - package org.glassfish.hk2.utilities.cache.internal
 
org.glassfish.hk2.utilities.reflection - package org.glassfish.hk2.utilities.reflection
 
org.jvnet.hk2.component - package org.jvnet.hk2.component
 

P

ParameterizedTypeImpl - Class in org.glassfish.hk2.utilities.reflection
 
ParameterizedTypeImpl(Type, Type...) - Constructor for class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
A new parameterized type
Pretty - Class in org.glassfish.hk2.utilities.reflection
 
Pretty() - Constructor for class org.glassfish.hk2.utilities.reflection.Pretty
 
printThrowable(Throwable) - Static method in class org.glassfish.hk2.utilities.reflection.Logger
Prints a throwable to stdout
pType(ParameterizedType) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
Prints a pretty parameterized type
put(K, V) - Method in class org.glassfish.hk2.utilities.cache.internal.LRUCacheImpl
 
put(K, V) - Method in class org.glassfish.hk2.utilities.cache.LRUCache
Adds the given key and value pair into the cache

R

readMetadataMap(String, Map<String, List<String>>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Writes a set in a way that can be read from an input stream as well
readSet(String, Collection<String>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Writes a set in a way that can be read from an input stream as well.
ReflectionHelper - Class in org.glassfish.hk2.utilities.reflection
 
ReflectionHelper() - Constructor for class org.glassfish.hk2.utilities.reflection.ReflectionHelper
 
releaseCache() - Method in class org.glassfish.hk2.utilities.cache.internal.LRUCacheImpl
 
releaseCache() - Method in class org.glassfish.hk2.utilities.cache.LRUCache
Clears all entries in the cache, for use when a known event makes the cache incorrect
remove(K) - Method in class org.jvnet.hk2.component.MultiMap
Removes an key value from the map
remove(K, V) - Method in class org.jvnet.hk2.component.MultiMap
Removes an key value pair from the map.
removeAllMetadata(Map<String, List<String>>, String) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Removes all the metadata values associated with key
removeFromCache() - Method in interface org.glassfish.hk2.utilities.cache.CacheEntry
Call this method on this entry to remove it from the LRUCache.
removeMetadata(Map<String, List<String>>, String, String) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Removes the given value from the given key

S

set(K, Collection<? extends V>) - Method in class org.jvnet.hk2.component.MultiMap
Replaces all the existing values associated with the key by the given value.
set(K, V) - Method in class org.jvnet.hk2.component.MultiMap
Replaces all the existing values associated with the key by the given single value.
setContextClassLoader(Thread, ClassLoader) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Sets the context classloader under the privileged of this class
setField(Field, Object, Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Sets the given field to the given value
size() - Method in class org.jvnet.hk2.component.MultiMap
Returns the size of the map.

T

toCommaSeparatedString() - Method in class org.jvnet.hk2.component.MultiMap
 
toString() - Method in class org.glassfish.hk2.utilities.cache.internal.LRUCacheImpl
 
toString() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
 
toString() - Method in class org.jvnet.hk2.component.MultiMap
 
type(Type) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
 

W

writeMetadata(Map<String, List<String>>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Used to write the metadata out
writeSet(Set<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Writes a set in a way that can be read from an input stream as well

A C D E F G H I K L M O P R S T W

Copyright © 2013 Oracle Corporation. All Rights Reserved.