|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--net.percederberg.mib.type.Type
|
+--net.percederberg.mib.type.NamedType
A class for handling type information for named types.
| Constructor Summary | |
NamedType(TypeSymbol sym)
Creates a new named type based on the given type symbol. |
|
NamedType(TypeSymbol sym,
Constraint constraint)
Creates a new named type based on the given type symbol. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Checks if this types equals any other object. |
java.lang.String |
toString()
Returns a string description of this type. |
void |
transferType(TypeConverter converter)
Transfers the type information from this type to a type converter object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NamedType(TypeSymbol sym)
sym - a type symbol
public NamedType(TypeSymbol sym,
Constraint constraint)
sym - a type symbolconstraint - the named type constraint| Method Detail |
public boolean equals(java.lang.Object obj)
equals in class Typeobj - an object
public java.lang.String toString()
toString in class Typepublic void transferType(TypeConverter converter)
transferType in class Typeconverter - a type converter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||