@Test(expected = IllegalArgumentException.class) @SuppressWarnings("unchecked") public void testUnfoldableFlow() { FlowUnfolder.unfold(flow, (Set) Sets.newHashSet(FlatMap.class)); }
@SuppressWarnings("unchecked") public static DAG<Operator<?, ?>> unfold(Flow flow, Set<Class<? extends Operator<?, ?>>> operatorClasses) throws IllegalArgumentException { return unfold(flow, op -> operatorClasses.contains(op.getClass())); }
FlowUnfolder { @SuppressWarnings("unchecked") public static DAG<Operator<?, ?>> unfold(Flow flow, Set<Class<? extends Operator<?, ?>>> operatorClasses) throws IllegalArgumentException { return unfold(flow, op -> operatorClasses.contains(op.getClass())); } }
FlowUnfolder { @SuppressWarnings("unchecked") public static DAG<Operator<?, ?>> unfold(Flow flow, Set<Class<? extends Operator<?, ?>>> operatorClasses) throws IllegalArgumentException { return unfold(flow, op -> operatorClasses.contains(op.getClass())); }  }
FlowUnfolder { @SuppressWarnings("unchecked") public static DAG<Operator<?, ?>> unfold(Flow flow, Set<Class<? extends Operator<?, ?>>> operatorClasses) throws IllegalArgumentException { return unfold(flow, op -> operatorClasses.contains(op.getClass())); }  @SuppressWarnings("unchecked") static DAG<Operator<?, ?>> unfold(Flow flow,
      Set<Class<? extends Operator<?, ?>>> operatorClasses); static DAG<Operator<?, ?>> unfold(
      Flow flow, UnaryPredicate<Operator<?, ?>> wantTranslate); }
FlowUnfolder { @SuppressWarnings("unchecked") public static DAG<Operator<?, ?>> unfold(Flow flow, Set<Class<? extends Operator<?, ?>>> operatorClasses) throws IllegalArgumentException { return unfold(flow, op -> operatorClasses.contains(op.getClass())); }  @SuppressWarnings("unchecked") static DAG<Operator<?, ?>> unfold(Flow flow,
      Set<Class<? extends Operator<?, ?>>> operatorClasses); static DAG<Operator<?, ?>> unfold(
      Flow flow, UnaryPredicate<Operator<?, ?>> wantTranslate);  }