Top Description Methods
com.carrotsearch.hppc

public Interface ByteLookupContainer

extends ByteContainer
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(byte e)

Redeclares com.carrotsearch.hppc.ByteContainer.contains.

Lookup a given element in the container.

Inherited from com.carrotsearch.hppc.ByteContainer:
forEachforEachisEmptyiteratorsizetoArray

Method Detail

containsback to summary
public boolean contains(byte e)

Redeclares com.carrotsearch.hppc.ByteContainer.contains.

Doc from com.carrotsearch.hppc.ByteContainer.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.