org.knime.core.data.collection
Interface SparseListDataValue
- All Superinterfaces:
- CollectionDataValue, DataValue, Iterable<DataCell>, ListDataValue
- All Known Implementing Classes:
- SparseListCell
public interface SparseListDataValue
- extends ListDataValue
Sparse implementation of the ListDataValue interface that stores
only the value and the index of elements that are unequal to
the default element.
- Author:
- Tobias Koetter, University of Konstanz
| Methods inherited from interface org.knime.core.data.collection.ListDataValue |
get |
getAllIndices
int[] getAllIndices()
- Returns a copy of the array that contains all indices of the explicitly
set values of this list. They are sorted in increasing order.
- Returns:
- all indices that have a explicitly set value attached
getDefaultElement
DataCell getDefaultElement()
- Returns:
- the default element that is returned for all indices within the
range of the list but that do not have a value assigned
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.