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 the Tunable
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TunableGravityOrderer
public TunableGravityOrderer()
compare
public int compare(TunableHandler t1,
TunableHandler t2)
- Specified by:
compare
in interface Comparator<TunableHandler>
Copyright 2011 Cytoscape Consortium. All rights reserved.