org.mmbase.util
Class SizeOf

java.lang.Object
  extended byorg.mmbase.util.SizeOf

public class SizeOf
extends java.lang.Object

Implementation of sizeof.

Since:
MMBase-1.6
Author:
Michiel Meeuwissen

Constructor Summary
SizeOf()
           
 
Method Summary
static int getByteSize(java.lang.Object obj)
           
static int sizeof(boolean b)
           
static int sizeof(byte b)
           
static int sizeof(char c)
           
static int sizeof(double d)
           
static int sizeof(float f)
           
static int sizeof(int i)
           
static int sizeof(long l)
           
 int sizeof(java.lang.Object obj)
           
static int sizeof(short s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SizeOf

public SizeOf()
Method Detail

sizeof

public static int sizeof(boolean b)

sizeof

public static int sizeof(byte b)

sizeof

public static int sizeof(char c)

sizeof

public static int sizeof(short s)

sizeof

public static int sizeof(int i)

sizeof

public static int sizeof(long l)

sizeof

public static int sizeof(float f)

sizeof

public static int sizeof(double d)

getByteSize

public static int getByteSize(java.lang.Object obj)

sizeof

public int sizeof(java.lang.Object obj)


MMBase build 1.7.1.20041002