All Downloads are FREE. Search and download functionalities are using the official Maven repository.

IceMX.MetricsMapHelper Maven / Gradle / Ivy

Go to download

Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms

There is a newer version: 3.7.10
Show newest version
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.3
//
// 
//
// Generated from file `Metrics.ice'
//
// Warning: do not edit this file.
//
// 
//

package IceMX;

public final class MetricsMapHelper
{
    public static void
    write(Ice.OutputStream ostr, Metrics[] v)
    {
        if(v == null)
        {
            ostr.writeSize(0);
        }
        else
        {
            ostr.writeSize(v.length);
            for(int i0 = 0; i0 < v.length; i0++)
            {
                ostr.writeValue(v[i0]);
            }
        }
    }

    public static Metrics[]
    read(Ice.InputStream istr)
    {
        Metrics[] v;
        final int len0 = istr.readAndCheckSeqSize(1);
        v = new Metrics[len0];
        for(int i0 = 0; i0 < len0; i0++)
        {
            istr.readValue(new IceInternal.SequencePatcher(v, Metrics.class, i0));
        }
        return v;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy