public static double swap(double value){
  long longValue=Double.doubleToLongBits(value);
  longValue=swap(longValue);
  return Double.longBitsToDouble(longValue);
}

public static double swap ( double value ) { long longValue = Double . doubleToLongBits ( value ) ; longValue = swap ( longValue ) ; return Double . longBitsToDouble ( longValue ) ; }
byte swap a single double value .
