public class AverageGuessMemoryModel extends MemoryModel
Constructor and Description |
---|
AverageGuessMemoryModel() |
Modifier and Type | Method and Description |
---|---|
int |
getArraySize() |
int |
getClassSize() |
int |
getPrimitiveSize(Class clazz) |
int |
getReferenceSize() |
public int getArraySize()
getArraySize
in class MemoryModel
public int getClassSize()
getClassSize
in class MemoryModel
public int getPrimitiveSize(Class clazz)
getPrimitiveSize
in class MemoryModel
clazz
- a primitive Class - bool, byte, char, short, long, float,
short, double, intpublic int getReferenceSize()
getReferenceSize
in class MemoryModel
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.