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

IceGrid.AdapterDescriptorSeqHelper Maven / Gradle / Ivy

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 `Descriptor.ice'
//
// Warning: do not edit this file.
//
// 
//

package IceGrid;

public final class AdapterDescriptorSeqHelper
{
    public static void
    write(Ice.OutputStream ostr, java.util.List v)
    {
        if(v == null)
        {
            ostr.writeSize(0);
        }
        else
        {
            ostr.writeSize(v.size());
            for(AdapterDescriptor elem : v)
            {
                AdapterDescriptor.ice_write(ostr, elem);
            }
        }
    }

    public static java.util.List
    read(Ice.InputStream istr)
    {
        java.util.List v;
        v = new java.util.LinkedList();
        final int len0 = istr.readAndCheckSeqSize(9);
        for(int i0 = 0; i0 < len0; i0++)
        {
            AdapterDescriptor elem = null;
            elem = AdapterDescriptor.ice_read(istr);
            v.add(elem);
        }
        return v;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy