Comments below present the correct solutions, respectively, by Fuckhead Sr. and Fuckhead Jr., with guest commentary by FucksHisMomInTheAssCauseHerPussy'sFilledWithPus... And to think that all three of them is one and the same incestuous redneck schizo... wow...
public static final int ZERO = 0x0;
private static int enum = ZERO;
public static final int FIRST = ++enum;
public static final int SECOND = ++enum;
...
I suggest another way of determining object's size:
public static long sizeof(Object pObj) {
try {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ObjectOutputStream oos = new ObjectOutputStream(baos);
oos.writeObject(pObj);
byte[] bytes = baos.toByteArray();
oos.close();
baos.close();
return bytes.length;
} catch (IOException ioe) {
return -1;
}
}
I'm a Microsoft guy, so reading news about the spread of Linux is often times disheartening. [...] Linux advocates will go to no end to find new and interesting ways to position the language, installing it on anything with a microprocessor.
Say what?
All trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the Poster. The Rest © 1997-2008 SourceForge, Inc.