Package com.carrotsearch.hppc
Interface CharLookupContainer
-
- All Superinterfaces:
CharContainer
,java.lang.Iterable<CharCursor>
- All Known Implementing Classes:
CharByteHashMap.KeysContainer
,CharCharHashMap.KeysContainer
,CharDoubleHashMap.KeysContainer
,CharFloatHashMap.KeysContainer
,CharHashSet
,CharIntHashMap.KeysContainer
,CharLongHashMap.KeysContainer
,CharObjectHashMap.KeysContainer
,CharScatterSet
,CharShortHashMap.KeysContainer
@Generated(date="2024-05-16T12:00:00+0000", value="KTypeLookupContainer.java") public interface CharLookupContainer extends CharContainer
Marker interface for containers that can check if they contain a given object in at least timeO(log n)
and ideally in amortized constant timeO(1)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
contains(char e)
Lookup a given element in the container.
-
-
-
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 interfaceCharContainer
- Returns:
- Returns
true
if this container has an element equal toe
.
-
-