- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CaseInsensitiveSet (0.09 sec)
-
src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java
} /** * Creates a {@link CaseInsensitiveSet}. * * @param c the collection to copy from */ public CaseInsensitiveSet(final Collection<String> c) { map = new CaseInsensitiveMap<>(Math.max((int) (c.size() / .75f) + 1, 16)); addAll(c); } /** * Creates a {@link CaseInsensitiveSet}. * * @param initialCapacity the initial capacity */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveSetTest.java
/** * @author higa */ public class CaseInsensitiveSetTest { /** * @throws Exception */ @Test public void testContains() throws Exception { final Set<String> set = new CaseInsensitiveSet(); set.add("one"); assertThat(set.contains("ONE"), is(true)); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.1K bytes - Viewed (0)