Package | Description |
---|---|
org.elasticsearch.common.util |
Modifier and Type | Method and Description |
---|---|
LongArray |
BigArrays.grow(LongArray array,
long minSize)
Grow an array to a size that is larger than
minSize , preserving content, and potentially reusing part of the provided array. |
LongArray |
BigArrays.newLongArray(long size)
Allocate a new
LongArray . |
LongArray |
BigArrays.newLongArray(long size,
boolean clearOnResize)
Allocate a new
LongArray . |
LongArray |
BigArrays.resize(LongArray array,
long size)
Resize the array to the exact provided size.
|
Modifier and Type | Method and Description |
---|---|
LongArray |
BigArrays.grow(LongArray array,
long minSize)
Grow an array to a size that is larger than
minSize , preserving content, and potentially reusing part of the provided array. |
LongArray |
BigArrays.resize(LongArray array,
long size)
Resize the array to the exact provided size.
|
Copyright © 2009–2015. All rights reserved.