Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CaseInsensitiveSet (0.11 sec)

  1. src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java

     *
     * @author higa
     */
    public class CaseInsensitiveSet extends AbstractSet<String> implements Set<String>, Serializable {
    
        static final long serialVersionUID = 0L;
    
        private transient Map<String, Object> map = new CaseInsensitiveMap<>();
    
        private static final Object PRESENT = new Object();
    
        /**
         * {@link CaseInsensitiveSet}を作成します。
         */
        public CaseInsensitiveSet() {
            map = new CaseInsensitiveMap<>();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top