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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources
public PackedLongValues build()
PackedLongValues
instance that contains values that
have been added to this builder. This operation is destructive.public final long ramBytesUsed()
Accountable
ramBytesUsed
in interface Accountable
public final long size()
public PackedLongValues.Builder add(long l)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.