BsDataListReq.java 1.99 KB
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//

package BaseStationData;

public class BsDataListReq implements java.lang.Cloneable, java.io.Serializable
{
    public BsData[] bsList;

    public BsDataListReq()
    {
    }

    public BsDataListReq(BsData[] bsList)
    {
        this.bsList = bsList;
    }

    public boolean
    equals(java.lang.Object rhs)
    {
        if(this == rhs)
        {
            return true;
        }
        BsDataListReq _r = null;
        if(rhs instanceof BsDataListReq)
        {
            _r = (BsDataListReq)rhs;
        }

        if(_r != null)
        {
            if(!java.util.Arrays.equals(bsList, _r.bsList))
            {
                return false;
            }

            return true;
        }

        return false;
    }

    public int
    hashCode()
    {
        int __h = 5381;
        __h = IceInternal.HashUtil.hashAdd(__h, "::BaseStationData::BsDataListReq");
        __h = IceInternal.HashUtil.hashAdd(__h, bsList);
        return __h;
    }

    public java.lang.Object
    clone()
    {
        java.lang.Object o = null;
        try
        {
            o = super.clone();
        }
        catch(CloneNotSupportedException ex)
        {
            assert false; // impossible
        }
        return o;
    }

    public void
    __write(IceInternal.BasicStream __os)
    {
        BsListReqHelper.write(__os, bsList);
    }

    public void
    __read(IceInternal.BasicStream __is)
    {
        bsList = BsListReqHelper.read(__is);
    }

    public static final long serialVersionUID = 3819908727059142693L;
}