class DistanceMap extends Object implements Map<org.optaplanner.examples.vehiclerouting.domain.location.RoadLocation,Double>
domain objects and later be queried using Planning domain objects.| Constructor and Description |
|---|
DistanceMap(Location location,
Map<Long,Double> distanceMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<org.optaplanner.examples.vehiclerouting.domain.location.RoadLocation,Double>> |
entrySet() |
Double |
get(Object key) |
boolean |
isEmpty() |
Set<org.optaplanner.examples.vehiclerouting.domain.location.RoadLocation> |
keySet() |
Double |
put(org.optaplanner.examples.vehiclerouting.domain.location.RoadLocation key,
Double value) |
void |
putAll(Map<? extends org.optaplanner.examples.vehiclerouting.domain.location.RoadLocation,? extends Double> m) |
Double |
remove(Object key) |
int |
size() |
Collection<Double> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic int size()
public boolean isEmpty()
public boolean containsKey(Object key)
containsKey in interface Map<org.optaplanner.examples.vehiclerouting.domain.location.RoadLocation,Double>public boolean containsValue(Object value)
containsValue in interface Map<org.optaplanner.examples.vehiclerouting.domain.location.RoadLocation,Double>public Double put(org.optaplanner.examples.vehiclerouting.domain.location.RoadLocation key, Double value)
public void putAll(Map<? extends org.optaplanner.examples.vehiclerouting.domain.location.RoadLocation,? extends Double> m)
public void clear()
public Set<org.optaplanner.examples.vehiclerouting.domain.location.RoadLocation> keySet()
public Collection<Double> values()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.