org.knime.core.data
Class TimestampValue.TimestampValueComparator
java.lang.Object
org.knime.core.data.DataValueComparator
org.knime.core.data.TimestampValue.TimestampValueComparator
- All Implemented Interfaces:
- Comparator<DataCell>
- Enclosing interface:
- TimestampValue
public static class TimestampValue.TimestampValueComparator
- extends DataValueComparator
Comparator returned by the TimestampValue interface.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimestampValue.TimestampValueComparator
public TimestampValue.TimestampValueComparator()
compareDataValues
public int compareDataValues(DataValue v1,
DataValue v2)
- Compares two
TimestampValues based on their Date
value.
- Specified by:
compareDataValues in class DataValueComparator
- Parameters:
v1 - the first TimestampValue to compare the other withv2 - the other TimestampValue to compare the first with
- Returns:
- what a comparator is supposed to return.
- Throws:
ClassCastException - If one of the arguments is
not TimestampValue type.
NullPointerException - If any argument is null.- See Also:
Date.compareTo(Date)
Copyright, 2003 - 2012. 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.