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) |
Modifier and Type | Method and Description |
---|---|
void |
addNext(SimpleTypedNameDeclaration next) |
boolean |
equals(Object obj) |
Class<?> |
getType() |
String |
getTypeImage() |
int |
hashCode() |
String |
toString() |
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 TypedNameDeclaration
public Class<?> getType()
getType
in interface TypedNameDeclaration
public boolean equals(Object obj)
Additionally - two SimpleTypedNameDeclaration
are equal, if they
contain types, that can be cast into each other.
Copyright © 2002–2017 InfoEther. All rights reserved.