Exemplo n.º 1
0
 private int getLastIdx() {
   Set<Integer> indices = Sets.newHashSet();
   for (Type type : footer.getTypesList()) {
     indices.addAll(type.getSubtypesList());
   }
   return Collections.max(indices);
 }