Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 746 for IsEmpty (0.04 sec)

  1. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                    return (T) ((List<?>) value).stream().filter(s -> s != null).map(Object::toString).toArray(n -> new String[n]);
                }
    
                if (((List<?>) value).isEmpty()) {
                    return null;
                }
    
                return convertObj(((List<?>) value).get(0), clazz);
            }
            if (value instanceof String[]) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

            final ListResultBean<DataConfig> list = dataConfigBhv.selectList(cb -> {
                cb.query().setName_Equal(name);
                cb.query().addOrderBy_SortOrder_Asc();
            });
            if (list.isEmpty()) {
                return OptionalEntity.empty();
            }
            return OptionalEntity.of(list.get(0));
        }
    
        /**
         * Stores (inserts or updates) a data configuration.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          }
        }
      }
    
      @Throws(UnknownHostException::class)
      private fun throwBestFailure(
        hostname: String,
        failures: List<Exception>,
      ): List<InetAddress> {
        if (failures.isEmpty()) {
          throw UnknownHostException(hostname)
        }
    
        val failure = failures[0]
    
        if (failure is UnknownHostException) {
          throw failure
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        // Ensure that the Finalizer class has no nested classes.
        // See https://github.com/google/guava/issues/1505
        assertThat(Finalizer.class.getDeclaredClasses()).isEmpty();
      }
    
      static class MyServerExampleWithFrq implements Closeable {
        private static final FinalizableReferenceQueue frq = new FinalizableReferenceQueue();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        // Ensure that the Finalizer class has no nested classes.
        // See https://github.com/google/guava/issues/1505
        assertThat(Finalizer.class.getDeclaredClasses()).isEmpty();
      }
    
      static class MyServerExampleWithFrq implements Closeable {
        private static final FinalizableReferenceQueue frq = new FinalizableReferenceQueue();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessClient.java

                    }
                    break;
                case WitnessAsyncNotifyMessage.WitnessNotificationMessage.WITNESS_IP_CHANGE:
                    if (message.getIpAddresses() != null && !message.getIpAddresses().isEmpty()) {
                        notification.setNewNodeAddress(message.getIpAddresses().get(0));
                    }
                    break;
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testLineReading() throws IOException {
        File temp = createTempFile();
        assertNull(Files.readFirstLine(temp, UTF_8));
        assertTrue(Files.readLines(temp, UTF_8).isEmpty());
    
        PrintWriter w = new PrintWriter(Files.newWriter(temp, UTF_8));
        w.println("hello");
        w.println("");
        w.println(" world  ");
        w.println("");
        w.close();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multimap.java

       */
      int size();
    
      /**
       * Returns {@code true} if this multimap contains no key-value pairs. Equivalent to {@code size()
       * == 0}, but can in some cases be more efficient.
       */
      boolean isEmpty();
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code
       * key}.
       */
      boolean containsKey(@CompatibleWith("K") @Nullable Object key);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

        }
    
        // Test asMap with empty params
        public void test_asMapEmpty() {
            Map<String, Object> map = dataStoreParams.asMap();
            assertNotNull(map);
            assertTrue(map.isEmpty());
        }
    
        // Test getDataMap with ParamMap
        public void test_getDataMapWithParamMap() {
            Map<String, Object> innerMap = new HashMap<>();
            innerMap.put("key1", "value1");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/HashBiMapTest.java

        assertEquals("two", map.get(1));
        assertEquals(Integer.valueOf(1), map.inverse().get("two"));
        iterator.remove(); // removes the updated entry
        assertTrue(map.isEmpty());
      }
    
      public void testInsertionOrder() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
        assertThat(map.entrySet())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top