Package net.filebot.format
Class AutoScaleInteger
java.lang.Object
net.filebot.format.AutoScaleInteger
- All Implemented Interfaces:
CharSequence
,Comparable<Object>
,StringBinding
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
getG()
getK()
getM()
getScale()
getUnit
(AutoScaleInteger.Scale scale) long
getValue()
round
(int precision) scale
(AutoScaleInteger.Scale scale) double
toDouble()
float
toFloat()
int
long
toLong()
toNumber()
toString()
toString
(AutoScaleInteger.Scale target) Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
Methods inherited from interface net.filebot.format.StringBinding
after, before, charAt, length, lower, lowerTrail, negative, removeAll, replace, replace, replaceAll, space, subSequence, upper, upperInitial
-
Constructor Details
-
AutoScaleInteger
-
-
Method Details
-
getValue
-
getScale
-
scale
-
getG
-
getM
-
getK
-
toLong
-
toDouble
-
toInteger
-
toFloat
-
toNumber
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Object>
-
equals
-
asType
-
div
-
round
-
format
-
format
-
format
-
getUnit
-
toString
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-
toString
-