Beispiel #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Override @SuppressWarnings("boxing") protected Void dispatchLongArrayProperty(PropertyArray<long[], long> array, String param)
            protected internal override Void DispatchLongArrayProperty(PropertyArray <long[], long> array, string param)
            {
                ListWriter list = Writer.newList(RepresentationType.Long, param);

                foreach (long?j in array)
                {
                    list.writeInteger(RepresentationType.Long, j);
                }
                list.Done();
                return(null);
            }
Beispiel #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Override @SuppressWarnings("boxing") protected Void dispatchIntegerArrayProperty(PropertyArray<int[], int> array, String param)
            protected internal override Void DispatchIntegerArrayProperty(PropertyArray <int[], int> array, string param)
            {
                ListWriter list = Writer.newList(RepresentationType.Integer, param);

                foreach (int?i in array)
                {
                    list.writeInteger(RepresentationType.Integer, i);
                }
                list.Done();
                return(null);
            }
Beispiel #3
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Override @SuppressWarnings("boxing") protected Void dispatchShortArrayProperty(PropertyArray<short[], short> array, String param)
            protected internal override Void DispatchShortArrayProperty(PropertyArray <short[], short> array, string param)
            {
                ListWriter list = Writer.newList(RepresentationType.Short, param);

                foreach (short?s in array)
                {
                    list.writeInteger(RepresentationType.Short, s);
                }
                list.Done();
                return(null);
            }
Beispiel #4
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Override @SuppressWarnings("boxing") protected Void dispatchCharacterArrayProperty(PropertyArray<char[], char> array, String param)
            protected internal override Void DispatchCharacterArrayProperty(PropertyArray <char[], char> array, string param)
            {
                ListWriter list = Writer.newList(RepresentationType.Char, param);

                foreach (char?c in array)
                {
                    list.writeInteger(RepresentationType.Char, c);
                }
                list.Done();
                return(null);
            }
Beispiel #5
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Override @SuppressWarnings("boxing") protected Void dispatchByteArrayProperty(PropertyArray<byte[], sbyte> array, String param)
            protected internal override Void DispatchByteArrayProperty(PropertyArray <sbyte[], sbyte> array, string param)
            {
                ListWriter list = Writer.newList(RepresentationType.Byte, param);

                foreach (sbyte?b in array)
                {
                    list.writeInteger(RepresentationType.Byte, b);
                }
                list.Done();
                return(null);
            }