org.apache.hadoop.hbase.util
Class Objects
java.lang.Object
org.apache.hadoop.hbase.util.Objects
public class Objects
- extends Object
Utility methods for interacting with object instances.
Method Summary |
static String |
describeQuantity(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(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 |
Objects
public Objects()
describeQuantity
public static String describeQuantity(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(Object obj,
org.apache.hadoop.hbase.util.Objects.QuantityMap quantities)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.