com.carrotsearch.hppc
Interface DoubleLookupContainer

All Superinterfaces:
DoubleContainer, java.lang.Iterable<DoubleCursor>
All Known Implementing Classes:
DoubleByteOpenHashMap.KeysContainer, DoubleCharOpenHashMap.KeysContainer, DoubleDoubleOpenHashMap.KeysContainer, DoubleFloatOpenHashMap.KeysContainer, DoubleIntOpenHashMap.KeysContainer, DoubleLongOpenHashMap.KeysContainer, DoubleObjectOpenHashMap.KeysContainer, DoubleOpenHashSet, DoubleShortOpenHashMap.KeysContainer

@Generated(date="2011-07-12T16:58:49+0200",
           value="HPPC generated from: DoubleLookupContainer.java")
public interface DoubleLookupContainer
extends DoubleContainer

Marker interface for containers that can check if they contain a given object in at least time O(log n) and ideally in amortized constant time O(1).


Method Summary
 boolean contains(double e)
          Lookup a given element in the container.
 
Methods inherited from interface com.carrotsearch.hppc.DoubleContainer
forEach, forEach, isEmpty, iterator, size, toArray
 

Method Detail

contains

boolean contains(double e)
Description copied from interface: DoubleContainer
Lookup a given element in the container. This operation has no speed guarantees (may be linear with respect to the size of this container).

Specified by:
contains in interface DoubleContainer
Returns:
Returns true if this container has an element equal to e.


Copyright © 2011 Carrot Search s.c.. All Rights Reserved.