summaryrefslogtreecommitdiff
path: root/libjava/java/lang/ref/ReferenceQueue.h
blob: bd4a9d8b71dea35ac98958205303c6097c8e11ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_lang_ref_ReferenceQueue__
#define __java_lang_ref_ReferenceQueue__

#pragma interface

#include <java/lang/Object.h>

class java::lang::ref::ReferenceQueue : public ::java::lang::Object
{

public:
  ReferenceQueue();
  virtual ::java::lang::ref::Reference * poll();
public: // actually package-private
  virtual jboolean enqueue(::java::lang::ref::Reference *);
private:
  ::java::lang::ref::Reference * dequeue();
public:
  virtual ::java::lang::ref::Reference * remove(jlong);
  virtual ::java::lang::ref::Reference * remove();
private:
  ::java::lang::ref::Reference * __attribute__((aligned(__alignof__( ::java::lang::Object)))) first;
  ::java::lang::Object * lock;
public:
  static ::java::lang::Class class$;
};

#endif // __java_lang_ref_ReferenceQueue__