public final class SingletonEdgeMap<T> extends AbstractEdgeMap<T>
AbstractEdgeMap.AbstractEntrySetmaxIndex, minIndex| Constructor and Description |
|---|
SingletonEdgeMap(int minIndex,
int maxIndex,
int key,
T value) |
| Modifier and Type | Method and Description |
|---|---|
AbstractEdgeMap<T> |
clear() |
boolean |
containsKey(int key) |
Set<Map.Entry<Integer,T>> |
entrySet() |
T |
get(int key) |
int |
getKey() |
T |
getValue() |
boolean |
isEmpty() |
AbstractEdgeMap<T> |
put(int key,
T value) |
AbstractEdgeMap<T> |
remove(int key) |
int |
size() |
Map<Integer,T> |
toMap() |
putAllpublic SingletonEdgeMap(int minIndex,
int maxIndex,
int key,
T value)
public int getKey()
public T getValue()
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 AbstractEdgeMap<T> remove(int key)
public AbstractEdgeMap<T> clear()
Copyright © 1992–2024 Daniel Sun. All rights reserved.