public class UnsafeUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UnsafeUtil.OwningUnsafe |
Modifier and Type | Field and Description |
---|---|
static sun.misc.Unsafe |
UNSAFE |
Constructor and Description |
---|
UnsafeUtil() |
Modifier and Type | Method and Description |
---|---|
static UnsafeUtil.OwningUnsafe |
create(long sizeInBytes) |
static long |
getAddress(Object store) |
static long |
getFirstArrayElementAddress(Object array) |
static void |
main(String[] args) |
public static final long getAddress(Object store)
public static long getFirstArrayElementAddress(Object array)
public static UnsafeUtil.OwningUnsafe create(long sizeInBytes)
public static void main(String[] args)
Copyright © 2015–2022 ImgLib2. All rights reserved.