void (Set<String> hs, FilePathInterner interner, Set<? extends CharSequence> uniq) { for (CharSequence value : uniq) { if (!hs.contains(value.toString())) { throw new AssertionError(value); } if (interner.intern(value) != value) { throw new AssertionError(value); } } }