org.knime.core.data.collection
Class DefaultBlobSupportDataCellIterator

java.lang.Object
  extended by org.knime.core.data.collection.DefaultBlobSupportDataCellIterator
All Implemented Interfaces:
Iterator<DataCell>, BlobSupportDataCellIterator

public class DefaultBlobSupportDataCellIterator
extends Object
implements BlobSupportDataCellIterator

Default implementation to BlobSupportDataCellIterator.

Author:
Bernd Wiswedel, University of Konstanz

Constructor Summary
DefaultBlobSupportDataCellIterator(Iterator<DataCell> it)
          Create new instance by wrapping an existing iterator.
 
Method Summary
 boolean hasNext()
          
 DataCell next()
          
 DataCell nextWithBlobSupport()
          Get the next DataCell, not unwrapping the blob when it is a BlobWrapperDataCell.
 void remove()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBlobSupportDataCellIterator

public DefaultBlobSupportDataCellIterator(Iterator<DataCell> it)
Create new instance by wrapping an existing iterator.

Parameters:
it - To wrap.
Method Detail

nextWithBlobSupport

public DataCell nextWithBlobSupport()
Get the next DataCell, not unwrapping the blob when it is a BlobWrapperDataCell.

Specified by:
nextWithBlobSupport in interface BlobSupportDataCellIterator
Returns:
The next cell.

hasNext

public boolean hasNext()

Specified by:
hasNext in interface Iterator<DataCell>

next

public DataCell next()

Specified by:
next in interface Iterator<DataCell>

remove

public void remove()

Specified by:
remove in interface Iterator<DataCell>


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.