public final class EmptyEdgeMap<T> extends AbstractEdgeMap<T>
AbstractEdgeMap represents an empty edge map.AbstractEdgeMap.AbstractEntrySetmaxIndex, minIndex| Constructor and Description |
|---|
EmptyEdgeMap(int minIndex,
int maxIndex) |
| Modifier and Type | Method and Description |
|---|---|
AbstractEdgeMap<T> |
clear() |
boolean |
containsKey(int key) |
Set<Map.Entry<Integer,T>> |
entrySet() |
T |
get(int key) |
boolean |
isEmpty() |
AbstractEdgeMap<T> |
put(int key,
T value) |
AbstractEdgeMap<T> |
remove(int key) |
int |
size() |
Map<Integer,T> |
toMap() |
putAllpublic AbstractEdgeMap<T> put(int key, T value)
public AbstractEdgeMap<T> clear()
public AbstractEdgeMap<T> remove(int key)
public int size()
public boolean isEmpty()
public boolean containsKey(int key)
public T get(int key)
Copyright © 1992–2024 Daniel Sun. All rights reserved.