Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 746 for isEmpty (0.04 sec)

  1. guava/src/com/google/common/collect/StandardTable.java

      }
    
      // Views
    
      /**
       * Abstract set whose {@code isEmpty()} returns whether the table is empty and whose {@code
       * clear()} clears all table mappings.
       */
      @WeakOuter
      private abstract class TableSet<T> extends ImprovedAbstractSet<T> {
        @Override
        public boolean isEmpty() {
          return backingMap.isEmpty();
        }
    
        @Override
        public void clear() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            ThreadDumpUtil.processThreadDump(testConsumer);
    
            // Verify that thread dump was processed
            assertFalse("Should capture some thread dump output", capturedOutput.isEmpty());
    
            // Verify format - should contain "Thread:" entries
            boolean hasThreadEntry = capturedOutput.stream().anyMatch(line -> line.startsWith("Thread:"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import assertk.assertThat
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNotEmpty
    import assertk.assertions.isTrue
    import okhttp3.Address
    import okhttp3.ConnectionPool
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

            case Boolean b -> b ? 1L : 0L;
            default -> toLong(o.toString());
            };
        }
    
        private static Long toLong(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Long.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * Converts the given object to a {@literal long}.
         *
         * @param o
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            assertEquals(boost, elevateWord.getBoost(), 0.001f);
            assertTrue(elevateWord.getReadings().isEmpty());
            assertTrue(elevateWord.getFields().isEmpty());
            assertTrue(elevateWord.getTags().isEmpty());
            assertTrue(elevateWord.getRoles().isEmpty());
        }
    
        @Test
        public void testConstructorWithNullWord() {
            // Test constructor with null word
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

        for (int trial = 0; trial < NUM_TRIALS; ++trial) {
          MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build();
    
          assertThat(graph.nodes()).isEmpty();
          assertThat(graph.edges()).isEmpty();
          AbstractGraphTest.validateGraph(graph);
    
          while (graph.nodes().size() < NUM_NODES) {
            graph.addNode(gen.nextInt(NODE_POOL_SIZE));
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingMap.java

      @Override
      protected abstract Map<K, V> delegate();
    
      @Override
      public int size() {
        return delegate().size();
      }
    
      @Override
      public boolean isEmpty() {
        return delegate().isEmpty();
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V remove(@Nullable Object key) {
        return delegate().remove(key);
      }
    
      @Override
      public void clear() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/query/StoredLtrQueryBuilder.java

                builder.field(STORE_NAME.getPreferredName(), storeName);
            }
            if (this.params != null && !this.params.isEmpty()) {
                builder.field(PARAMS.getPreferredName(), this.params);
            }
            if (activeFeatures != null && !activeFeatures.isEmpty()) {
                builder.field(ACTIVE_FEATURES.getPreferredName(), activeFeatures);
            }
            printBoostAndQueryName(builder);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/misc/Base64Util.java

         * Encodes data in Base64.
         *
         * @param inData
         *            The data to encode
         * @return The encoded data
         */
        public static String encode(final byte[] inData) {
            if (ArrayUtil.isEmpty(inData)) {
                return "";
            }
            final int mod = inData.length % 3;
            final int num = inData.length / 3;
            char[] outData = null;
            if (mod != 0) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

            this.resolutionNodes = resolutionNodes;
        }
    
        public boolean hasMissingArtifacts() {
            return missingArtifacts != null && !missingArtifacts.isEmpty();
        }
    
        public List<Artifact> getMissingArtifacts() {
            return missingArtifacts == null ? Collections.emptyList() : Collections.unmodifiableList(missingArtifacts);
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top