All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.geotab.model.entity.unitofmeasure.UnitOfMeasureRadians Maven / Gradle / Ivy

package com.geotab.model.entity.unitofmeasure;

import lombok.Getter;
import lombok.Setter;

/**
 * Represents the unit of measure for an angle.
 */
@Getter @Setter
public class UnitOfMeasureRadians extends UnitOfMeasureSystem {

  private static class InstanceHolder {

    private static final UnitOfMeasureRadians INSTANCE = new UnitOfMeasureRadians();
  }

  public static final String UNIT_OF_MEASURE_RADIANS_ID = "UnitOfMeasureRadiansId";
  public static final String UNIT_OF_MEASURE_RADIANS_NAME = "rad";

  private UnitOfMeasureRadians() {
    super(UNIT_OF_MEASURE_RADIANS_ID, UNIT_OF_MEASURE_RADIANS_NAME);
  }

  public static UnitOfMeasureRadians getInstance() {
    return UnitOfMeasureRadians.InstanceHolder.INSTANCE;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy