/** * Removes all addresses from the collection that do not meet the minimum trust status. */ public void removeUntrusted(TrustEnforcementStatus minTrustStatus) { // Remove anybody who is not trusted for (int i = this.size() - 1; i >=0; --i) if (!this.get(i).isTrusted(minTrustStatus)) this.remove(i); }