liuxiaolong
2019-05-06 f99bc8c6a1d10610373738edd7d0aa0181c81d99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
// **********************************************************************
//
// Copyright (c) 2003-2017 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.7.0
//
// <auto-generated>
//
// Generated from file `ExtFaceWithImgOrUrl.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
 
package ExtFaceWithImgOrUrl;
 
public class OutParameters implements java.lang.Cloneable,
                                      java.io.Serializable
{
    public String faceFeaBase64;
 
    public OutParameters()
    {
        this.faceFeaBase64 = "";
    }
 
    public OutParameters(String faceFeaBase64)
    {
        this.faceFeaBase64 = faceFeaBase64;
    }
 
    public boolean equals(java.lang.Object rhs)
    {
        if(this == rhs)
        {
            return true;
        }
        OutParameters r = null;
        if(rhs instanceof OutParameters)
        {
            r = (OutParameters)rhs;
        }
 
        if(r != null)
        {
            if(this.faceFeaBase64 != r.faceFeaBase64)
            {
                if(this.faceFeaBase64 == null || r.faceFeaBase64 == null || !this.faceFeaBase64.equals(r.faceFeaBase64))
                {
                    return false;
                }
            }
 
            return true;
        }
 
        return false;
    }
 
    public int hashCode()
    {
        int h_ = 5381;
        h_ = com.zeroc.IceInternal.HashUtil.hashAdd(h_, "::ExtFaceWithImgOrUrl::OutParameters");
        h_ = com.zeroc.IceInternal.HashUtil.hashAdd(h_, faceFeaBase64);
        return h_;
    }
 
    public OutParameters clone()
    {
        OutParameters c = null;
        try
        {
            c = (OutParameters)super.clone();
        }
        catch(CloneNotSupportedException ex)
        {
            assert false; // impossible
        }
        return c;
    }
 
    public void ice_writeMembers(com.zeroc.Ice.OutputStream ostr)
    {
        ostr.writeString(this.faceFeaBase64);
    }
 
    public void ice_readMembers(com.zeroc.Ice.InputStream istr)
    {
        this.faceFeaBase64 = istr.readString();
    }
 
    static public void ice_write(com.zeroc.Ice.OutputStream ostr, OutParameters v)
    {
        if(v == null)
        {
            _nullMarshalValue.ice_writeMembers(ostr);
        }
        else
        {
            v.ice_writeMembers(ostr);
        }
    }
 
    static public OutParameters ice_read(com.zeroc.Ice.InputStream istr)
    {
        OutParameters v = new OutParameters();
        v.ice_readMembers(istr);
        return v;
    }
 
    static public void ice_write(com.zeroc.Ice.OutputStream ostr, int tag, java.util.Optional<OutParameters> v)
    {
        if(v != null && v.isPresent())
        {
            ice_write(ostr, tag, v.get());
        }
    }
 
    static public void ice_write(com.zeroc.Ice.OutputStream ostr, int tag, OutParameters v)
    {
        if(ostr.writeOptional(tag, com.zeroc.Ice.OptionalFormat.FSize))
        {
            int pos = ostr.startSize();
            ice_write(ostr, v);
            ostr.endSize(pos);
        }
    }
 
    static public java.util.Optional<OutParameters> ice_read(com.zeroc.Ice.InputStream istr, int tag)
    {
        if(istr.readOptional(tag, com.zeroc.Ice.OptionalFormat.FSize))
        {
            istr.skip(4);
            return java.util.Optional.of(OutParameters.ice_read(istr));
        }
        else
        {
            return java.util.Optional.empty();
        }
    }
 
    private static final OutParameters _nullMarshalValue = new OutParameters();
 
    public static final long serialVersionUID = 2141085235L;
}