(@Nullable T t)
| 417 | } |
| 418 | |
| 419 | @Override |
| 420 | public boolean apply(@Nullable T t) { |
| 421 | // Avoid using the Iterator to avoid generating garbage (issue 820). |
| 422 | for (int i = 0; i < components.size(); i++) { |
| 423 | if (!components.get(i).apply(t)) { |
| 424 | return false; |
| 425 | } |
| 426 | } |
| 427 | return true; |
| 428 | } |
| 429 | |
| 430 | @Override |
| 431 | public int hashCode() { |