Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 958 for eleven (0.09 seconds)

  1. android/guava/src/com/google/common/io/CharSequenceReader.java

        return seq.length() - pos;
      }
    
      /*
       * To avoid the need to call requireNonNull so much, we could consider more clever approaches,
       * such as:
       *
       * - Make checkOpen return the non-null `seq`. Then callers can assign that to a local variable or
       *   even back to `this.seq`. However, that may suggest that we're defending against concurrent
       *   mutation, which is not an actual risk because we use `synchronized`.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Streams.java

       * nulls as long as the *last* element is *not* null.
       *
       * (To "go out of its way," the method tracks a `set` bit so that it can distinguish "the final
       * split has a last element of null, so throw NPE" from "the final split was empty, so look for an
       * element in the prior one.")
       */
      public static <T> java.util.Optional<T> findLast(Stream<T> 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)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.errorprone.annotations.concurrent.GuardedBy;
    import java.util.concurrent.Executor;
    import java.util.logging.Level;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A support class for {@code ListenableFuture} implementations to manage their listeners. An
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 10 11:51:21 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

        Hash {
          @Override
          Map<Element, Element> create(Collection<Element> keys) {
            Map<Element, Element> map = new HashMap<>();
            for (Element element : keys) {
              map.put(element, element);
            }
            return map;
          }
        },
        LinkedHM {
          @Override
          Map<Element, Element> create(Collection<Element> keys) {
            Map<Element, Element> map = new LinkedHashMap<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Utf8.java

    import static java.lang.Character.MAX_SURROGATE;
    import static java.lang.Character.MIN_SURROGATE;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Low-level, high-performance utility methods related to the {@linkplain Charsets#UTF_8 UTF-8}
     * character encoding. UTF-8 is defined in section D92 of <a
     * href="http://www.unicode.org/versions/Unicode6.2.0/ch03.pdf">The Unicode Standard Core
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Utf8.java

    import static java.lang.Character.MAX_SURROGATE;
    import static java.lang.Character.MIN_SURROGATE;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Low-level, high-performance utility methods related to the {@linkplain Charsets#UTF_8 UTF-8}
     * character encoding. UTF-8 is defined in section D92 of <a
     * href="http://www.unicode.org/versions/Unicode6.2.0/ch03.pdf">The Unicode Standard Core
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

            .createTestSuite();
      }
    
      // Not specifying KNOWN_ORDER for PriorityQueue and PriorityBlockingQueue
      // even though they do have it, because our tests interpret KNOWN_ORDER to
      // also mean that the iterator returns the head element first, which those
      // don't.
    
      public Test testsForPriorityBlockingQueue() {
        return QueueTestSuiteBuilder.using(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/collection/SLinkedList.java

            final Entry entry = getEntry(index);
            final E oldValue = entry.element;
            entry.element = element;
            return oldValue;
        }
    
        /**
         * Returns the position of the element.
         *
         * @param element the element
         * @return the position
         */
        public int indexOf(final E element) {
            int index = 0;
            if (element == null) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        final int hash;
    
        Element(int hash) {
          this.hash = hash;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return this == obj || (obj instanceof Element && ((Element) obj).hash == hash);
        }
    
        @Override
        public int hashCode() {
          return hash;
        }
    
        @Override
        public int compareTo(Element that) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        /**
         * Returns the number of occurrences of {@code element} in this multiset.
         *
         * @param element the element to look for
         * @return the nonnegative number of occurrences of the element
         */
        @Override
        public int count(@Nullable Object element) {
          try {
            return unbox(countMap.get(element));
          } catch (NullPointerException | ClassCastException e) {
            return 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
Back to Top