public class SimpleTypedNameDeclaration extends Object implements TypedNameDeclaration
| Constructor and Description |
|---|
SimpleTypedNameDeclaration(String typeImage,
Class<?> type)
Creates a new
SimpleTypedNameDeclaration with the given type |
SimpleTypedNameDeclaration(String typeImage,
Class<?> type,
SimpleTypedNameDeclaration next) |
public SimpleTypedNameDeclaration(String typeImage, Class<?> type)
SimpleTypedNameDeclaration with the given typetypeImage - the type imagetype - the actual typepublic SimpleTypedNameDeclaration(String typeImage, Class<?> type, SimpleTypedNameDeclaration next)
public void addNext(SimpleTypedNameDeclaration next)
public String getTypeImage()
getTypeImage in interface TypedNameDeclarationpublic Class<?> getType()
getType in interface TypedNameDeclarationpublic boolean equals(Object obj)
Additionally - two SimpleTypedNameDeclaration are equal, if
they contain types, that can be cast into each other.
Copyright © 2002-2014 InfoEther. All Rights Reserved.