public final class SparseEdgeMap<T> extends AbstractEdgeMap<T>
AbstractEdgeMap.AbstractEntrySetmaxIndex, minIndex| Constructor and Description |
|---|
SparseEdgeMap(int minIndex,
int maxIndex) |
SparseEdgeMap(int minIndex,
int maxIndex,
int maxSparseSize) |
| Modifier and Type | Method and Description |
|---|---|
AbstractEdgeMap<T> |
clear() |
boolean |
containsKey(int key) |
Set<Map.Entry<Integer,T>> |
entrySet() |
T |
get(int key) |
int[] |
getKeys() |
int |
getMaxSparseSize() |
List<T> |
getValues() |
boolean |
isEmpty() |
AbstractEdgeMap<T> |
put(int key,
T value) |
SparseEdgeMap<T> |
remove(int key) |
int |
size() |
Map<Integer,T> |
toMap() |
putAllpublic SparseEdgeMap(int minIndex,
int maxIndex)
public SparseEdgeMap(int minIndex,
int maxIndex,
int maxSparseSize)
public final int[] getKeys()
public final int getMaxSparseSize()
public int size()
public boolean isEmpty()
public boolean containsKey(int key)
public T get(int key)
public AbstractEdgeMap<T> put(int key, T value)
public SparseEdgeMap<T> remove(int key)
public AbstractEdgeMap<T> clear()
Copyright © 1992–2015 ANTLR. All rights reserved.