toxi.sim.dla
Class PipelineOrder

java.lang.Object
  extended by toxi.sim.dla.PipelineOrder
All Implemented Interfaces:
java.util.Comparator<toxi.geom.Line3D>

public class PipelineOrder
extends java.lang.Object
implements java.util.Comparator<toxi.geom.Line3D>

A dummy comparator enforcing a FIFO order of segments, i.e. the order they were added to the set.


Constructor Summary
PipelineOrder()
           
 
Method Summary
 int compare(toxi.geom.Line3D a, toxi.geom.Line3D b)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

PipelineOrder

public PipelineOrder()
Method Detail

compare

public int compare(toxi.geom.Line3D a,
                   toxi.geom.Line3D b)
Specified by:
compare in interface java.util.Comparator<toxi.geom.Line3D>