Package net.hydromatic.morel.ast
Class Core.Wrapper
- java.lang.Object
-
- net.hydromatic.morel.ast.Core.Wrapper
-
- All Implemented Interfaces:
Comparable<Core.Wrapper>
- Enclosing class:
- Core
static class Core.Wrapper extends Object implements Comparable<Core.Wrapper>
Wraps a value as a Comparable, and stores the global expression from which the value was derived. That global expression will be used if the value is converted by to Morel code.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Core.Wrapper o)booleanequals(Object obj)inthashCode()private static booleanisValidValue(Core.Exp exp, Object o)StringtoString()
-
-
-
Method Detail
-
compareTo
public int compareTo(Core.Wrapper o)
- Specified by:
compareToin interfaceComparable<Core.Wrapper>
-
-