jOOQ/jOOU
حول
jOOU - أعداد صحيحة غير موقعة. يوفر jOOU إصدارات غير موقعة من أنواع الأعداد الصحيحة الأربعة في Java: byte وshort وint وlong.
مشاريع أخرىالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلOverview
jOOU stands for jOOU Object Oriented Unsigned. It is filling up the gap with one of Java's most wanted features: The unsigned number types.
Dependencies
None!
Download
For use with Java 9+
<dependency>
<groupId>org.jooq</groupId>
<artifactId>joou</artifactId>
<version>0.9.6</version>
</dependency>
For use with Java 6+
<dependency>
<groupId>org.jooq</groupId>
<artifactId>joou-java-6</artifactId>
<version>0.9.6</version>
</dependency>
Description
This library provides an implementation for the four basic unsigned integer types as wrappers:
UByteUShortUIntegerULong
These classes extend java.lang.Number and implement java.lang.Comparable<?>, just like the JDK's own wrapper types. Besides, there is a utility class called org.joou.Unsigned with factory methods allowing for creating unsigned wrappers like this:
import static org.joou.Unsigned.*;
// and then...
UByte b = ubyte(1);
UShort s = ushort(1);
UInteger i = uint(1);
ULong l = ulong(1);
This project was created for https://www.jooq.org, to provide better support for MySQL, Postgres, and other databases' unsigned integer data types, and has been open sourced as an independent library for usage outside of jOOQ.
See also this stack overflow question here: http://stackoverflow.com/questions/8193031/is-there-a-java-library-for-unsigned-number-type-wrappers
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…