org.picocontainer
Class BindKey<T>
java.lang.Object
org.picocontainer.BindKey<T>
- All Implemented Interfaces:
- Serializable
public class BindKey<T>
- extends Object
- implements Serializable
- Author:
- Paul Hammant
- See Also:
- Serialized Form
BindKey
public BindKey(Class<T> type,
Class<? extends Annotation> annotation)
getType
public Class<T> getType()
getAnnotation
public Class<? extends Annotation> getAnnotation()
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
bindKey
public static <T> BindKey<T> bindKey(Class<T> type,
Class<? extends Annotation> annotation)
Copyright © 2003-2010 Codehaus. All Rights Reserved.