Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.spatial
Class Ranking

java.lang.Object
  extended byoracle.panama.spatial.Ranking

Direct Known Subclasses:
RankingByDrivingTime

public class Ranking
extends java.lang.Object

This class is used to store a ranking of driving direction results. For example, the ranking can be done by shortest time or shortest distance.


Constructor Summary
Ranking(Point[] locations)
Constructor

Method Summary
Point[] getRankedPoints()
Returns the ranked array of points
ProviderCredit getRankingProvider()
Returns the ranking provider credit
void setRankingProvider(ProviderCredit credit)
Set the ranking provider credit

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

Ranking

public Ranking(Point[] locations)
Constructor
Parameters:
locations - the already ranked list of locations

Method Detail

getRankedPoints

public Point[] getRankedPoints()
Returns the ranked array of points
Returns:
the ranked array of points

getRankingProvider

public ProviderCredit getRankingProvider()
Returns the ranking provider credit
Returns:
the ranking provider credit

setRankingProvider

public void setRankingProvider(ProviderCredit credit)
Set the ranking provider credit
Parameters:
credit - the ranking provider credit

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.