Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 992 for IsEmpty (1.54 sec)

  1. android/guava/src/com/google/common/base/CaseFormat.java

      abstract String normalizeWord(String word);
    
      String normalizeFirstWord(String word) {
        return normalizeWord(word);
      }
    
      private static String firstCharOnlyToUpper(String word) {
        return word.isEmpty()
            ? word
            : Ascii.toUpperCase(word.charAt(0)) + Ascii.toLowerCase(word.substring(1));
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Dec 03 18:46:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractTable.java

      public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return (row == null) ? null : safeGet(row, columnKey);
      }
    
      @Override
      public boolean isEmpty() {
        return size() == 0;
      }
    
      @Override
      public void clear() {
        Iterators.clear(cellSet().iterator());
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        assertEquals(0, service.startUpCalled);
        assertEquals(0, service.shutDownCalled);
        assertEquals(Service.State.TERMINATED, service.state());
        assertThat(service.transitionStates).isEmpty();
      }
    
      public void testStop_afterStart() {
        TestService service = new TestService();
        service.startAsync().awaitRunning();
        assertEquals(1, service.startUpCalled);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

        }
    
        private NetworkInterfaceInfo selectLocalInterface(int index) {
            if (localInterfaces.isEmpty())
                return null;
            return localInterfaces.get(index % localInterfaces.size());
        }
    
        private NetworkInterfaceInfo selectRemoteInterface(int index) {
            if (remoteInterfaces.isEmpty())
                return null;
            return remoteInterfaces.get(index % remoteInterfaces.size());
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        assume().that(network.allowsSelfLoops()).isTrue();
    
        addNode(N1);
        addEdge(N1, N1, E11);
        assertThat(networkAsMutableNetwork.removeNode(N1)).isTrue();
        assertThat(network.nodes()).isEmpty();
        assertThat(network.edges()).doesNotContain(E11);
      }
    
      @Test
      public void removeEdge_existingSelfLoopEdge() {
        assume().that(graphIsMutable()).isTrue();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 17:09:51 UTC 2025
    - 19K bytes
    - Viewed (0)
  6. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

        }
    
        private
        fun assertLeftoverFilesCleanedUpEventually(vararg leftoverFiles: String) {
            leftoverFiles.forEach {
                assertTrue(projectDir.resolve(it).walk().filter { it.isFile }.toList().isEmpty())
            }
        }
    
        @Test
        fun `fail build if leftover file found and test passes`() {
            val result = run(":successful-test-with-leftover:test", "--no-watch-fs").buildAndFail()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jun 18 10:36:40 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

         */
        public ChannelInfo selectChannel(CommonServerMessageBlock message) throws NoAvailableChannelException {
            Collection<ChannelInfo> availableChannels = manager.getHealthyChannels();
    
            if (availableChannels.isEmpty()) {
                throw new NoAvailableChannelException("No healthy channels available");
            }
    
            if (availableChannels.size() == 1) {
                return availableChannels.iterator().next();
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ParameterUtil.java

         */
        public static void loadConfigParams(final Map<String, Object> paramMap, final String configParam) {
            final Map<String, String> map = ParameterUtil.parse(configParam);
            if (!map.isEmpty()) {
                paramMap.putAll(map);
            }
        }
    
        /**
         * Creates a configuration parameter map.
         *
         * @param configParameters the configuration parameters
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

                } else if (!transitive) {
                    filtered.addAll(upstream ? getUpstreamProjects(project, false) : getDownstreamProjects(project, false));
                }
            }
            if (filtered.isEmpty() || filtered.size() == 1) {
                // Optimization to skip streaming, distincting, and collecting to a new list when there is zero or one
                // project, aka there can't be duplicates.
                return filtered;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 19 16:34:39 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        assertThat(min((byte) 0, (byte) -128, (byte) -1, (byte) 127, (byte) 1)).isEqualTo((byte) -128);
      }
    
      public void testJoin() {
        assertThat(SignedBytes.join(",", EMPTY)).isEmpty();
        assertThat(SignedBytes.join(",", ARRAY1)).isEqualTo("1");
        assertThat(SignedBytes.join(",", (byte) 1, (byte) 2)).isEqualTo("1,2");
        assertThat(SignedBytes.join("", (byte) 1, (byte) 2, (byte) 3)).isEqualTo("123");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top