org.apache.hadoop.hbase.util
Class Objects

java.lang.Object
  extended by org.apache.hadoop.hbase.util.Objects

public class Objects
extends java.lang.Object

Utility methods for interacting with object instances.


Constructor Summary
Objects()
           
 
Method Summary
static java.lang.String describeQuantity(java.lang.Object obj)
          Attempts to construct a text description of the given object, by introspecting known classes and building a description of size.
static void quantify(java.lang.Object obj, org.apache.hadoop.hbase.util.Objects.QuantityMap quantities)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Objects

public Objects()
Method Detail

describeQuantity

public static java.lang.String describeQuantity(java.lang.Object obj)
Attempts to construct a text description of the given object, by introspecting known classes and building a description of size.

Parameters:
obj -
Returns:
Description

quantify

public static void quantify(java.lang.Object obj,
                            org.apache.hadoop.hbase.util.Objects.QuantityMap quantities)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.