org.knime.base.collection.list.split
Enum CollectionSplitSettings.CountElementsPolicy

java.lang.Object
  extended by java.lang.Enum<CollectionSplitSettings.CountElementsPolicy>
      extended by org.knime.base.collection.list.split.CollectionSplitSettings.CountElementsPolicy
All Implemented Interfaces:
Serializable, Comparable<CollectionSplitSettings.CountElementsPolicy>
Enclosing class:
CollectionSplitSettings

public static enum CollectionSplitSettings.CountElementsPolicy
extends Enum<CollectionSplitSettings.CountElementsPolicy>

Different ways of identifying how many elements there are in a column.


Enum Constant Summary
BestEffort
          Try UseElementNamesOrFail, if that fails use Count.
Count
          Do one scan on the input table and count.
UseElementNamesOrFail
          Use the count (and names) from the column's element names field.
 
Method Summary
static CollectionSplitSettings.CountElementsPolicy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CollectionSplitSettings.CountElementsPolicy[] 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

Count

public static final CollectionSplitSettings.CountElementsPolicy Count
Do one scan on the input table and count.


UseElementNamesOrFail

public static final CollectionSplitSettings.CountElementsPolicy UseElementNamesOrFail
Use the count (and names) from the column's element names field.


BestEffort

public static final CollectionSplitSettings.CountElementsPolicy BestEffort
Try UseElementNamesOrFail, if that fails use Count.

Method Detail

values

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

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

valueOf

public static CollectionSplitSettings.CountElementsPolicy 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, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.