javax.enterprise.util
Class TypeLiteral<T>

java.lang.Object
  extended by javax.enterprise.util.TypeLiteral<T>
Type Parameters:
T - wrapped type
All Implemented Interfaces:
Serializable

public abstract class TypeLiteral<T>
extends Object
implements Serializable

Type literal implementation.

Version:
$Rev: 905874 $ $Date: 2010-02-03 04:01:05 +0100 (Wed, 03 Feb 2010) $
See Also:
Serialized Form

Constructor Summary
protected TypeLiteral()
           
 
Method Summary
 boolean equals(Object obj)
           
 Class<T> getRawType()
           
 Type getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeLiteral

protected TypeLiteral()
Method Detail

getType

public final Type getType()

getRawType

public final Class<T> getRawType()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.