Class HugeSparseLongArray.Builder
- java.lang.Object
-
- org.neo4j.graphalgo.core.utils.paged.HugeSparseLongArray.Builder
-
- Enclosing class:
- HugeSparseLongArray
public static final class HugeSparseLongArray.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HugeSparseLongArray
build()
void
set(long index, long value)
boolean
setIfAbsent(long index, long value)
-
-
-
Method Detail
-
set
public void set(long index, long value)
-
setIfAbsent
public boolean setIfAbsent(long index, long value)
- Returns:
- true iff the value was absent and was added, false if there already was a value at this position.
-
build
public HugeSparseLongArray build()
-
-