Skip to content
Permalink
Browse files

Updated README.md

  • Loading branch information...
lukaseder committed Dec 15, 2017
1 parent eaa7064 commit 17a2bff15e8c4e3d3167bb957ece67058c88528c
Showing with 56 additions and 19 deletions.
  1. +0 −19 README
  2. +56 −0 README.md
19 README

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,56 @@
### 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+**

```xml
<dependency>
<groupId>org.jooq</groupId>
<artifactId>joou</artifactId>
<version>0.9.3</version>
</dependency>
```

**For use with Java 6+**

```xml
<dependency>
<groupId>org.jooq</groupId>
<artifactId>joou-java-6</artifactId>
<version>0.9.3</version>
</dependency>
```

### Description

This library provides an implementation for the four basic unsigned integer types as wrappers:

- `UByte`
- `UShort`
- `UInteger`
- `ULong`

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:

```java
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

0 comments on commit 17a2bff

Please sign in to comment.
You can’t perform that action at this time.