Package org.neo4j.gds.core.utils.paged
Class PagedAtomicIntegerArray
- java.lang.Object
-
- org.neo4j.gds.core.utils.paged.PagedDataStructure<java.util.concurrent.atomic.AtomicIntegerArray>
-
- org.neo4j.gds.core.utils.paged.PagedAtomicIntegerArray
-
public final class PagedAtomicIntegerArray extends PagedDataStructure<java.util.concurrent.atomic.AtomicIntegerArray>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(long index, int delta)booleancas(long index, int expected, int update)intget(long index)static PagedAtomicIntegerArraynewArray(long size)voidset(long index, int value)-
Methods inherited from class org.neo4j.gds.core.utils.paged.PagedDataStructure
capacity, numPages, release, size
-
-
-
-
Method Detail
-
newArray
public static PagedAtomicIntegerArray newArray(long size)
-
get
public int get(long index)
-
set
public void set(long index, int value)
-
add
public void add(long index, int delta)
-
cas
public boolean cas(long index, int expected, int update)
-
-