package com.miviclin.droidengine2d.util;

public final class PrimitiveTypeSize {
	
	public final static int SIZE_OF_BYTE = 1;
	public final static int SIZE_OF_CHAR = 2;
	public final static int SIZE_OF_SHORT = 2;
	public final static int SIZE_OF_INT = 4;
	public final static int SIZE_OF_LONG = 8;
	public final static int SIZE_OF_FLOAT = 4;
	public final static int SIZE_OF_DOUBLE = 8;
	
}

package com.miviclin.droidengine2d.util;

/**
 * Clase que contiene constantes que definen el numero de bytes de cada tipo base
 * 
 * @author Miguel Vicente Linares
 * 
 */
public final class PrimitiveTypeSize {
	
	/**
	 * Numero de bytes que ocupa un byte
	 */
	public final static int SIZE_OF_BYTE = 1;
	
	/**
	 * Numero de bytes que ocupa un char
	 */
	public final static int SIZE_OF_CHAR = 2;
	
	/**
	 * Numero de bytes que ocupa un short
	 */
	public final static int SIZE_OF_SHORT = 2;
	
	/**
	 * Numero de bytes que ocupa un int
	 */
	public final static int SIZE_OF_INT = 4;
	
	/**
	 * Numero de bytes que ocupa un long
	 */
	public final static int SIZE_OF_LONG = 8;
	
	/**
	 * Numero de bytes que ocupa un float
	 */
	public final static int SIZE_OF_FLOAT = 4;
	
	/**
	 * Numero de bytes que ocupa un double
	 */
	public final static int SIZE_OF_DOUBLE = 8;
	
}

Add javadoc to PrimitiveTypeSize