Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 1,917 for EMPTY (0.02 seconds)

  1. guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

            () -> EnumHashBiMap.create(Collections.<Currency, String>emptyMap()));
    
        /* Map can be empty if it's an EnumHashBiMap. */
        Map<Currency, String> emptyBimap = EnumHashBiMap.create(Currency.class);
        bimap = EnumHashBiMap.create(emptyBimap);
        assertTrue(bimap.isEmpty());
    
        /* Map can be empty if it's an EnumBiMap. */
        Map<Currency, Country> emptyBimap2 = EnumBiMap.create(Currency.class, Country.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        }
    
        public static String key(String groupId, String artifactId, String version) {
            notBlank(groupId, "groupId can neither be null, empty nor blank");
            notBlank(artifactId, "artifactId can neither be null, empty nor blank");
            notBlank(version, "version can neither be null, empty nor blank");
    
            return groupId + ":" + artifactId + ":" + version;
        }
    
        private static void notBlank(String str, String message) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Lists.java

       *     // operate on tuple
       *   }
       * }
       * }
       *
       * <p>Note that if any input list is empty, the Cartesian product will also be empty. If no lists
       * at all are provided (an empty list), the resulting Cartesian product has one element, an empty
       * list (counter-intuitive, but mathematically consistent).
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            assertArrayEquals(key, transport.getServerEncryptionKey());
            verify(transport).getServerEncryptionKey();
    
            // Empty array
            byte[] empty = new byte[0];
            when(transport.getServerEncryptionKey()).thenReturn(empty);
            assertArrayEquals(empty, transport.getServerEncryptionKey());
    
            // Null
            when(transport.getServerEncryptionKey()).thenReturn(null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/util/StringUtilTest.java

            assertEquals("a,b,c,d,e,f", result);
        }
    
        @Test
        @DisplayName("Should handle empty array")
        void testJoinEmptyArray() {
            CharSequence[] empty = new CharSequence[0];
            String result = StringUtil.join(",", empty);
            assertEquals("", result);
        }
    
        @Test
        @DisplayName("Should handle null in middle of multiple elements")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            public Map<String, Object> toSource() {
                return null;
            }
    
            @Override
            public String getEventType() {
                return null;
            }
        }
    
        // Test empty values implementation
        private static class EmptySearchLogEvent implements SearchLogEvent {
            @Override
            public String getId() {
                return "";
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

      }
    
      public void testEmptiesFirst() {
        Optional<String> empty = Optional.empty();
        Optional<String> abc = Optional.of("abc");
        Optional<String> z = Optional.of("z");
    
        Comparator<Optional<String>> comparator = emptiesFirst(comparing(String::length));
        testComparator(comparator, empty, z, abc);
    
        // Just demonstrate that no explicit type parameter is required
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Streams.java

       * otherwise returns an empty stream.
       */
      public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) {
        return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty();
      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
       * otherwise returns an empty stream.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.4K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/view/admin/dataconfig/admin_dataconfig.jsp

                                   aria-controls="listSearchForm"><i class="fas fa-search" aria-hidden="true"></i></a>
                                <div class="collapse <c:if test="${!empty name || !empty handlerName || !empty description}">show</c:if>" id="listSearchForm">
                                    <la:form action="/admin/dataconfig/">
                                        <div class="form-group row">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            // Execute
            OptionalThing<Locale> result = provider.findBusinessLocale(null, mockRequestManager);
    
            // Verify - should return empty when parameter name is blank
            assertFalse(result.isPresent());
        }
    
        // Test findBusinessLocale with null parameter name
        @Test
        public void test_findBusinessLocale_withNullParameterName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.1K bytes
    - Click Count (0)
Back to Top