it.geosolutions.jaiext.algebra
Enum AlgebraDescriptor.Operator

java.lang.Object
  extended by java.lang.Enum<AlgebraDescriptor.Operator>
      extended by it.geosolutions.jaiext.algebra.AlgebraDescriptor.Operator
All Implemented Interfaces:
Serializable, Comparable<AlgebraDescriptor.Operator>
Enclosing class:
AlgebraDescriptor

public static enum AlgebraDescriptor.Operator
extends Enum<AlgebraDescriptor.Operator>


Enum Constant Summary
DIVIDE
           
MULTIPLY
           
SUBTRACT
           
SUM
           
 
Field Summary
protected  double nullValue
           
 
Method Summary
abstract  byte calculate(byte... values)
           
abstract  byte calculate(byte value0, byte value1)
           
abstract  double calculate(double... values)
           
abstract  double calculate(double value0, double value1)
           
abstract  float calculate(float... values)
           
abstract  float calculate(float value0, float value1)
           
abstract  int calculate(int... values)
           
abstract  int calculate(int value0, int value1)
           
abstract  long calculate(long... values)
           
abstract  long calculate(long value0, long value1)
           
abstract  short calculate(short... values)
           
abstract  short calculate(short value0, short value1)
           
abstract  double getNullValue()
           
 int getType()
           
static AlgebraDescriptor.Operator valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AlgebraDescriptor.Operator[] 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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUM

public static final AlgebraDescriptor.Operator SUM

SUBTRACT

public static final AlgebraDescriptor.Operator SUBTRACT

MULTIPLY

public static final AlgebraDescriptor.Operator MULTIPLY

DIVIDE

public static final AlgebraDescriptor.Operator DIVIDE
Field Detail

nullValue

protected final double nullValue
Method Detail

values

public static AlgebraDescriptor.Operator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AlgebraDescriptor.Operator c : AlgebraDescriptor.Operator.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AlgebraDescriptor.Operator valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null

calculate

public abstract byte calculate(byte value0,
                               byte value1)

calculate

public abstract short calculate(short value0,
                                short value1)

calculate

public abstract int calculate(int value0,
                              int value1)

calculate

public abstract float calculate(float value0,
                                float value1)

calculate

public abstract double calculate(double value0,
                                 double value1)

calculate

public abstract long calculate(long value0,
                               long value1)

calculate

public abstract byte calculate(byte... values)

calculate

public abstract short calculate(short... values)

calculate

public abstract int calculate(int... values)

calculate

public abstract float calculate(float... values)

calculate

public abstract double calculate(double... values)

calculate

public abstract long calculate(long... values)

getNullValue

public abstract double getNullValue()

getType

public int getType()


Copyright © 2006–2015 GeoSolutions. All rights reserved.