Class UInt8

java.lang.Object
  |
  +--UInt8

public final class UInt8
extends java.lang.Object

This class provides unsigned 8 bits integers in order to port Juergen's C code.
This code is GPL. Copyright (c) 2000 Brice Fines.

  • This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.
  • This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.
  • You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  • Version:
    0.2005 06/06/00
    Author:
    Jarod CANAL
    See Also:
    "The Gnu Public License."

    Field Summary
    private  int unsignedByte
              Unsigned integer coded on 8 bits.
     
    Constructor Summary
    protected UInt8()
              Constructor.
     
    Method Summary
    protected  int get()
              Get the value of the unsigned byte.
    protected  void set(int Value)
              Set unsigned byte value.
     
    Methods inherited from class java.lang.Object
    , clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
     

    Field Detail

    unsignedByte

    private int unsignedByte
    Unsigned integer coded on 8 bits.
    Constructor Detail

    UInt8

    protected UInt8()
    Constructor.
    Method Detail

    set

    protected final void set(int Value)
    Set unsigned byte value.
    Parameters:
    Value - the value that will be used to set the unsigned byte.

    get

    protected final int get()
    Get the value of the unsigned byte.
    Returns:
    an unsigned 8 bits integer.