org.jboss.lang.reflect
Class WildcardTypeImpl
java.lang.Object
org.jboss.lang.reflect.WildcardTypeImpl
- All Implemented Interfaces:
- WildcardType
public class WildcardTypeImpl
- extends Object
- implements WildcardType
- Version:
- $Revision: 1.1 $
- Author:
- Paul Gier
WildcardTypeImpl
public WildcardTypeImpl(Object bound,
char kind)
- Create a new wildcard type
- Parameters:
bound
- - The upper or lower bound depending on the kindkind
- - Kind can be either '*' (wildcard), '+' (upper-bound), or '-' (lower-bound)
getLowerBounds
public Object[] getLowerBounds()
- Specified by:
getLowerBounds
in interface WildcardType
getUpperBounds
public Object[] getUpperBounds()
- Specified by:
getUpperBounds
in interface WildcardType
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2005-2007 JBoss, a division of Red Hat, Inc. All Rights Reserved.