
ildfly-clustering-marshalling-api.34.0.1.Final.source-code.java.math.proto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wildfly-clustering-marshalling-api Show documentation
Show all versions of wildfly-clustering-marshalling-api Show documentation
Public module containing interfaces to be implemented by applications and internal modules to optimize marshalling behavior for both distributable @Stateful Jakarta Enterprise Beans and HTTP sessions.
The API is independent of the backing marshalling framework.
package java.math;
// IDs: 120 - 124
/**
* @TypeId(120)
*/
message BigDecimal {
optional bytes unscaledValue = 1;
optional uint32 scale = 2;
}
/**
* @TypeId(121)
*/
message BigInteger {
optional bytes bytes = 1;
}
/**
* @TypeId(122)
*/
message MathContext {
optional uint32 precision = 1;
optional RoundingMode mode = 2;
}
/**
* @TypeId(123)
*/
enum RoundingMode {
UP = 0;
DOWN = 1;
CEILING = 2;
FLOOR = 3;
HALF_UP = 4;
HALF_DOWN = 5;
HALF_EVEN = 6;
UNNECESSARY = 7;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy