public class ProgramSVEntry
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private SchemaVariable |
key
the SchemaVariable
|
private static long |
serialVersionUID |
private JavaProgramElement |
value
the JavaProgramElement
|
| Constructor and Description |
|---|
ProgramSVEntry(SchemaVariable key,
JavaProgramElement value)
creates a new entry encapsulating the SchemaVariable key and its
JavaProgramElement instantiation value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
returns true iff the keys and the mapped values are equal
|
int |
hashCode() |
SchemaVariable |
key()
returns the SchemaVariable to be instantiated
|
java.lang.String |
toString()
toString
|
JavaProgramElement |
value()
returns the instantiation of the SchemaVariable
|
private static final long serialVersionUID
private SchemaVariable key
private JavaProgramElement value
public ProgramSVEntry(SchemaVariable key, JavaProgramElement value)
key - the SchemaVariable that is instantiatedvalue - the JavaProgramElementpublic SchemaVariable key()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic JavaProgramElement value()
public java.lang.String toString()
toString in class java.lang.Object