joeq.ClassLib.sun15_linux.sun.misc
Class Unsafe

java.lang.Object
  extended by joeq.ClassLib.sun15_linux.sun.misc.Unsafe

public final class Unsafe
extends Object

Unsafe

Version:
$Id: Unsafe.java,v 1.1 2004/03/11 04:14:22 jwhaley Exp $
Author:
John Whaley

Constructor Summary
Unsafe()
           
 
Method Summary
 boolean compareAndSwapInt(Object o, long off, int a, int b)
           
 boolean compareAndSwapLong(Object o, long off, long a, long b)
           
 boolean compareAndSwapObject(Object o, long off, Object a, Object b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Unsafe

public Unsafe()
Method Detail

compareAndSwapLong

public boolean compareAndSwapLong(Object o,
                                  long off,
                                  long a,
                                  long b)

compareAndSwapInt

public boolean compareAndSwapInt(Object o,
                                 long off,
                                 int a,
                                 int b)

compareAndSwapObject

public boolean compareAndSwapObject(Object o,
                                    long off,
                                    Object a,
                                    Object b)


Copyright © 2001-2005 John Whaley. All Rights Reserved.