@Test public void ofRadians() { Assert.assertEquals( Latitude.ofRadians(1), Latitude.ofDegrees(Math.toDegrees(1)) ); Assert.assertEquals( Latitude.ofRadians(1).toRadians(), Latitude.ofDegrees(Math.toDegrees(1)).toRadians() ); }
public static Latitude ofRadians(final double radians) { return new Latitude(Math.toDegrees(radians)); }
Latitude extends Number implements Serializable { public static Latitude ofRadians(final double radians) { return new Latitude(Math.toDegrees(radians)); } }
Latitude extends Number implements Serializable { public static Latitude ofRadians(final double radians) { return new Latitude(Math.toDegrees(radians)); } private  Latitude(final double value); }
Latitude extends Number implements Serializable { public static Latitude ofRadians(final double radians) { return new Latitude(Math.toDegrees(radians)); } private  Latitude(final double value); @Override double doubleValue(); double toRadians(); double toDegrees(); @Override int intValue(); @Override long longValue(); @Override float floatValue(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString(); static Latitude ofDegrees(final double degrees); static Latitude ofRadians(final double radians); }
Latitude extends Number implements Serializable { public static Latitude ofRadians(final double radians) { return new Latitude(Math.toDegrees(radians)); } private  Latitude(final double value); @Override double doubleValue(); double toRadians(); double toDegrees(); @Override int intValue(); @Override long longValue(); @Override float floatValue(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString(); static Latitude ofDegrees(final double degrees); static Latitude ofRadians(final double radians); static final double MIN_DEGREES; static final Latitude MIN_VALUE; static final double MAX_DEGREES; static final Latitude MAX_VALUE; }