Example #1
0
        //UPGRADE_TODO: Class 'java.io.DataOutputStream' was converted to 'System.IO.BinaryWriter' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataOutputStream'"
        public override void  metaWriteExternal(System.IO.BinaryWriter out_Renamed)
        {
            //UPGRADE_TODO: Class 'java.util.HashMap' was converted to 'System.Collections.Hashtable' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javautilHashMap'"
            System.Collections.Hashtable h = (System.Collections.Hashtable)val;
            System.Object keyTagObj;

            ExtUtil.writeBool(out_Renamed, ordered);

            //UPGRADE_TODO: Method 'java.util.Iterator.next' was converted to 'System.Collections.IEnumerator.Current' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javautilIteratornext'"
            //UPGRADE_TODO: Method 'java.util.HashMap.keySet' was converted to 'SupportClass.HashSetSupport' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javautilHashMapkeySet'"
            keyTagObj = (keyType == null?(h.Count == 0?new System.Object():new SupportClass.HashSetSupport(h.Keys).GetEnumerator().Current):keyType);
            ExtWrapTagged.writeTag(out_Renamed, keyTagObj);
        }
Example #2
0
        //UPGRADE_TODO: Class 'java.io.DataOutputStream' was converted to 'System.IO.BinaryWriter' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataOutputStream'"
        public override void metaWriteExternal(System.IO.BinaryWriter out_Renamed)
        {
            System.Collections.ArrayList v = (System.Collections.ArrayList)val;
            System.Object tagObj;

            if (type == null)
            {
                if (v.Count == 0)
                {
                    tagObj = new System.Object();
                }
                else
                {
                    tagObj = v[0];
                }
            }
            else
            {
                tagObj = type;
            }

            ExtWrapTagged.writeTag(out_Renamed, tagObj);
        }
Example #3
0
 //UPGRADE_TODO: Class 'java.io.DataInputStream' was converted to 'System.IO.BinaryReader' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataInputStream'"
 public override void  metaReadExternal(System.IO.BinaryReader in_Renamed, PrototypeFactory pf)
 {
     ordered = ExtUtil.readBool(in_Renamed);
     keyType = ExtWrapTagged.readTag(in_Renamed, pf);
 }
Example #4
0
 //UPGRADE_TODO: Class 'java.io.DataInputStream' was converted to 'System.IO.BinaryReader' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataInputStream'"
 public override void metaReadExternal(System.IO.BinaryReader in_Renamed, PrototypeFactory pf)
 {
     type = ExtWrapTagged.readTag(in_Renamed, pf);
 }
Example #5
0
 //UPGRADE_TODO: Class 'java.io.DataOutputStream' was converted to 'System.IO.BinaryWriter' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataOutputStream'"
 public override void  metaWriteExternal(System.IO.BinaryWriter out_Renamed)
 {
     ExtWrapTagged.writeTag(out_Renamed, val == null?new System.Object():val);
 }