NormalizeAngle.java 342B

1234567891011121314151617181920
  1. import java.lang.Math;
  2. public class NormalizeAngle {
  3. public Integer normalizeValueUsingModulo(Integer angle){
  4. return angle%360;
  5. }
  6. public Integer normalizeValueUsingFloorMod(Integer integer){
  7. return Math.floorMod(integer,360);
  8. }
  9. public static void main(String[] args){
  10. }
  11. }