com.carrotsearch.hppc
Interface CharLookupContainer

All Superinterfaces:
CharContainer, java.lang.Iterable<CharCursor>
All Known Implementing Classes:
CharByteOpenHashMap.KeysContainer, CharCharOpenHashMap.KeysContainer, CharDoubleOpenHashMap.KeysContainer, CharFloatOpenHashMap.KeysContainer, CharIntOpenHashMap.KeysContainer, CharLongOpenHashMap.KeysContainer, CharObjectOpenHashMap.KeysContainer, CharOpenHashSet, CharShortOpenHashMap.KeysContainer

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

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

Method Detail

contains

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


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