com.carrotsearch.hppc
Interface ByteLookupContainer

All Superinterfaces:
ByteContainer, java.lang.Iterable<ByteCursor>
All Known Implementing Classes:
ByteByteOpenHashMap.KeysContainer, ByteCharOpenHashMap.KeysContainer, ByteDoubleOpenHashMap.KeysContainer, ByteFloatOpenHashMap.KeysContainer, ByteIntOpenHashMap.KeysContainer, ByteLongOpenHashMap.KeysContainer, ByteObjectOpenHashMap.KeysContainer, ByteOpenHashSet, ByteShortOpenHashMap.KeysContainer

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

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

Method Detail

contains

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


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