|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.ipk_gatersleben.ag_nw.centilib.plugin.DefaultEdgeAttribute
public class DefaultEdgeAttribute
Constructor Summary | |
---|---|
DefaultEdgeAttribute()
The method getValue() always returns 1.0 |
Method Summary | |
---|---|
String |
getName()
The name of the attribute. |
Double |
getValue(Object edge)
Returns the attribute value for element if it exists, null or Double.NaN otherwise. |
String |
toString()
The method toString() should be overwritten to return the name of the attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultEdgeAttribute()
Method Detail |
---|
public String toString()
DoubleAttribute
toString
in interface DoubleAttribute<Object>
toString
in class Object
public String getName()
DoubleAttribute
getName
in interface DoubleAttribute<Object>
public Double getValue(Object edge)
DoubleAttribute
getValue
in interface DoubleAttribute<Object>
edge
- the object to get the attribute value for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |