// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_rmi_server_UID__
#define __java_rmi_server_UID__

#pragma interface

#include <java/lang/Object.h>

extern "Java"
{
  namespace java
  {
    namespace rmi
    {
      namespace server
      {
        class UID;
      }
    }
  }
}

class java::rmi::server::UID : public ::java::lang::Object
{
public:
  UID ();
  UID (jshort);
  jint hashCode () { return unique; }
  jboolean equals (::java::lang::Object *);
  ::java::lang::String *toString ();
  void write (::java::io::DataOutput *);
  static ::java::rmi::server::UID *read (::java::io::DataInput *);
  static const jlong serialVersionUID = 1086053664494604050LL;
private:
  static ::java::lang::Object *lock;
  static jlong baseTime;
  static jshort nextCount;
  static jint uniqueNr;
  jint __attribute__((aligned(__alignof__( ::java::lang::Object ))))  unique;
  jlong time;
  jshort count;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_rmi_server_UID__ */
