Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for Potter (0.18 sec)

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

      }
    
      /**
       * Not supported. Use {@link #naturalOrder}, which offers better type-safety, instead. This method
       * exists only to hide {@link ImmutableMultiset#builder} from consumers of {@code
       * ImmutableSortedMultiset}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedMultiset#naturalOrder}, which offers better type-safety.
       */
      @DoNotCall("Use naturalOrder.")
      @Deprecated
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        String message =
            String.format(
                Locale.ROOT,
                "Error in automated %s of %s\n"
                    + "If the class is better tested explicitly, you can add %s() to %sTest",
                description,
                cls,
                explicitTestNames.get(0),
                cls.getName());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       */
      private @interface GwtTransient {}
    
      /**
       * Compares strings in natural order except that null comes immediately before a given value. This
       * works better than Ordering.natural().nullsFirst() because, if null comes before all other
       * values, it lies outside the submap/submultiset ranges we test, and the variety of tests that
       * exercise null handling fail on those subcollections.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            }
          }
          return changed;
        }
    
        @CheckForNull
        WrappedCollection getAncestor() {
          return ancestor;
        }
    
        // The following methods are provided for better performance.
    
        @Override
        public boolean addAll(Collection<? extends V> collection) {
          if (collection.isEmpty()) {
            return false;
          }
          int oldSize = size(); // calls refreshIfEmpty
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 48K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashSet.java

       * structure (to make it possible to throw ConcurrentModificationException in the iterator). Note
       * that we choose not to make this volatile, so we do less of a "best effort" to track such
       * errors, for better performance.
       */
      private transient int metadata;
    
      /** The number of elements contained in the set. */
      private transient int size;
    
      /** Constructs a new empty instance of {@code CompactHashSet}. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  6. guava-gwt/pom.xml

                <sourceFileExclude>**/ForceGuavaCompilation*</sourceFileExclude>
              </sourceFileExcludes>
              <!-- The above exclusion doesn't actually matter unless I prevent Javadoc from autodiscovering the source in the sourcepath, which defaults to the source directory :\ Boo for -sourcepath. -->
              <sourcepath>doesnotexist</sourcepath>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableBiMap.java

       *
       * <p>If {@code expectedSize} is exactly the number of entries added to the builder before {@link
       * Builder#build} is called, the builder is likely to perform better than an unsized {@link
       * #builder()} would have.
       *
       * <p>It is not specified if any performance benefits apply if {@code expectedSize} is close to,
       * but not exactly, the number of entries added to the builder.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 22.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        Builder<String, Integer> builder =
            ImmutableSortedMap.<String, Integer>naturalOrder()
                .put("one", 1)
                .put("one", 2); // throwing on this line would be even better
    
        try {
          builder.build();
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testOf() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 27K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          if (newArg == null || Objects.equal(args.get(i), newArg)) {
            if (params.get(i).getType().getRawType().isEnum()) {
              continue; // Nothing better we can do if it's single-value enum
            }
            throw new ParameterHasNoDistinctValueException(params.get(i));
          }
          newArgs.set(i, newArg);
          tester.addEqualityGroup(createInstance(factory, newArgs));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactHashMap.java

       * structure (to make it possible to throw ConcurrentModificationException in the iterator). Note
       * that we choose not to make this volatile, so we do less of a "best effort" to track such
       * errors, for better performance.
       *
       * <p>For a new instance, where the arrays above have not yet been allocated, the value of {@code
       * metadata} is the size that the arrays should be allocated with. Once the arrays have been
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
Back to top