java.lang.Object
java.lang.Enum<AlgebraicOperation>
net.demilich.metastone.game.spells.desc.valueprovider.AlgebraicOperation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AlgebraicOperation>, java.lang.constant.Constable

public enum AlgebraicOperation
extends java.lang.Enum<AlgebraicOperation>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    ADD  
    DIVIDE  
    DIVIDE_ROUNDED  
    MAXIMUM  
    MINIMUM  
    MODULO  
    MULTIPLY  
    NEGATE  
    POWER  
    SET  
    SUBTRACT  
  • Method Summary

    Modifier and Type Method Description
    int performOperation​(int num1, int num2)  
    static AlgebraicOperation valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static AlgebraicOperation[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait