Implement typedef in Java
<p>I have a type Time32 that is used in generics as <code>Work&lt;Time32&gt;</code> so i made a class Time32. 
I also have  to implement </p>

<pre><code>typedef UInt(5) Time32
</code></pre>

<p>Here UInt means the unsigned int. Java doesn't have unsigned int, so i made my own class.</p>

<pre><code>public class UInt 
{
    private final int size;
    public UInt(int x)
    {
       this.size=x;
    }

    public int getSize() 
    {
        return size;
    }
} 
</code></pre>

<p>But i don't understand how i can implement the typedef in java. Please help. Thanks.</p>

<p>I need to keep the UInt class as i have some other variables that will use the Uint like <code>UInt(20) Load</code> or <code>UInt(10) Force</code></p>
