public class TypedSet extends Object
| Modifier and Type | Field and Description |
|---|---|
static io.airlift.units.DataSize |
MAX_FUNCTION_MEMORY |
| Constructor and Description |
|---|
TypedSet(Type elementType,
int expectedSize,
String functionName) |
TypedSet(Type elementType,
MethodHandle elementIsDistinctFrom,
int expectedSize,
String functionName) |
TypedSet(Type elementType,
Optional<MethodHandle> elementIsDistinctFrom,
BlockBuilder blockBuilder,
int expectedSize,
String functionName) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Block block,
int position) |
boolean |
contains(Block block,
int position) |
long |
getRetainedSizeInBytes() |
int |
positionOf(Block block,
int position) |
int |
size() |
public TypedSet(Type elementType, MethodHandle elementIsDistinctFrom, int expectedSize, String functionName)
public TypedSet(Type elementType, Optional<MethodHandle> elementIsDistinctFrom, BlockBuilder blockBuilder, int expectedSize, String functionName)
Copyright © 2012–2019. All rights reserved.