Class Alt3<V1,V2,V3>

java.lang.Object
org.aksw.commons.index.util.Alt3<V1,V2,V3>
All Implemented Interfaces:
Alt

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

    • v1

      protected V1 v1
    • v2

      protected V2 v2
    • v3

      protected V3 v3
  • Constructor Details

    • Alt3

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

    • 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)