com.allegro.webapi.ArrayOfLong Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of allegro-webapi Show documentation
Show all versions of allegro-webapi Show documentation
Allegro Web API WSDL converted to Java
/**
* ArrayOfLong.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.allegro.webapi;
public class ArrayOfLong implements java.io.Serializable {
private long[] item;
public ArrayOfLong() {
}
public ArrayOfLong(
long[] item) {
this.item = item;
}
/**
* Gets the item value for this ArrayOfLong.
*
* @return item
*/
public long[] getItem() {
return item;
}
/**
* Sets the item value for this ArrayOfLong.
*
* @param item
*/
public void setItem(long[] item) {
this.item = item;
}
public long getItem(int i) {
return this.item[i];
}
public void setItem(int i, long _value) {
this.item[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ArrayOfLong)) return false;
ArrayOfLong other = (ArrayOfLong) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.item==null && other.getItem()==null) ||
(this.item!=null &&
java.util.Arrays.equals(this.item, other.getItem())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getItem() != null) {
for (int i=0;
i