|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.umd.cfar.lamp.viper.util.DataMatrices.PassThrough
Assumes Object is an instance of Number, and calls its getLong() method to determine the node cost.
Constructor Summary | |
DataMatrices.PassThrough()
|
Method Summary | |
long |
cost(java.lang.Object obj)
Gets the longValue of the object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataMatrices.PassThrough()
Method Detail |
public long cost(java.lang.Object obj)
cost
in interface DataMatrices.GetCost
obj
- the object to determine the cost of
((Number) obj).longValue()
java.lang.ClassCastException
- if obj
doesn't
implement Number
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |