net.sf.mmm.util.reflect.impl
Class UpperBoundWildcardType

java.lang.Object
  extended by net.sf.mmm.util.reflect.impl.UpperBoundWildcardType
All Implemented Interfaces:
Type, WildcardType

public class UpperBoundWildcardType
extends Object
implements WildcardType

This is an implementation of the WildcardType interface for a single upper bound.

Since:
1.0.1
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)
See Also:
ReflectionUtilImpl.toType(String)

Field Summary
static String PREFIX
          The prefix of the string representation.
private  Type upperBound
           
 
Constructor Summary
UpperBoundWildcardType(Type upperBound)
          The constructor.
 
Method Summary
 boolean equals(Object other)
          
 Type[] getLowerBounds()
          
 Type[] getUpperBounds()
          
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PREFIX

public static final String PREFIX
The prefix of the string representation.

See Also:
Constant Field Values

upperBound

private final Type upperBound
See Also:
getUpperBounds()
Constructor Detail

UpperBoundWildcardType

public UpperBoundWildcardType(Type upperBound)
The constructor.

Parameters:
upperBound - is the single upper-bound.
Method Detail

getUpperBounds

public Type[] getUpperBounds()

Specified by:
getUpperBounds in interface WildcardType

getLowerBounds

public Type[] getLowerBounds()

Specified by:
getLowerBounds in interface WildcardType

equals

public boolean equals(Object other)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2001-2010 mmm-Team. All Rights Reserved.