public final class LinkedArrayQueueUtil extends Object
| Constructor and Description |
|---|
LinkedArrayQueueUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
length(Object[] buf) |
static long |
modifiedCalcCircularRefElementOffset(long index,
long mask)
This method assumes index is actually (index << 1) because lower bit is
used for resize.
|
static long |
nextArrayOffset(Object[] curr) |
public static int length(Object[] buf)
public static long modifiedCalcCircularRefElementOffset(long index,
long mask)
public static long nextArrayOffset(Object[] curr)
Copyright © 2013–2024. All rights reserved.