public class AngleUnits
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static AngleUnits |
DEGREES
Degrees.
|
static AngleUnits |
RADIANS
Radians.
|
Constructor and Description |
---|
AngleUnits(java.lang.String name,
double circle)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
double |
getCircle()
Returns the number of these units in an entire revolution.
|
java.lang.String |
getName()
Returns the name of this unit.
|
int |
hashCode() |
public static final AngleUnits DEGREES
public static final AngleUnits RADIANS
public AngleUnits(java.lang.String name, double circle)
name
- unit namecircle
- number of units in an entire revolutionpublic double getCircle()
public java.lang.String getName()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.