示例#1
0
  public List<Skeleton> createSkeletons() {
    final List<Skeleton> result = new ArrayList<Skeleton>();

    for (PinLinksContinuousSet set : sets) {
      result.add(set.createSkeleton());
    }

    return Collections.unmodifiableList(result);
  }
示例#2
0
 private void addInternal(PinLink pinLink) {
   for (PinLinksContinuousSet set : sets) {
     if (set.doesTouch(pinLink)) {
       set.add(pinLink);
       return;
     }
   }
   final PinLinksContinuousSet newSet = new PinLinksContinuousSet();
   newSet.add(pinLink);
   sets.add(newSet);
 }