All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ildfly-clustering-marshalling-api.34.0.1.Final.source-code.java.math.proto Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 35.0.0.Final
Show newest version
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