public class TunableGravityOrderer extends Object implements Comparator<TunableHandler>
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>
Constructor and Description |
---|
TunableGravityOrderer() |
Modifier and Type | Method and Description |
---|---|
int |
compare(TunableHandler t1,
TunableHandler t2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(TunableHandler t1, TunableHandler t2)
compare
in interface Comparator<TunableHandler>
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.