@Override public int compareTo(ProjectedEnergy o){
  return Double.compare(projectedEnergy,o.projectedEnergy);
}

@ Override public int compareTo ( ProjectedEnergy o ) { return Double . compare ( projectedEnergy , o . projectedEnergy ) ; }
compares this object with the specified object for order .
