de.hpi.fgis.dude.algorithm.duplicatedetection
Enum SortedBlocks.AlgorithmVariant

java.lang.Object
  extended by java.lang.Enum<SortedBlocks.AlgorithmVariant>
      extended by de.hpi.fgis.dude.algorithm.duplicatedetection.SortedBlocks.AlgorithmVariant
All Implemented Interfaces:
Serializable, Comparable<SortedBlocks.AlgorithmVariant>
Enclosing class:
SortedBlocks

public static enum SortedBlocks.AlgorithmVariant
extends Enum<SortedBlocks.AlgorithmVariant>

This enumeration collects the possible SortedBlocks variants.

Author:
Uwe Draisbach

Enum Constant Summary
Basic
          Basic
FixPartitionSize
          Fix partition size
MaxSizeNewPartition
          Create new partition when max.
MaxSizeSlideWindow
          Slide window when max.
 
Method Summary
static SortedBlocks.AlgorithmVariant valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SortedBlocks.AlgorithmVariant[] 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

Basic

public static final SortedBlocks.AlgorithmVariant Basic
Basic


FixPartitionSize

public static final SortedBlocks.AlgorithmVariant FixPartitionSize
Fix partition size


MaxSizeNewPartition

public static final SortedBlocks.AlgorithmVariant MaxSizeNewPartition
Create new partition when max. window size is reached.


MaxSizeSlideWindow

public static final SortedBlocks.AlgorithmVariant MaxSizeSlideWindow
Slide window when max. window size is reached.

Method Detail

values

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

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

valueOf

public static SortedBlocks.AlgorithmVariant 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


Copyright © 2011 Hasso Plattner Institute - Chair of Information Systems. All Rights Reserved.