Top Description Methods
com.carrotsearch.hppc

public Interface CharLookupContainer

extends CharContainer
Known Direct Implementers
com.carrotsearch.hppc.CharObjectHashMap.KeysContainer, com.carrotsearch.hppc.CharShortHashMap.KeysContainer, com.carrotsearch.hppc.CharByteHashMap.KeysContainer, com.carrotsearch.hppc.CharCharHashMap.KeysContainer, com.carrotsearch.hppc.CharDoubleHashMap.KeysContainer, com.carrotsearch.hppc.CharFloatHashMap.KeysContainer, com.carrotsearch.hppc.CharHashSet, com.carrotsearch.hppc.SortedIterationCharByteHashMap.KeysContainer, com.carrotsearch.hppc.SortedIterationCharCharHashMap.KeysContainer, com.carrotsearch.hppc.SortedIterationCharDoubleHashMap.KeysContainer, com.carrotsearch.hppc.SortedIterationCharFloatHashMap.KeysContainer, com.carrotsearch.hppc.SortedIterationCharIntHashMap.KeysContainer, com.carrotsearch.hppc.SortedIterationCharLongHashMap.KeysContainer, com.carrotsearch.hppc.SortedIterationCharObjectHashMap.KeysContainer, com.carrotsearch.hppc.SortedIterationCharShortHashMap.KeysContainer, com.carrotsearch.hppc.CharIntHashMap.KeysContainer, com.carrotsearch.hppc.CharLongHashMap.KeysContainer
Annotations
@Generated:KTypeLookupContainer.java
date:2024-06-04T15:20:17+0200

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

Modifier and TypeMethod and Description
public boolean
contains(char e)

Redeclares com.carrotsearch.hppc.CharContainer.contains.

Lookup a given element in the container.

Inherited from com.carrotsearch.hppc.CharContainer:
forEachforEachisEmptyiteratorsizetoArray

Method Detail

containsback to summary
public boolean contains(char e)

Redeclares com.carrotsearch.hppc.CharContainer.contains.

Doc from com.carrotsearch.hppc.CharContainer.contains.

Lookup a given element in the container. This operation has no speed guarantees (may be linear with respect to the size of this container).

Returns:boolean

Returns true if this container has an element equal to e.