summaryrefslogtreecommitdiff
path: root/libjava/java/util/concurrent/atomic/AtomicStampedReference.h
blob: 8e116929900685a4c605ba3272fc1de88784100b (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_util_concurrent_atomic_AtomicStampedReference__
#define __java_util_concurrent_atomic_AtomicStampedReference__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>


class java::util::concurrent::atomic::AtomicStampedReference : public ::java::lang::Object
{

public:
  AtomicStampedReference(::java::lang::Object *, jint);
  virtual ::java::lang::Object * getReference();
  virtual jint getStamp();
  virtual ::java::lang::Object * get(JArray< jint > *);
  virtual jboolean weakCompareAndSet(::java::lang::Object *, ::java::lang::Object *, jint, jint);
  virtual jboolean compareAndSet(::java::lang::Object *, ::java::lang::Object *, jint, jint);
  virtual void set(::java::lang::Object *, jint);
  virtual jboolean attemptStamp(::java::lang::Object *, jint);
private:
  ::java::util::concurrent::atomic::AtomicReference * __attribute__((aligned(__alignof__( ::java::lang::Object)))) atomicRef;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_concurrent_atomic_AtomicStampedReference__