Sautrela

edu.gtts.sautrela.sp
Enum Windowing.Function

java.lang.Object
  extended by java.lang.Enum<Windowing.Function>
      extended by edu.gtts.sautrela.sp.Windowing.Function
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Windowing.Function>
Enclosing class:
Windowing

public static enum Windowing.Function
extends java.lang.Enum<Windowing.Function>

Window-function types


Enum Constant Summary
BLACKMAN
          A Blackman window-function.
BLACKMAN_HARRIS
          A Blackman-Harris window-function.
HAMMING
          A Hamming window-function.
HAN
          A Hanning window-function.
NONE
          No window-function.
SQUARE
          A flat window-function.
 
Method Summary
static Windowing.Function valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Windowing.Function[] 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

NONE

public static final Windowing.Function NONE
No window-function.


SQUARE

public static final Windowing.Function SQUARE
A flat window-function. The difference with NONE function is that when input IntData is received, it is converted to DoubleData.


HAMMING

public static final Windowing.Function HAMMING
A Hamming window-function. When input IntData is received, it is converted to DoubleData.


HAN

public static final Windowing.Function HAN
A Hanning window-function. When input IntData is received, it is converted to DoubleData.


BLACKMAN

public static final Windowing.Function BLACKMAN
A Blackman window-function. When input IntData is received, it is converted to DoubleData.


BLACKMAN_HARRIS

public static final Windowing.Function BLACKMAN_HARRIS
A Blackman-Harris window-function. When input IntData is received, it is converted to DoubleData.

Method Detail

values

public static Windowing.Function[] 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 (Windowing.Function c : Windowing.Function.values())
    System.out.println(c);

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

valueOf

public static Windowing.Function valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Sautrela