Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CaseInsensitiveSet (0.16 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<>();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 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));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.1K bytes
    - Viewed (0)
Back to top