org.knime.base.data.bitvector
Class BitVectorCellFactory
java.lang.Object
org.knime.core.data.container.AbstractCellFactory
org.knime.core.data.container.SingleCellFactory
org.knime.base.data.bitvector.BitVectorCellFactory
- All Implemented Interfaces:
- CellFactory
- Direct Known Subclasses:
- BitVectorColumnCellFactory, Numeric2BitVectorMeanCellFactory, Numeric2BitVectorThresholdCellFactory
public abstract class BitVectorCellFactory
- extends SingleCellFactory
Base class for all cell factories converting strings to bitvectors.
- Author:
- Fabian Dill, University of Konstanz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitVectorCellFactory
public BitVectorCellFactory(DataColumnSpec columnSpec)
- Parameters:
columnSpec
- the column spec of the new column
incrementNrOfRows
public void incrementNrOfRows()
- Increments the number of processed rows.
getNrOfProcessedRows
public int getNrOfProcessedRows()
- Returns the number of processed rows.
- Returns:
- the number of processed rows.
getNumberOfSetBits
public abstract int getNumberOfSetBits()
- Returns:
- the number of set bits.
getNumberOfNotSetBits
public abstract int getNumberOfNotSetBits()
- Returns:
- the number of not set bits.
wasSuccessful
public abstract boolean wasSuccessful()
- Returns:
- true if at least one conversion was successful, false otherwise.
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.