public class Int2ShortHashMap extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Int2ShortHashMap.Builder
Builder of
Int2ShortHashMap . |
Constructor and Description |
---|
Int2ShortHashMap() |
Int2ShortHashMap(int capacity) |
Modifier and Type | Method and Description |
---|---|
static Int2ShortHashMap.Builder |
builder() |
boolean |
containsKey(int key) |
short |
get(int key) |
void |
put(int key,
short value) |
int |
size() |
public Int2ShortHashMap()
public Int2ShortHashMap(int capacity)
public void put(int key, short value)
public boolean containsKey(int key)
public short get(int key)
public int size()
public static Int2ShortHashMap.Builder builder()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.