[英]Non-negative integer data type in java
Modulo-2 have a CARDINAL type which can hold any whole number from 0 to 65535 in a 16-bit microcomputer. Modulo-2具有CARDINAL类型,可以在16位微型计算机中容纳0到65535之间的任何整数。 Is there any data type in java that closely resembles CARDINAL?
Java中是否有任何与CARDINAL非常相似的数据类型? I know custom data type can be created in java for this purpose.
我知道可以为此目的在Java中创建自定义数据类型。
I have heard that there is going to be unsigned integer arithmetic API in java 8. But I want to know if there exists one before java 8. 我听说Java 8中将有一个无符号整数算术API,但是我想知道在Java 8之前是否存在一个。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.