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

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

public final class UnboundedWildcardType
extends Object
implements WildcardType

This is an implementation of the WildcardType interface for the unbounded wildcard (?).

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

Field Summary
static WildcardType INSTANCE
          The singleton instance.
static String PREFIX
          The prefix/value of the string representation.
 
Constructor Summary
private UnboundedWildcardType()
          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/value of the string representation.

See Also:
Constant Field Values

INSTANCE

public static final WildcardType INSTANCE
The singleton instance.

Constructor Detail

UnboundedWildcardType

private UnboundedWildcardType()
The constructor.

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.