org.omnaest.utils.structure.table.concrete.internal.selection.scannable
Interface ScannableStripeDataContainer<E>

Type Parameters:
E -
All Known Implementing Classes:
ScannableStripeDataContainerFullScan, ScannableStripeDataContainerIndex

public interface ScannableStripeDataContainer<E>

A ScannableStripeDataContainer allows to retrieve TableInternal.StripeData instances in relation to Table.CellImmutable.getElement() s

Author:
Omnaest

Method Summary
 void clear()
           
 boolean containsKey(E key)
           
 List<TableInternal.StripeData<E>> determineStripeDataListContainingElement(E key)
           
 List<TableInternal.StripeData<E>> determineStripeDataListForRange(E fromKey, E toKey)
          Returns a new List containing all TableInternal.StripeData instances containing elements which are between the fromKey and the toKey.
 boolean isValid()
          Returns true if the underlying structure could be build without errors
 Set<E> keySet()
           
 int size()
           
 List<TableInternal.StripeData<E>> values()
          Returns a new List containg all TableInternal.StripeData instances within the ScannableStripeDataContainerIndex
 

Method Detail

determineStripeDataListForRange

List<TableInternal.StripeData<E>> determineStripeDataListForRange(E fromKey,
                                                                  E toKey)
Returns a new List containing all TableInternal.StripeData instances containing elements which are between the fromKey and the toKey. The upper and lower bound of TableInternal.StripeDatas will be included in the result.

Parameters:
fromKey -
toKey -
Returns:

containsKey

boolean containsKey(E key)
Parameters:
key -
Returns:
See Also:
Map.containsKey(java.lang.Object)

keySet

Set<E> keySet()
Returns:
See Also:
SortedMap.keySet()

clear

void clear()
See Also:
Map.clear()

size

int size()
Returns:
See Also:
Map.size()

values

List<TableInternal.StripeData<E>> values()
Returns a new List containg all TableInternal.StripeData instances within the ScannableStripeDataContainerIndex

Returns:

determineStripeDataListContainingElement

List<TableInternal.StripeData<E>> determineStripeDataListContainingElement(E key)
Parameters:
key -
Returns:
See Also:
Map.get(java.lang.Object)

isValid

boolean isValid()
Returns true if the underlying structure could be build without errors

Returns:


Copyright © 2011. All Rights Reserved.