Enum Class ConceptualAccess.OrderingKind
java.lang.Object
java.lang.Enum<ConceptualAccess.OrderingKind>
org.ek9lang.compiler.support.ConceptualAccess.OrderingKind
- All Implemented Interfaces:
Serializable, Comparable<ConceptualAccess.OrderingKind>, Constable
- Enclosing class:
ConceptualAccess
How the generic's body asks a type built on its type parameters to order, which decides the verdict where the
parameters are replaced: exactly the one the same type gets when it is written directly (phase 5's
RetractedComparatorUseOrError).-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA natural-orderPriorityQueue of type-NaturalOrderQueue.problemWith(ISymbol, ISymbol).A use that needs<=>without naming an operator call: a comparator-lesssort,<?>?,x in a ... b, aforrange -Sameness.orderingWithdrawn(IAggregateSymbol, ISymbol).An ordering operator written as a call (first < second,case < limit) - the operator the replaced type resolves it to is one that is not generated (Sameness.isUnavailableOrdering(MethodSymbol, ISymbol)). -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ConceptualAccess.OrderingKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEEDS_ORDERING
A use that needs<=>without naming an operator call: a comparator-lesssort,<?>?,x in a ... b, aforrange -Sameness.orderingWithdrawn(IAggregateSymbol, ISymbol). -
NATURAL_ORDER_QUEUE
A natural-orderPriorityQueue of type-NaturalOrderQueue.problemWith(ISymbol, ISymbol). -
OPERATOR_CALL
An ordering operator written as a call (first < second,case < limit) - the operator the replaced type resolves it to is one that is not generated (Sameness.isUnavailableOrdering(MethodSymbol, ISymbol)).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-