test_class.file: guja-core/src/test/java/com/wadpam/guja/util/TripletTest.java
test_class.identifier: TripletTest
test_case.body: @Test
    public void testFromArray() throws Exception {
  
      String[] array = new String[] {"first"};
      Triplet<String, String, String> triplet = Triplet.fromArray(array);
      assertTrue(triplet.first().equals("first"));
      assertTrue(null == triplet.second());
      assertTrue(null == triplet.third());
  
      array = new String[] {"first", "second"};
      triplet = Triplet.fromArray(array);
      assertTrue("first".equals(triplet.first()));
      assertTrue("second".equals(triplet.second()));
      assertTrue(null == triplet.third());
  
      array = new String[] {"first", "second", "third"};
      triplet = Triplet.fromArray(array);
      assertTrue("first".equals(triplet.first()));
      assertTrue("second".equals(triplet.second()));
      assertTrue("third".equals(triplet.third()));
  
      array[1] = null;
      triplet = Triplet.fromArray(array);
      assertTrue("first".equals(triplet.first()));
      assertTrue(null == triplet.second());
      assertTrue("third".equals(triplet.third()));
  
    }
test_case.class_method_signature: TripletTest.testFromArray()
test_case.full_signature: @Test public void testFromArray()
test_case.identifier: testFromArray
test_case.invocations: fromArray assertTrue equals first assertTrue second assertTrue third fromArray assertTrue equals first assertTrue equals second assertTrue third fromArray assertTrue equals first assertTrue equals second assertTrue equals third fromArray assertTrue equals first assertTrue second assertTrue equals third
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFromArray()
focal_class.declarator: first
focal_class.modifier: private final
focal_class.original_string: private final A first;
focal_class.type: A
focal_class.var_name: first
focal_class.declarator: second
focal_class.modifier: private final
focal_class.original_string: private final B second;
focal_class.type: B
focal_class.var_name: second
focal_class.declarator: third
focal_class.modifier: private final
focal_class.original_string: private final C third;
focal_class.type: C
focal_class.var_name: third
focal_class.file: guja-core/src/main/java/com/wadpam/guja/util/Triplet.java
focal_class.identifier: Triplet
focal_class.interfaces: implements Serializable
focal_class.class_method_signature: Triplet.of(A first, B second, C third)
focal_class.full_signature: public static Triplet<A, B, C> of(A first, B second, C third)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (A first, B second, C third)
focal_class.return: Triplet<A, B, C>
focal_class.signature: Triplet<A, B, C> of(A first, B second, C third)
focal_class.class_method_signature: Triplet.fromArray(A[] array)
focal_class.full_signature: public static Triplet<A, A, A> fromArray(A[] array)
focal_class.identifier: fromArray
focal_class.modifiers: public static
focal_class.parameters: (A[] array)
focal_class.return: Triplet<A, A, A>
focal_class.signature: Triplet<A, A, A> fromArray(A[] array)
focal_class.class_method_signature: Triplet.Triplet(A first, B second, C third)
focal_class.full_signature: public  Triplet(A first, B second, C third)
focal_class.identifier: Triplet
focal_class.modifiers: public
focal_class.parameters: (A first, B second, C third)
focal_class.signature:  Triplet(A first, B second, C third)
focal_class.class_method_signature: Triplet.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: Triplet.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: Triplet.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: Triplet.first()
focal_class.full_signature: public A first()
focal_class.identifier: first
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: A
focal_class.signature: A first()
focal_class.class_method_signature: Triplet.second()
focal_class.full_signature: public B second()
focal_class.identifier: second
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: B
focal_class.signature: B second()
focal_class.class_method_signature: Triplet.third()
focal_class.full_signature: public C third()
focal_class.identifier: third
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: C
focal_class.signature: C third()
focal_method.body: public static <A> Triplet<A, A, A> fromArray(A[] array) {
      return new Triplet<>(0 < array.length ? array[0] : null,
          1 < array.length ? array[1] : null,
          2 < array.length ? array[2] : null);
    }
focal_method.class_method_signature: Triplet.fromArray(A[] array)
focal_method.full_signature: public static Triplet<A, A, A> fromArray(A[] array)
focal_method.identifier: fromArray
focal_method.modifiers: public static
focal_method.parameters: (A[] array)
focal_method.return: Triplet<A, A, A>
focal_method.signature: Triplet<A, A, A> fromArray(A[] array)