org.jvnet.hk2.internal
Class CacheKey
java.lang.Object
org.jvnet.hk2.internal.CacheKey
public class CacheKey
- extends Object
This is the cache key, which encapsulates very specific lookup queries.
The point of this is to be useable as the key in a hash map, so that
equals and hashCode must work properly
- Author:
- jwells
CacheKey
public CacheKey(Type lookupType,
String name,
Annotation... qualifiers)
safeEquals
public static boolean safeEquals(Object a,
Object b)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012 Oracle Corporation. All Rights Reserved.