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

org.web3j.tuples.generated.Tuple16 Maven / Gradle / Ivy

There is a newer version: 5.0.0
Show newest version
package org.web3j.tuples.generated;

import org.web3j.tuples.Tuple;

/**
 * Auto generated code.
 * 

Do not modifiy! *

Please use org.web3j.codegen.TupleGenerator in the * codegen module to update. */ public final class Tuple16 implements Tuple { private static final int SIZE = 16; private final T1 value1; private final T2 value2; private final T3 value3; private final T4 value4; private final T5 value5; private final T6 value6; private final T7 value7; private final T8 value8; private final T9 value9; private final T10 value10; private final T11 value11; private final T12 value12; private final T13 value13; private final T14 value14; private final T15 value15; private final T16 value16; public Tuple16(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8, T9 value9, T10 value10, T11 value11, T12 value12, T13 value13, T14 value14, T15 value15, T16 value16) { this.value1 = value1; this.value2 = value2; this.value3 = value3; this.value4 = value4; this.value5 = value5; this.value6 = value6; this.value7 = value7; this.value8 = value8; this.value9 = value9; this.value10 = value10; this.value11 = value11; this.value12 = value12; this.value13 = value13; this.value14 = value14; this.value15 = value15; this.value16 = value16; } /** * @deprecated use 'component1' method instead * @return a value */ @Deprecated public T1 getValue1() { return value1; } public T1 component1() { return value1; } /** * @deprecated use 'component2' method instead * @return a value */ @Deprecated public T2 getValue2() { return value2; } public T2 component2() { return value2; } /** * @deprecated use 'component3' method instead * @return a value */ @Deprecated public T3 getValue3() { return value3; } public T3 component3() { return value3; } /** * @deprecated use 'component4' method instead * @return a value */ @Deprecated public T4 getValue4() { return value4; } public T4 component4() { return value4; } /** * @deprecated use 'component5' method instead * @return a value */ @Deprecated public T5 getValue5() { return value5; } public T5 component5() { return value5; } /** * @deprecated use 'component6' method instead * @return a value */ @Deprecated public T6 getValue6() { return value6; } public T6 component6() { return value6; } /** * @deprecated use 'component7' method instead * @return a value */ @Deprecated public T7 getValue7() { return value7; } public T7 component7() { return value7; } /** * @deprecated use 'component8' method instead * @return a value */ @Deprecated public T8 getValue8() { return value8; } public T8 component8() { return value8; } /** * @deprecated use 'component9' method instead * @return a value */ @Deprecated public T9 getValue9() { return value9; } public T9 component9() { return value9; } /** * @deprecated use 'component10' method instead * @return a value */ @Deprecated public T10 getValue10() { return value10; } public T10 component10() { return value10; } /** * @deprecated use 'component11' method instead * @return a value */ @Deprecated public T11 getValue11() { return value11; } public T11 component11() { return value11; } /** * @deprecated use 'component12' method instead * @return a value */ @Deprecated public T12 getValue12() { return value12; } public T12 component12() { return value12; } /** * @deprecated use 'component13' method instead * @return a value */ @Deprecated public T13 getValue13() { return value13; } public T13 component13() { return value13; } /** * @deprecated use 'component14' method instead * @return a value */ @Deprecated public T14 getValue14() { return value14; } public T14 component14() { return value14; } /** * @deprecated use 'component15' method instead * @return a value */ @Deprecated public T15 getValue15() { return value15; } public T15 component15() { return value15; } /** * @deprecated use 'component16' method instead * @return a value */ @Deprecated public T16 getValue16() { return value16; } public T16 component16() { return value16; } @Override public int getSize() { return SIZE; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Tuple16 tuple16 = (Tuple16) o; if (value1 != null ? !value1.equals(tuple16.value1) : tuple16.value1 != null) { return false; } if (value2 != null ? !value2.equals(tuple16.value2) : tuple16.value2 != null) { return false; } if (value3 != null ? !value3.equals(tuple16.value3) : tuple16.value3 != null) { return false; } if (value4 != null ? !value4.equals(tuple16.value4) : tuple16.value4 != null) { return false; } if (value5 != null ? !value5.equals(tuple16.value5) : tuple16.value5 != null) { return false; } if (value6 != null ? !value6.equals(tuple16.value6) : tuple16.value6 != null) { return false; } if (value7 != null ? !value7.equals(tuple16.value7) : tuple16.value7 != null) { return false; } if (value8 != null ? !value8.equals(tuple16.value8) : tuple16.value8 != null) { return false; } if (value9 != null ? !value9.equals(tuple16.value9) : tuple16.value9 != null) { return false; } if (value10 != null ? !value10.equals(tuple16.value10) : tuple16.value10 != null) { return false; } if (value11 != null ? !value11.equals(tuple16.value11) : tuple16.value11 != null) { return false; } if (value12 != null ? !value12.equals(tuple16.value12) : tuple16.value12 != null) { return false; } if (value13 != null ? !value13.equals(tuple16.value13) : tuple16.value13 != null) { return false; } if (value14 != null ? !value14.equals(tuple16.value14) : tuple16.value14 != null) { return false; } if (value15 != null ? !value15.equals(tuple16.value15) : tuple16.value15 != null) { return false; } return value16 != null ? value16.equals(tuple16.value16) : tuple16.value16 == null; } @Override public int hashCode() { int result = value1.hashCode(); result = 31 * result + (value2 != null ? value2.hashCode() : 0); result = 31 * result + (value3 != null ? value3.hashCode() : 0); result = 31 * result + (value4 != null ? value4.hashCode() : 0); result = 31 * result + (value5 != null ? value5.hashCode() : 0); result = 31 * result + (value6 != null ? value6.hashCode() : 0); result = 31 * result + (value7 != null ? value7.hashCode() : 0); result = 31 * result + (value8 != null ? value8.hashCode() : 0); result = 31 * result + (value9 != null ? value9.hashCode() : 0); result = 31 * result + (value10 != null ? value10.hashCode() : 0); result = 31 * result + (value11 != null ? value11.hashCode() : 0); result = 31 * result + (value12 != null ? value12.hashCode() : 0); result = 31 * result + (value13 != null ? value13.hashCode() : 0); result = 31 * result + (value14 != null ? value14.hashCode() : 0); result = 31 * result + (value15 != null ? value15.hashCode() : 0); result = 31 * result + (value16 != null ? value16.hashCode() : 0); return result; } @Override public String toString() { return "Tuple16{" + "value1=" + value1 + ", value2=" + value2 + ", value3=" + value3 + ", value4=" + value4 + ", value5=" + value5 + ", value6=" + value6 + ", value7=" + value7 + ", value8=" + value8 + ", value9=" + value9 + ", value10=" + value10 + ", value11=" + value11 + ", value12=" + value12 + ", value13=" + value13 + ", value14=" + value14 + ", value15=" + value15 + ", value16=" + value16 + "}"; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy