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
00023 public final class JokeListHelper
00024 {
00025 public static void
00026 write(IceInternal.BasicStream __os, Joke[] __v)
00027 {
00028 if(__v == null)
00029 {
00030 __os.writeSize(0);
00031 }
00032 else
00033 {
00034 __os.writeSize(__v.length);
00035 for(int __i0 = 0; __i0 < __v.length; __i0++)
00036 {
00037 __os.writeObject(__v[__i0]);
00038 }
00039 }
00040 }
00041
00042 public static Joke[]
00043 read(IceInternal.BasicStream __is)
00044 {
00045 Joke[] __v;
00046 final int __len0 = __is.readAndCheckSeqSize(4);
00047 final String __type0 = Joke.ice_staticId();
00048 __v = new Joke[__len0];
00049 for(int __i0 = 0; __i0 < __len0; __i0++)
00050 {
00051 __is.readObject(new IceInternal.SequencePatcher(__v, Joke.class, __type0, __i0));
00052 }
00053 return __v;
00054 }
00055
00056 public static void
00057 write(Ice.OutputStream __outS, Joke[] __v)
00058 {
00059 if(__v == null)
00060 {
00061 __outS.writeSize(0);
00062 }
00063 else
00064 {
00065 __outS.writeSize(__v.length);
00066 for(int __i0 = 0; __i0 < __v.length; __i0++)
00067 {
00068 __outS.writeObject(__v[__i0]);
00069 }
00070 }
00071 }
00072
00073 public static Joke[]
00074 read(Ice.InputStream __inS)
00075 {
00076 Joke[] __v;
00077 final int __len0 = __inS.readAndCheckSeqSize(4);
00078 final String __type0 = Joke.ice_staticId();
00079 __v = new Joke[__len0];
00080 for(int __i0 = 0; __i0 < __len0; __i0++)
00081 {
00082 __inS.readObject(new IceInternal.SequencePatcher(__v, Joke.class, __type0, __i0));
00083 }
00084 return __v;
00085 }
00086 }