Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for Mettler (0.19 sec)

  1. android/guava/src/com/google/common/graph/InvalidatableSet.java

        // unless it's actually going to be used; validate() is called for all set method calls, so it
        // needs to be fast.
        // (We could instead generate the message once, when the set is created, but zero is better.)
        if (!validator.get()) {
          throw new IllegalStateException(errorMessage.get());
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

        linkedHashMultiset = LinkedHashMultiset.create(size);
        treeMultiset = TreeMultiset.create();
    
        Random random = new Random();
    
        int sizeRemaining = size;
    
        // TODO(kevinb): generate better test contents for multisets
        for (int i = 0; sizeRemaining > 0; i++) {
          // The JVM will return interned values for small ints.
          Integer value = random.nextInt(1000) + 128;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractSortedMultiset.java

     *
     * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned by
     * {@link Multiset#entrySet()}, as do many methods acting on the set returned by {@link
     * #elementSet()}. Override those methods for better performance.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    abstract class AbstractSortedMultiset<E extends @Nullable Object> extends AbstractMultiset<E>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        // GWT's ConcurrentHashMap is a wrapper around HashMap, but it rejects null keys, which matches
        // the behaviour of the non-GWT implementation of newConcurrentHashSet().
        // On the other hand HashSet might be better for code size if apps aren't
        // already using Collections.newSetFromMap and ConcurrentHashMap.
        return Collections.newSetFromMap(new ConcurrentHashMap<E, Boolean>());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 29 18:16:45 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractMultiset.java

     *
     * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned by
     * {@link Multiset#entrySet()}, as do many methods acting on the set returned by {@link
     * #elementSet()}. Override those methods for better performance.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractMultiset<E extends @Nullable Object> extends AbstractCollection<E>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

        /*
         * The striding algorithm works roughly as follows: it is universally the case that
         * CRC(x ^ y) == CRC(x) ^ CRC(y).  The approach we take is to break the message as follows,
         * with each letter representing a 4-byte word: ABCDABCDABCDABCD... and to calculate
         * CRC(A000A000A000...), CRC(0B000B000B...), CRC(00C000C000C...), CRC(000D000D000D...)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 21.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * build-system quirks.
       */
      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)
  10. 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)
Back to top