jp.develop.common.util.amf.beans
Class WildcardTypeImpl

java.lang.Object
  extended by jp.develop.common.util.amf.beans.WildcardTypeImpl
All Implemented Interfaces:
Type, WildcardType

public class WildcardTypeImpl
extends Object
implements WildcardType

Implementation of WildcardType interface. Maybe, compatible with Java original implementation.

Author:
Waki Takeya
See Also:
WildcardType

Constructor Summary
WildcardTypeImpl(Type[] upperBounds, Type[] lowerBounds)
          Constructs a instance.
 
Method Summary
 boolean equals(Object obj)
           
 Type[] getLowerBounds()
          
 Type[] getUpperBounds()
          
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WildcardTypeImpl

public WildcardTypeImpl(Type[] upperBounds,
                        Type[] lowerBounds)
Constructs a instance.

Parameters:
upperBounds - Upper bounds.
lowerBounds - Lower bounds.
Method Detail

getUpperBounds

public Type[] getUpperBounds()

Specified by:
getUpperBounds in interface WildcardType

getLowerBounds

public Type[] getLowerBounds()

Specified by:
getLowerBounds in interface WildcardType

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object