Gephi Toolkit Javadoc

org.gephi.ranking.impl
Class AbstractRanking<Element,Type extends java.lang.Number>

java.lang.Object
  extended by org.gephi.ranking.impl.AbstractRanking<Element,Type>
All Implemented Interfaces:
Ranking<Element,Type>
Direct Known Subclasses:
RankingFactory.AttributeRanking

public abstract class AbstractRanking<Element,Type extends java.lang.Number>
extends java.lang.Object
implements Ranking<Element,Type>

Author:
Mathieu Bastian

Field Summary
protected  Graph graph
           
protected  double hash
           
protected  Type maximum
           
protected  Type minimum
           
 
Constructor Summary
AbstractRanking()
           
 
Method Summary
 Graph getGraph()
           
 Type getMaximumValue()
           
 Type getMinimumValue()
           
 void setGraph(Graph graph)
           
 void setMaximumValue(Type value)
           
 void setMinimumValue(Type value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gephi.ranking.api.Ranking
getName, getType, getValue, normalize, toString, unNormalize
 

Field Detail

hash

protected double hash

minimum

protected Type extends java.lang.Number minimum

maximum

protected Type extends java.lang.Number maximum

graph

protected Graph graph
Constructor Detail

AbstractRanking

public AbstractRanking()
Method Detail

getMinimumValue

public Type getMinimumValue()
Specified by:
getMinimumValue in interface Ranking<Element,Type extends java.lang.Number>

getMaximumValue

public Type getMaximumValue()
Specified by:
getMaximumValue in interface Ranking<Element,Type extends java.lang.Number>

setMinimumValue

public void setMinimumValue(Type value)

setMaximumValue

public void setMaximumValue(Type value)

getGraph

public Graph getGraph()

setGraph

public void setGraph(Graph graph)

Gephi Toolkit Javadoc