Package mgui.geometry.mesh
Class EnergySphere.EnergyNode
java.lang.Object
mgui.geometry.mesh.EnergySphere.EnergyNode
- All Implemented Interfaces:
java.lang.Comparable<EnergySphere.EnergyNode>
- Enclosing class:
- EnergySphere
public class EnergySphere.EnergyNode extends java.lang.Object implements java.lang.Comparable<EnergySphere.EnergyNode>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EnergyNode(int index, double energy)
-
Method Summary
Modifier and Type Method Description int
compareTo(EnergySphere.EnergyNode n)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
index
public int index -
energy
public double energy
-
-
Constructor Details
-
EnergyNode
public EnergyNode(int index, double energy)
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfacejava.lang.Comparable<EnergySphere.EnergyNode>
-