@Service class DistanceMatrixImpl extends Object implements DistanceMatrix
| Constructor and Description |
|---|
DistanceMatrixImpl(DistanceCalculator distanceCalculator,
DistanceRepository distanceRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLocation(Location newLocation) |
void |
clear() |
Map<Long,Double> |
getRow(Location location) |
@Autowired DistanceMatrixImpl(DistanceCalculator distanceCalculator, DistanceRepository distanceRepository)
public void addLocation(Location newLocation)
addLocation in interface DistanceMatrixpublic Map<Long,Double> getRow(Location location)
getRow in interface DistanceMatrixpublic void clear()
clear in interface DistanceMatrixCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.