org.knime.base.node.mine.sota.logic
Class SotaUtil

java.lang.Object
  extended by org.knime.base.node.mine.sota.logic.SotaUtil

public final class SotaUtil
extends Object

Author:
Kilian Thiel, University of Konstanz

Method Summary
static boolean hasMissingValues(DataRow row)
          Returns true if there are missing values in given row and false if not.
static boolean isFuzzyIntervalType(DataType type)
          Returns true if given DataType is a FuzzyIntervalType, otherwise false.
static boolean isIntType(DataType type)
          Returns true if given DataType is a IntType, otherwise false.
static boolean isNumberType(DataType type)
          Returns true if given DataType is a DoubleType or an IntType, otherwise false.
static boolean isStringType(DataType type)
          Returns true if given DataType is a StringTyoe, otherwise false.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasMissingValues

public static boolean hasMissingValues(DataRow row)
Returns true if there are missing values in given row and false if not.

Parameters:
row - row to check for missing values
Returns:
true if there are missing values in given row and false if not

isFuzzyIntervalType

public static boolean isFuzzyIntervalType(DataType type)
Returns true if given DataType is a FuzzyIntervalType, otherwise false.

Parameters:
type - DataType to check
Returns:
true if given DataType is a FuzzyIntervalType, otherwise false

isNumberType

public static boolean isNumberType(DataType type)
Returns true if given DataType is a DoubleType or an IntType, otherwise false.

Parameters:
type - DataType to check
Returns:
true if given DataType is a DoubleType or an IntType, otherwise false

isIntType

public static boolean isIntType(DataType type)
Returns true if given DataType is a IntType, otherwise false.

Parameters:
type - DataType to check
Returns:
true if given DataType is a IntType, otherwise false

isStringType

public static boolean isStringType(DataType type)
Returns true if given DataType is a StringTyoe, otherwise false.

Parameters:
type - DataType to check.
Returns:
true if given DataType is a StringType, otherwise false


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.