aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/util/concurrent/atomic/AtomicInteger.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
committerTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
commit97b8365cafc3a344a22d3980b8ed885f5c6d8357 (patch)
tree996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/java/util/concurrent/atomic/AtomicInteger.h
parentc648dedbde727ca3f883bb5fd773aa4af70d3369 (diff)
downloadgcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.zip
gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.gz
gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.bz2
Merged gcj-eclipse branch to trunk.
From-SVN: r120621
Diffstat (limited to 'libjava/java/util/concurrent/atomic/AtomicInteger.h')
-rw-r--r--libjava/java/util/concurrent/atomic/AtomicInteger.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/libjava/java/util/concurrent/atomic/AtomicInteger.h b/libjava/java/util/concurrent/atomic/AtomicInteger.h
new file mode 100644
index 0000000..286aff1
--- /dev/null
+++ b/libjava/java/util/concurrent/atomic/AtomicInteger.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_atomic_AtomicInteger__
+#define __java_util_concurrent_atomic_AtomicInteger__
+
+#pragma interface
+
+#include <java/lang/Number.h>
+extern "Java"
+{
+ namespace sun
+ {
+ namespace misc
+ {
+ class Unsafe;
+ }
+ }
+}
+
+class java::util::concurrent::atomic::AtomicInteger : public ::java::lang::Number
+{
+
+public:
+ AtomicInteger(jint);
+ AtomicInteger();
+ virtual jint get();
+ virtual void set(jint);
+ virtual void lazySet(jint);
+ virtual jint getAndSet(jint);
+ virtual jboolean compareAndSet(jint, jint);
+ virtual jboolean weakCompareAndSet(jint, jint);
+ virtual jint getAndIncrement();
+ virtual jint getAndDecrement();
+ virtual jint getAndAdd(jint);
+ virtual jint incrementAndGet();
+ virtual jint decrementAndGet();
+ virtual jint addAndGet(jint);
+ virtual ::java::lang::String * toString();
+ virtual jint intValue();
+ virtual jlong longValue();
+ virtual jfloat floatValue();
+ virtual jdouble doubleValue();
+private:
+ static const jlong serialVersionUID = 6214790243416807050LL;
+ static ::sun::misc::Unsafe * unsafe;
+ static jlong valueOffset;
+ volatile jint __attribute__((aligned(__alignof__( ::java::lang::Number)))) value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_atomic_AtomicInteger__