Class IntegerConstantType

java.lang.Object
net.covers1624.coffeegrinder.type.AType
net.covers1624.coffeegrinder.type.IntegerConstantType

public class IntegerConstantType extends AType
Created by covers1624 on 23/7/21.
  • Constructor Details

    • IntegerConstantType

      public IntegerConstantType(int value)
  • Method Details

    • getValue

      public int getValue()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toIdentifierString

      public String toIdentifierString()
      Specified by:
      toIdentifierString in class AType
      Returns:
      A simple non-recursive 'identifier' for this type
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object