@SuppressWarnings("unchecked") public static <T extends Example> T[] asArray(T example) { List<Example> examples = asList(example); T[] array = ( T[] ) Array.newInstance(example.getClass(), examples.size()); return examples.toArray(array); }
@Override public List<Example> actionCells(Example row) { return ExampleUtil.asList(row.at(0, 1)); }
@Override public List<Example> actionCells(Example row) { return ExampleUtil.asList(row.firstChild()); }
@Override public List<Example> actionCells(Example row) { return ExampleUtil.asList(row.at(0, 1)); } }
@Override public List<Example> actionCells(Example row) { return ExampleUtil.asList(row.at(0, 1)); } }
@Override public List<Example> actionCells(Example row) { return ExampleUtil.asList(row.firstChild()); } }
@Override public List<Example> actionCells(Example row) { return ExampleUtil.asList(row.at(0, 1)); } }
@Override public List<Example> actionCells(Example row) { return ExampleUtil.asList(row.at(0, 1)); } }
@Override public List<Example> actionCells(Example row) { return ExampleUtil.asList(row.at(0, 1)); } }
@Override public List<Example> actionCells(Example row) { return ExampleUtil.asList(row.at(0, 1)); } }
@Override public List<Example> actionCells(Example row) { List<Example> actionCells = ExampleUtil.asList(row.at(0, 1)); CollectionUtil.removeLast(actionCells); return actionCells; } }
@Override public List<Example> actionCells(Example row) { List<Example> actionCells = ExampleUtil.asList(row.at(0, 1)); CollectionUtil.removeLast(actionCells); return actionCells; } }
private String[] fixtureAndParams(Example cell) { List<Example> list = CollectionUtil.even(ExampleUtil.asList(cell)); return ExampleUtil.content(list); }