Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 746 for IsEmpty (0.05 sec)

  1. android/guava/src/com/google/common/collect/FluentIterable.java

        // TODO(kevinb): Support a concurrently modified collection?
        Iterable<E> iterable = getDelegate();
        if (iterable instanceof List) {
          List<E> list = (List<E>) iterable;
          if (list.isEmpty()) {
            return Optional.absent();
          }
          return Optional.of(list.get(list.size() - 1));
        }
        Iterator<E> iterator = iterable.iterator();
        if (!iterator.hasNext()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactHashMap.java

          }
        } else {
          keys[dstIndex] = null;
          values[dstIndex] = null;
          entries[dstIndex] = 0;
        }
      }
    
      int firstEntryIndex() {
        return isEmpty() ? -1 : 0;
      }
    
      int getSuccessor(int entryIndex) {
        return (entryIndex + 1 < size) ? entryIndex + 1 : -1;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/FluentIterable.java

        // TODO(kevinb): Support a concurrently modified collection?
        Iterable<E> iterable = getDelegate();
        if (iterable instanceof List) {
          List<E> list = (List<E>) iterable;
          if (list.isEmpty()) {
            return Optional.absent();
          }
          return Optional.of(list.get(list.size() - 1));
        }
        Iterator<E> iterator = iterable.iterator();
        if (!iterator.hasNext()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

            joiner.setEmptyValue("");
            for (Path p : paths) {
                joiner.add(p.toString());
            }
            String value = joiner.toString();
            if (value.isEmpty()) {
                return new String[0];
            }
            return new String[] {option, value};
        }
    
        /**
         * {@return a string representation of this path type for debugging purposes}.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 15K bytes
    - Viewed (1)
  5. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

                  append(" body)")
                },
              )
            }
          }
    
          return response
        }
    
        internal fun redactUrl(url: HttpUrl): String {
          if (queryParamsNameToRedact.isEmpty() || url.querySize == 0) {
            return url.toString()
          }
          return url
            .newBuilder()
            .query(null)
            .apply {
              for (i in 0 until url.querySize) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/config/PropertyConfiguration.java

                this.channelBindingPolicy = initChannelBindingPolicy(value);
            }
    
            value = props.getProperty("jcifs.smb.client.loadBalancingStrategy");
            if (value != null && !value.trim().isEmpty()) {
                this.loadBalancingStrategy = value.trim();
            }
    
            value = props.getProperty("jcifs.smb.client.channelHealthCheckInterval");
            if (value != null) {
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                    cmdList.add("-Djava.io.tmpdir=" + ownTmpDir.getAbsolutePath());
                } else {
                    ownTmpDir = null;
                }
            }
    
            if (!jvmOptions.isEmpty()) {
                jvmOptions.stream().filter(StringUtil::isNotBlank).forEach(cmdList::add);
            }
    
            cmdList.add(ThumbnailGenerator.class.getCanonicalName());
    
            cmdList.add("--sessionId");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RangeMap.java

       * Range#contains(Comparable) range.contains(k)}, then {@link #get(Comparable) get(k)} will return
       * {@code value}.
       *
       * <p>If {@code range} {@linkplain Range#isEmpty() is empty}, then this is a no-op.
       */
      void put(Range<K> range, V value);
    
      /**
       * Maps a range to a specified value, coalescing this range with any existing ranges with the same
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        final Queue<Runnable> tasks = new ArrayDeque<>();
    
        @Override
        public void execute(Runnable command) {
          tasks.add(command);
        }
    
        boolean hasNext() {
          return !tasks.isEmpty();
        }
    
        void runNext() {
          assertTrue("expected at least one task to run", hasNext());
          tasks.remove().run();
        }
    
        void runAll() {
          while (hasNext()) {
            runNext();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/PreauthIntegrityService.java

         * @throws CIFSException if initialization fails
         */
        public PreauthIntegrityContext initializeSession(String sessionId, byte[] salt, int hashAlgorithm) throws CIFSException {
            if (sessionId == null || sessionId.isEmpty()) {
                throw new CIFSException("Session ID cannot be null or empty");
            }
            if (salt == null || salt.length < 16) {
                throw new CIFSException("Invalid preauth salt: minimum 16 bytes required");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top