Package org.cytoscape.work
Class TunableGravityOrderer
- java.lang.Object
-
- org.cytoscape.work.TunableGravityOrderer
-
- All Implemented Interfaces:
Comparator<TunableHandler>
public class TunableGravityOrderer extends Object implements Comparator<TunableHandler>
This class provides a comparator to order theTunable
s based on their gravity value.Module:
work-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>work-api</artifactId> </dependency>
-
-
Constructor Summary
Constructors Constructor Description TunableGravityOrderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(TunableHandler t1, TunableHandler t2)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(TunableHandler t1, TunableHandler t2)
- Specified by:
compare
in interfaceComparator<TunableHandler>
-
-