Class GridTuple4<V1,​V2,​V3,​V4>

    • Constructor Detail

      • GridTuple4

        public GridTuple4()
        Empty constructor required by Externalizable.
      • GridTuple4

        public GridTuple4​(@Nullable
                          V1 val1,
                          @Nullable
                          V2 val2,
                          @Nullable
                          V3 val3,
                          @Nullable
                          V4 val4)
        Fully initializes this tuple.
        Parameters:
        val1 - First value.
        val2 - Second value.
        val3 - Third value.
        val4 - Forth value.
    • Method Detail

      • get1

        @Nullable
        public V1 get1()
        Gets first value.
        Returns:
        First value.
      • get2

        @Nullable
        public V2 get2()
        Gets second value.
        Returns:
        Second value.
      • get3

        @Nullable
        public V3 get3()
        Gets third value.
        Returns:
        Third value.
      • get4

        @Nullable
        public V4 get4()
        Gets forth value.
        Returns:
        Forth value.
      • set1

        public void set1​(@Nullable
                         V1 val1)
        Sets first value.
        Parameters:
        val1 - First value.
      • set2

        public void set2​(@Nullable
                         V2 val2)
        Sets second value.
        Parameters:
        val2 - Second value.
      • set3

        public void set3​(@Nullable
                         V3 val3)
        Sets third value.
        Parameters:
        val3 - Third value.
      • set4

        public void set4​(@Nullable
                         V4 val4)
        Sets fourth value.
        Parameters:
        val4 - Fourth value.
      • set

        public void set​(@Nullable
                        V1 val1,
                        @Nullable
                        V2 val2,
                        @Nullable
                        V3 val3,
                        @Nullable
                        V4 val4)
        Sets all values.
        Parameters:
        val1 - First value.
        val2 - Second value.
        val3 - Third value.
        val4 - Fourth value.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object