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

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

public class LowerBoundWildcardType
extends Object
implements WildcardType

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

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

Field Summary
private  Type lowerBound
           
static String PREFIX
          The prefix of the string representation.
 
Constructor Summary
LowerBoundWildcardType(Type lowerBound)
          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

lowerBound

private final Type lowerBound
See Also:
getLowerBounds()
Constructor Detail

LowerBoundWildcardType

public LowerBoundWildcardType(Type lowerBound)
The constructor.

Parameters:
lowerBound - is the single lower-bound.
Method Detail

getLowerBounds

public Type[] getLowerBounds()

Specified by:
getLowerBounds in interface WildcardType

getUpperBounds

public Type[] getUpperBounds()

Specified by:
getUpperBounds 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.