Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 270 for Implementation (0.18 sec)

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

     *       worse, and possibly better, than creating a mutable collection and copying it.
     *   <li>Implementations generally do not cache hash codes. If your element or key type has a slow
     *       {@code hashCode} implementation, it should cache it itself.
     * </ul>
     *
     * <h4>Example usage</h4>
     *
     * <pre>{@code
     * class Foo {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CollectSpliterators.java

          }
          return max(estimatedSize, 0);
        }
    
        @Override
        public final int characteristics() {
          return characteristics;
        }
      }
    
      /**
       * Implementation of {@link Stream#flatMap} with an object spliterator output type.
       *
       * <p>To avoid having this type, we could use {@code FlatMapSpliterator} directly. The main
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 18:19:31 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteSource.java

       * as characters using the given {@link Charset}.
       *
       * <p>If {@link CharSource#asByteSource} is called on the returned source with the same charset,
       * the default implementation of this method will ensure that the original {@code ByteSource} is
       * returned, rather than round-trip encoding. Subclasses that override this method should behave
       * the same way.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 26.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

       * ImmutableEnumSet/ImmutableSortedSet, regardless of implementation type. It
       * captures their "logical contents" and they are reconstructed using public
       * static factories. This is necessary to ensure that the existence of a
       * particular implementation type is an implementation detail.
       */
      @J2ktIncompatible // serialization
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Lists.java

            }
          }
        }
        return -1;
      }
    
      /** Returns an implementation of {@link List#listIterator(int)}. */
      static <E extends @Nullable Object> ListIterator<E> listIteratorImpl(List<E> list, int index) {
        return new AbstractListWrapper<>(list).listIterator(index);
      }
    
      /** An implementation of {@link List#subList(int, int)}. */
      static <E extends @Nullable Object> List<E> subListImpl(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 16:48:36 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingMultiset.java

     * this case, you should override {@code add(Object)} as well, either providing your own
     * implementation, or delegating to the provided {@code standardAdd} method.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingMultiset}.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Ordering.java

        // TODO(kevinb): if we change this implementation, add full unit tests.
        return this.<E>reverse().leastOf(iterable, k);
      }
    
      /**
       * Returns the {@code k} greatest elements from the given iterator according to this ordering, in
       * order from greatest to least. If there are fewer than {@code k} elements present, all will be
       * included.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        // The Unsafe implementation if it's available. Otherwise, the Java implementation.
        Comparator<byte[]> comparator = UnsignedBytes.lexicographicalComparator();
        Helpers.testComparator(comparator, ordered);
        assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator);
    
        // The Java implementation.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                  @Override
                  public String pendingToString() {
                    throw new RuntimeException("I'm a misbehaving implementation");
                  }
                }.toString())
            .matches(
                "[^\\[]+\\[status=PENDING, info=\\[Exception thrown from implementation: "
                    + "class java.lang.RuntimeException\\]\\]");
      }
    
      public void testCompletionFinishesWithDone() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSet.java

       * ImmutableEnumSet/ImmutableSortedSet, regardless of implementation type. It
       * captures their "logical contents" and they are reconstructed using public
       * static factories. This is necessary to ensure that the existence of a
       * particular implementation type is an implementation detail.
       */
      @J2ktIncompatible // serialization
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top