toro-core/src/main/java/im/ene/toro/widget/Container.java
@NonNull public List<ToroPlayer> filterBy(Filter filter) {
    List<ToroPlayer> result = new ArrayList<>();
    for (ToroPlayer player : playerManager.getPlayers()) {
      if (filter.accept(player)) result.add(player);
    }
    Collections.sort(result, Common.ORDER_COMPARATOR);
    return Collections.unmodifiableList(result);
  }
/**
   * Filter current managed {@link ToroPlayer}s using {@link Filter}. Result is sorted by Player
   * order obtained from {@link ToroPlayer#getPlayerOrder()}.
   *
   * @param filter the {@link Filter} to a {@link ToroPlayer}.
   * @return list of players accepted by {@link Filter}. Empty list if there is no available player.
   */
Filter current managed  ToroPlayers using  Filter. Result is sorted by Player
order obtained from  ToroPlayer#getPlayerOrder().

@param filter the  Filter to a  ToroPlayer.
@return list of players accepted by  Filter. Empty list if there is no available player.
Filter current managed ToroPlayers using Filter . Result is sorted by Player order obtained from ToroPlayer#getPlayerOrder () . @param filter the Filter to a ToroPlayer . @return list of players accepted by Filter . Empty list if there is no available player .
@NonNull public List<ToroPlayer> filterBy(Filter filter) {
    List<ToroPlayer> result = new ArrayList<>();
    for (ToroPlayer player : playerManager.getPlayers()) {
      if (filter.accept(player)) result.add(player);
    }
    Collections.sort(result, Common.ORDER_COMPARATOR);
    return Collections.unmodifiableList(result);
  }
@ NonNull public List < ToroPlayer > filterBy ( Filter filter ) { List < ToroPlayer > result = new ArrayList < > ( ) ; for ( ToroPlayer player : playerManager . getPlayers ( ) ) { if ( filter . accept ( player ) ) result . add ( player ) ; } Collections . sort ( result , Common . ORDER_COMPARATOR ) ; return Collections . unmodifiableList ( result ) ; }
Filter current managed {@link ToroPlayer}s using {@link Filter}.
Filter current managed { @link ToroPlayer } s using { @link Filter } .