Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 178 for Reimplement (0.16 sec)

  1. guava-tests/test/com/google/common/collect/IteratorsTest.java

        // Changes after are not
        list.set(0, 4);
    
        assertEquals(ImmutableList.of(3), first);
      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
      @GwtIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in GWT
      public void testPartitionRandomAccess() {
        Iterator<Integer> source = asList(1, 2, 3).iterator();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Collections2.java

       *
       * <p>Duplicate elements are considered equal. For example, the list [1, 1] will have only one
       * permutation, instead of two. This is why the elements have to implement {@link Comparable}.
       *
       * <p>An empty iterable has only one permutation, which is an empty list.
       *
       * <p>This method is equivalent to {@code Collections2.orderedPermutations(list,
       * Ordering.natural())}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

         * past them.)
         *
         * We could consider "lying" and omitting @CheckNotNull from all these fields. Normally, I'm not
         * a fan of that: What if we someday implement (presumably to be enabled during tests only)
         * bytecode rewriting that checks for any null value that passes through an API with a
         * known-non-null type? But that particular problem might not arise here, since we're not
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/LinkedListMultimap.java

      /*
       * Order is maintained using a linked list containing all key-value pairs. In
       * addition, a series of disjoint linked lists of "siblings", each containing
       * the values for a specific key, is used to implement {@link
       * ValueForKeyIterator} in constant time.
       */
    
      static final class Node<K extends @Nullable Object, V extends @Nullable Object>
          extends AbstractMapEntry<K, V> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeMultiset.java

        implements Serializable {
    
      /**
       * Creates a new, empty multiset, sorted according to the elements' natural order. All elements
       * inserted into the multiset must implement the {@code Comparable} interface. Furthermore, all
       * such elements must be <i>mutually comparable</i>: {@code e1.compareTo(e2)} must not throw a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            message.append(", ").append(t.getMessage());
          }
          return message.toString();
        }
      }
    
      /**
       * Internal Lock implementations implement the {@code CycleDetectingLock} interface, allowing the
       * detection logic to treat all locks in the same manner.
       */
      private interface CycleDetectingLock {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterables.java

       * inner lists of three and two elements, all in the original order.
       *
       * <p>Iterators returned by the returned iterable do not support the {@link Iterator#remove()}
       * method. The returned lists implement {@link RandomAccess}, whether or not the input list does.
       *
       * <p><b>Note:</b> The current implementation eagerly allocates storage for {@code size} elements.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Converter.java

       *     very rare. Note that if backward conversion is not only unimplemented but
       *     unimplement<i>able</i> (for example, consider a {@code Converter<Chicken, ChickenNugget>}),
       *     then this is not logically a {@code Converter} at all, and should just implement {@link
       *     Function}.
       */
      @ForOverride
      protected abstract A doBackward(B b);
    
      // API (consumer-side) methods
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/TesterAnnotation.java

    /**
     * Use this to meta-annotate {@code XxxFeature.Require} annotations, so that those annotations can
     * be used to decide whether to apply a test to a given class-under-test.
     *
     * <p>This is needed because annotations can't implement interfaces, which is also why reflection is
     * used to extract values from the properties of the various annotations.
     *
     * @author George van den Driessche
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

          throw new AssertionError(e);
        }
      }
    
      /**
       * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@link
       * ForwardingObject#delegate}. {@code forwarderClass} is assumed to only implement one interface.
       */
      static <T extends ForwardingObject> void testForwardingObject(final Class<T> forwarderClass) {
        @SuppressWarnings("unchecked") // super interface type of T
        Class<? super T> interfaceType =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jan 05 19:41:03 GMT 2023
    - 2.5K bytes
    - Viewed (0)
Back to top