Class JavaClasses
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe format of a decimal number.static final PatternMatches a decimal number with an optional unit of radians or degrees.static final StringThe format of an integer.static final PatternMatches an integer with an optional unit of radians or degrees.static final StringThe pattern for scientific notation.static final int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
VARIABLENAME_NUMBERACCURACY
public static final int VARIABLENAME_NUMBERACCURACY- See Also:
-
SCIENTIFIC_PATTERN
The pattern for scientific notation.The pattern is the letter
eorEfollowed by a sign and one or more digits.- See Also:
-
INTEGER_NUMBER_PATTERN
The format of an integer.Has an optional negative sign and may contain one underscores followed by any number of digits.
- See Also:
-
INTEGER_PATTERN
Matches an integer with an optional unit of radians or degrees.First, the actual number format
numis specified. Then, an optional angle unit is specified. For this, theradgroup is used. This specifies that the number is in radians. This is used to determine if the number should be converted to degrees. Degrees is not a named group because it just returns the value in thenumgroup, which is the default behaviour. Optionally, the user can usex in degreesinstead ofx degrees. -
DECIMAL_NUMBER_PATTERN
The format of a decimal number.Has an optional negative sign and may contain one underscores followed by any number of digits, in the whole part or the fractional part. The fractional part is optional. May be followed by a percentage sign, to indicate that the number is a percentage.
- See Also:
-
DECIMAL_PATTERN
Matches a decimal number with an optional unit of radians or degrees.First, the actual number format
numis specified. Then, an optional angle unit is specified. For this, theradgroup is used. This specifies that the number is in radians. This is used to determine if the number should be converted to degrees. Degrees is not a named group because it just returns the value in thenumgroup, which is the default behaviour. Optionally, the user can usex in degreesinstead ofx degrees.
-
-
Constructor Details
-
JavaClasses
public JavaClasses()
-