(Type type, String hints[])
| 91 | return false; |
| 92 | } |
| 93 | public boolean is(Type type, String hints[]) { |
| 94 | if (filters == null) { |
| 95 | return false; |
| 96 | } |
| 97 | int num = 0; |
| 98 | for (String hint : hints) { |
| 99 | for (Pair<Type, String> filter : filters) { |
| 100 | if (filter.getLeft() == type && filter.getRight().equals(hint)) { |
| 101 | num++; |
| 102 | if (num == hints.length) { |
| 103 | return true; |
| 104 | } |
| 105 | } |
| 106 | } |
| 107 | } |
| 108 | return false; |
| 109 | } |
| 110 | |
| 111 | /** |
| 112 | * Returns a Map of Cards by Type from the given Iterable<PaperCard> that match this |
no test coverage detected