Package smetana.core
Class size_t
java.lang.Object
smetana.core.size_t
public class size_t
extends java.lang.Object
"Pseudo size" of a C structure. In C, this is the actual size of the structure. In Java, this is an indication to
know which structure we are going to allocate.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
tobeAllocated
public final java.lang.Class tobeAllocated
-
-
Constructor Details
-
size_t
public size_t(java.lang.Class tobeAllocated)
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
negate
-
multiply
-
isStrictPositive
public boolean isStrictPositive() -
isStrictNegative
public boolean isStrictNegative() -
getTobeAllocated
public final java.lang.Class getTobeAllocated() -
malloc
-
plus
-
isZero
public boolean isZero() -
realloc
-
getInternalNb
public int getInternalNb()
-