Cytoscape 3.1.1 API

org.cytoscape.work
Class TunableGravityOrderer

java.lang.Object
  extended by 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 Tunables 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
TunableGravityOrderer()
           
 
Method Summary
 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
 

Constructor Detail

TunableGravityOrderer

public TunableGravityOrderer()
Method Detail

compare

public int compare(TunableHandler t1,
                   TunableHandler t2)
Specified by:
compare in interface Comparator<TunableHandler>

Cytoscape 3.1.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.