summaryrefslogtreecommitdiff
path: root/libjava/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.h
blob: e72055006ccb52d40f1d5c47b0e19d0451a3b829 (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
32
33
34
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_concurrent_atomic_AtomicIntegerFieldUpdater__
#define __java_util_concurrent_atomic_AtomicIntegerFieldUpdater__

#pragma interface

#include <java/lang/Object.h>

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

public:
  static ::java::util::concurrent::atomic::AtomicIntegerFieldUpdater * newUpdater(::java::lang::Class *, ::java::lang::String *);
public: // actually protected
  AtomicIntegerFieldUpdater();
public:
  virtual jboolean compareAndSet(::java::lang::Object *, jint, jint) = 0;
  virtual jboolean weakCompareAndSet(::java::lang::Object *, jint, jint) = 0;
  virtual void set(::java::lang::Object *, jint) = 0;
  virtual void lazySet(::java::lang::Object *, jint) = 0;
  virtual jint get(::java::lang::Object *) = 0;
  virtual jint getAndSet(::java::lang::Object *, jint);
  virtual jint getAndIncrement(::java::lang::Object *);
  virtual jint getAndDecrement(::java::lang::Object *);
  virtual jint getAndAdd(::java::lang::Object *, jint);
  virtual jint incrementAndGet(::java::lang::Object *);
  virtual jint decrementAndGet(::java::lang::Object *);
  virtual jint addAndGet(::java::lang::Object *, jint);
  static ::java::lang::Class class$;
};

#endif // __java_util_concurrent_atomic_AtomicIntegerFieldUpdater__