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

#ifndef __java_net_NetworkInterface__
#define __java_net_NetworkInterface__

#pragma interface

#include <java/lang/Object.h>

extern "Java"
{
  namespace java
  {
    namespace net
    {
      class NetworkInterface;
      class InetAddress;
    }
  }
}

class java::net::NetworkInterface : public ::java::lang::Object
{
private:
  NetworkInterface (::java::lang::String *, ::java::net::InetAddress *);
  static ::java::util::Vector *getRealNetworkInterfaces ();
public:
  ::java::lang::String *getName () { return name; }
  ::java::util::Enumeration *getInetAddresses ();
  ::java::lang::String *getDisplayName () { return name; }
  static ::java::net::NetworkInterface *getByName (::java::lang::String *);
  static ::java::net::NetworkInterface *getByInetAddress (::java::net::InetAddress *);
  static ::java::util::Enumeration *getNetworkInterfaces ();
  jboolean equals (::java::lang::Object *);
  jint hashCode ();
  ::java::lang::String *toString ();
private:
  ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object )))) name;
  ::java::util::Vector *inetAddresses;
public:

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

#endif /* __java_net_NetworkInterface__ */
