Package hydra.core
Class Projection
- java.lang.Object
-
- hydra.core.Projection
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Projection>
public class Projection extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Projection>
A record elimination; a projection- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Projection(Name typeName, Name field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Projection other)booleanequals(java.lang.Object other)inthashCode()ProjectionwithField(Name field)ProjectionwithTypeName(Name typeName)
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(Projection other)
- Specified by:
compareToin interfacejava.lang.Comparable<Projection>
-
withTypeName
public Projection withTypeName(Name typeName)
-
withField
public Projection withField(Name field)
-
-