public static List<BlockTripIndex> blockTripIndices(BlockEntryImpl... blocks) {
List<BlockEntry> list = new ArrayList<BlockEntry>();
for (BlockEntryImpl block : blocks)
list.add(block);
BlockIndexFactoryService factory = new BlockIndexFactoryServiceImpl();
return factory.createTripIndices(list);
}