com.carrotsearch.hppc
Interface FloatLookupContainer

All Superinterfaces:
FloatContainer, java.lang.Iterable<FloatCursor>
All Known Implementing Classes:
FloatByteOpenHashMap.KeysContainer, FloatCharOpenHashMap.KeysContainer, FloatDoubleOpenHashMap.KeysContainer, FloatFloatOpenHashMap.KeysContainer, FloatIntOpenHashMap.KeysContainer, FloatLongOpenHashMap.KeysContainer, FloatObjectOpenHashMap.KeysContainer, FloatOpenHashSet, FloatShortOpenHashMap.KeysContainer

@Generated(date="2011-11-28T23:36:04+0000",
           value="HPPC generated from: FloatLookupContainer.java")
public interface FloatLookupContainer
extends FloatContainer

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(float e)
          Lookup a given element in the container.
 
Methods inherited from interface com.carrotsearch.hppc.FloatContainer
forEach, forEach, isEmpty, iterator, size, toArray
 

Method Detail

contains

boolean contains(float e)
Description copied from interface: FloatContainer
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 FloatContainer
Returns:
Returns true if this container has an element equal to e.


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