synchronized ID @NotNull [] getNativePeers() {
    final ID[] ids = new ID[myItems.size()];
    int c = 0;
    for (TBItem item : myItems) {
      final ID nativePeer = item.createNativePeer();
      if (!ID.NIL.equals(nativePeer)) {
        ids[c++] = nativePeer;
      }
    }
    return c == myItems.size() ? ids : Arrays.copyOf(ids, c);
  }
synchronized ID @NotNull [] getNativePeers()