-
public class CloudXArbiterPrecision.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final CloudXArbiterPrecisionPUBLISHER_DEFINEDprivate final CloudXArbiterPrecisionEXACTprivate final CloudXArbiterPrecisionESTIMATEDprivate final CloudXArbiterPrecisionUNDEFINEDpublic final static CloudXArbiterPrecision.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final CloudXArbiterPrecisionof(String name)Mints a precision from any token, normalized to upper case. final CloudXArbiterPrecisiongetPUBLISHER_DEFINED()Price assigned by the publisher ( publisher_defined).final CloudXArbiterPrecisiongetEXACT()Result of a real-time auction ( exact).final CloudXArbiterPrecisiongetESTIMATED()Estimated revenue ( estimated).final CloudXArbiterPrecisiongetUNDEFINED()No amount, not enough data to estimate ( undefined).-
-
Method Detail
-
of
final CloudXArbiterPrecision of(String name)
Mints a precision from any token, normalized to upper case. Public by design so callers can forward a mediator's raw precision value and have it match the constant above (
of("estimated") == ESTIMATED). Unrecognized tokens (including empty strings) pass through upper-cased.
-
getPUBLISHER_DEFINED
final CloudXArbiterPrecision getPUBLISHER_DEFINED()
Price assigned by the publisher (
publisher_defined).
-
getEXACT
final CloudXArbiterPrecision getEXACT()
Result of a real-time auction (
exact).
-
getESTIMATED
final CloudXArbiterPrecision getESTIMATED()
Estimated revenue (
estimated).
-
getUNDEFINED
final CloudXArbiterPrecision getUNDEFINED()
No amount, not enough data to estimate (
undefined).
-
-
-
-