Class Alt3<V1,​V2,​V3>

  • All Implemented Interfaces:
    Alt

    public class Alt3<V1,​V2,​V3>
    extends Object
    implements Alt
    • Field Detail

      • v1

        protected V1 v1
      • v2

        protected V2 v2
      • v3

        protected V3 v3
    • Constructor Detail

      • Alt3

        public Alt3​(V1 v1,
                    V2 v2,
                    V3 v3)
    • Method Detail

      • getV1

        public V1 getV1()
      • getV2

        public V2 getV2()
      • getV3

        public V3 getV3()
      • get

        public Object get​(int index)
        Specified by:
        get in interface Alt
        Returns:
        The item with the given index in this Alt instance
      • size

        public int size()
        Specified by:
        size in interface Alt
        Returns:
        The number of items in this Alt instance
      • create

        public static <V1,​V2,​V3> Alt3<V1,​V2,​V3> create​(V1 v1,
                                                                               V2 v2,
                                                                               V3 v3)