public static class PackedLongValues.Builder extends Object implements Accountable
PackedLongValues instance.| Modifier and Type | Method and Description |
|---|---|
PackedLongValues.Builder |
add(long l)
Add a new element to this builder.
|
PackedLongValues |
build()
Build a
PackedLongValues instance that contains values that
have been added to this builder. |
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
long |
size()
Return the number of elements that have been added to this builder.
|
public PackedLongValues build()
PackedLongValues instance that contains values that
have been added to this builder. This operation is destructive.public final long ramBytesUsed()
AccountableramBytesUsed in interface Accountablepublic final long size()
public PackedLongValues.Builder add(long l)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.