public class TuplePartIdImpl extends Object implements TuplePartId, WeakHashMapOfListOfWeakReference4.MatchableId<Integer,String,TypeId>
ElementId.ElementIdComparator
Constructor and Description |
---|
TuplePartIdImpl(IdManager idManager,
Integer hashCode,
int index,
String name,
TypeId typeId) |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(IdVisitor<R> visitor) |
int |
compareTo(TuplePartId o) |
boolean |
equals(Object obj) |
String |
getDisplayName()
Return a simple name for diagnostics.
|
int |
getIndex() |
String |
getName() |
TypeId |
getTypeId() |
int |
hashCode() |
boolean |
matches(Integer thatIndex,
String thatName,
TypeId thatTypeid) |
String |
toString() |
public int compareTo(TuplePartId o)
compareTo
in interface Comparable<TuplePartId>
public String getDisplayName()
ElementId
getDisplayName
in interface ElementId
public int getIndex()
getIndex
in interface TuplePartId
public String getName()
getName
in interface TuplePartId
getName
in interface Nameable
public TypeId getTypeId()
getTypeId
in interface TuplePartId
public boolean matches(Integer thatIndex, String thatName, TypeId thatTypeid)
matches
in interface WeakHashMapOfListOfWeakReference4.MatchableId<Integer,String,TypeId>
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.