test_class.declarator: testDouble
test_class.modifier: private
test_class.original_string: private double[] testDouble;
test_class.type: double[]
test_class.var_name: testDouble
test_class.declarator: CLASSES = new Class<?>[] { Tuple1.class, Tuple2.class,
  			Tuple3.class, Tuple4.class, Tuple5.class, Tuple6.class, Tuple7.class, Tuple8.class,
  			Tuple9.class, Tuple10.class, Tuple11.class, Tuple12.class, Tuple13.class,
  			Tuple14.class, Tuple15.class, Tuple16.class, Tuple17.class, Tuple18.class,
  			Tuple19.class, Tuple20.class, Tuple21.class, Tuple22.class, Tuple23.class,
  			Tuple24.class, Tuple25.class }
test_class.modifier: private static final
test_class.original_string: private static final Class<?>[] CLASSES = new Class<?>[] { Tuple1.class, Tuple2.class,
  			Tuple3.class, Tuple4.class, Tuple5.class, Tuple6.class, Tuple7.class, Tuple8.class,
  			Tuple9.class, Tuple10.class, Tuple11.class, Tuple12.class, Tuple13.class,
  			Tuple14.class, Tuple15.class, Tuple16.class, Tuple17.class, Tuple18.class,
  			Tuple19.class, Tuple20.class, Tuple21.class, Tuple22.class, Tuple23.class,
  			Tuple24.class, Tuple25.class };
test_class.type: Class<?>[]
test_class.var_name: CLASSES
test_class.file: flink-streaming-java/src/test/java/org/apache/flink/streaming/api/functions/windowing/delta/extractor/FieldsFromTupleTest.java
test_class.identifier: FieldsFromTupleTest
test_case.body: @Test
  	public void testUserSpecifiedOrder() throws InstantiationException, IllegalAccessException {
  		Tuple currentTuple = (Tuple) CLASSES[Tuple.MAX_ARITY - 1].newInstance();
  		for (int i = 0; i < Tuple.MAX_ARITY; i++) {
  			currentTuple.setField(testDouble[i], i);
  		}
  
  		double[] expected = { testDouble[5], testDouble[3], testDouble[6], testDouble[7],
  				testDouble[0] };
  		arrayEqualityCheck(expected, new FieldsFromTuple(5, 3, 6, 7, 0).extract(currentTuple));
  
  		double[] expected2 = { testDouble[0], testDouble[Tuple.MAX_ARITY - 1] };
  		arrayEqualityCheck(expected2,
  				new FieldsFromTuple(0, Tuple.MAX_ARITY - 1).extract(currentTuple));
  
  		double[] expected3 = { testDouble[Tuple.MAX_ARITY - 1], testDouble[0] };
  		arrayEqualityCheck(expected3,
  				new FieldsFromTuple(Tuple.MAX_ARITY - 1, 0).extract(currentTuple));
  
  		double[] expected4 = { testDouble[13], testDouble[4], testDouble[5], testDouble[4],
  				testDouble[2], testDouble[8], testDouble[6], testDouble[2], testDouble[8],
  				testDouble[3], testDouble[5], testDouble[2], testDouble[16], testDouble[4],
  				testDouble[3], testDouble[2], testDouble[6], testDouble[4], testDouble[7],
  				testDouble[4], testDouble[2], testDouble[8], testDouble[7], testDouble[2] };
  		arrayEqualityCheck(expected4, new FieldsFromTuple(13, 4, 5, 4, 2, 8, 6, 2, 8, 3, 5, 2, 16,
  				4, 3, 2, 6, 4, 7, 4, 2, 8, 7, 2).extract(currentTuple));
  	}
test_case.class_method_signature: FieldsFromTupleTest.testUserSpecifiedOrder()
test_case.full_signature: @Test public void testUserSpecifiedOrder()
test_case.identifier: testUserSpecifiedOrder
test_case.invocations: newInstance setField arrayEqualityCheck extract arrayEqualityCheck extract arrayEqualityCheck extract arrayEqualityCheck extract
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testUserSpecifiedOrder()
focal_class.declarator: serialVersionUID = -2554079091050273761L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = -2554079091050273761L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: indexes
focal_class.original_string: int[] indexes;
focal_class.type: int[]
focal_class.var_name: indexes
focal_class.file: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/windowing/delta/extractor/FieldsFromTuple.java
focal_class.identifier: FieldsFromTuple
focal_class.interfaces: implements Extractor<Tuple, double[]>
focal_class.class_method_signature: FieldsFromTuple.FieldsFromTuple(int... indexes)
focal_class.full_signature: public  FieldsFromTuple(int... indexes)
focal_class.identifier: FieldsFromTuple
focal_class.modifiers: public
focal_class.parameters: (int... indexes)
focal_class.signature:  FieldsFromTuple(int... indexes)
focal_class.class_method_signature: FieldsFromTuple.extract(Tuple in)
focal_class.full_signature: @Override public double[] extract(Tuple in)
focal_class.identifier: extract
focal_class.modifiers: @Override public
focal_class.parameters: (Tuple in)
focal_class.return: double[]
focal_class.signature: double[] extract(Tuple in)
focal_method.body: @Override
  	public double[] extract(Tuple in) {
  		double[] out = new double[indexes.length];
  		for (int i = 0; i < indexes.length; i++) {
  			out[i] = (Double) in.getField(indexes[i]);
  		}
  		return out;
  	}
focal_method.class_method_signature: FieldsFromTuple.extract(Tuple in)
focal_method.full_signature: @Override public double[] extract(Tuple in)
focal_method.identifier: extract
focal_method.invocations: getField
focal_method.modifiers: @Override public
focal_method.parameters: (Tuple in)
focal_method.return: double[]
focal_method.signature: double[] extract(Tuple in)