public static final class LargeLongArray.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
LargeLongArray.Builder |
assertNonZero(boolean on) |
LargeLongArray.Builder |
assertUnique(boolean on)
Validate ( on sort) that the array contains unique values.
|
LargeLongArray |
build()
Create the LargeLongArray
|
LargeLongArray.Builder |
setExpectedCapacity(int capacity)
Adjust the segment size to be no larger than the capacity.
|
LargeLongArray.Builder |
setInputShared(boolean on)
Is the input data shared ( clone before changing) (DEFAULT on)
|
LargeLongArray.Builder |
setOutputShared(boolean on)
Is the output arrays shared ( clone on pack)
|
LargeLongArray.Builder |
setSanity(java.lang.Object sanity)
Set the sanity call back object.
|
LargeLongArray.Builder |
setSegmentSize(int size)
Set the segment size to use when repacking.
|
java.lang.String |
toString() |
LargeLongArray.Builder |
validateNonZero(boolean on) |
LargeLongArray.Builder |
validateUnique(boolean on)
Validate ( on sort) that the array contains unique values.
|
@Nonnull @CheckReturnValue public java.lang.String toString()
toString
in class java.lang.Object
@Nonnull public LargeLongArray.Builder validateNonZero(boolean on)
@Nonnull public LargeLongArray.Builder setSegmentSize(@Nonnegative int size)
size
- the segment size.@Nonnull public LargeLongArray.Builder setExpectedCapacity(@Nonnegative int capacity)
capacity
- the expected number of records.@Nonnull public LargeLongArray.Builder setSanity(@Nullable java.lang.Object sanity)
sanity
- the call back object.@Nonnull public LargeLongArray.Builder validateUnique(boolean on)
on
- turns this feature on/off@Nonnull public LargeLongArray.Builder assertNonZero(boolean on)
@Nonnull public LargeLongArray.Builder assertUnique(boolean on)
on
- turns this feature on/off@Nonnull public LargeLongArray.Builder setInputShared(boolean on)
on
- turns this feature on/off@Nonnull public LargeLongArray.Builder setOutputShared(boolean on)
on
- turns this feature on/off (DEFAULT on)@Nonnull @CheckReturnValue public LargeLongArray build()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.