00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 package comedyarch.autogen;
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00026 public enum Funny implements java.io.Serializable
00027 {
00028
00029 HAHA,
00030
00031 PECULIAR;
00032
00033 public void
00034 __write(IceInternal.BasicStream __os)
00035 {
00036 __os.writeByte((byte)ordinal());
00037 }
00038
00039 public static Funny
00040 __read(IceInternal.BasicStream __is)
00041 {
00042 int __v = __is.readByte(2);
00043 return values()[__v];
00044 }
00045
00046 public void
00047 ice_write(Ice.OutputStream __outS)
00048 {
00049 __outS.writeByte((byte)ordinal());
00050 }
00051
00052 public static Funny
00053 ice_read(Ice.InputStream __inS)
00054 {
00055 int __v = __inS.readByte();
00056 if(__v < 0 || __v >= 2)
00057 {
00058 throw new Ice.MarshalException("enumerator out of range");
00059 }
00060 return values()[__v];
00061 }
00062 }