Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 396 for numero (0.16 sec)

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

      K checkKey(K key) {
        return checkNotNull(key);
      }
    
      @Override
      V checkValue(V value) {
        return checkNotNull(value);
      }
    
      /**
       * @serialData the key class, value class, number of entries, first key, first value, second key,
       *     second value, and so on.
       */
      @GwtIncompatible // java.io.ObjectOutputStream
      private void writeObject(ObjectOutputStream stream) throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

        }
    
        @Override
        public String toString() {
          return iterable.toString();
        }
        // no equals and hashCode; it would break the contract!
      }
    
      /** Returns the number of elements in {@code iterable}. */
      public static int size(Iterable<?> iterable) {
        return (iterable instanceof Collection)
            ? ((Collection<?>) iterable).size()
            : Iterators.size(iterable.iterator());
    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)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

                .isSubtypeOf(superclass));
      }
    
      public void testGetSubtypeOf_impossibleWildcard() {
        TypeToken<List<? extends Number>> numberList = new TypeToken<List<? extends Number>>() {};
        abstract class StringList implements List<String> {}
        assertThrows(IllegalArgumentException.class, () -> numberList.getSubtype(StringList.class));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMultiset.java

        public Builder<E> add(E... elements) {
          super.add(elements);
          return this;
        }
    
        /**
         * Adds a number of occurrences of an element to this {@code ImmutableMultiset}.
         *
         * @param element the element to add
         * @param occurrences the number of occurrences of the element to add. May be zero, in which
         *     case no change will be made.
         * @return this {@code Builder} object
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        if (removalListener != null) {
          removalListener.onRemoval(RemovalNotification.create(key, value, cause));
        }
      }
    
      @SuppressWarnings("GoodTime") // timestamps as numeric primitives
      private V load(K key) throws ExecutionException {
        long startTime = ticker.read();
        V calculatedValue;
        try {
          calculatedValue = loader.load(key);
          put(key, calculatedValue);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/HashBiMap.java

        return create(16);
      }
    
      /**
       * Constructs a new, empty bimap with the specified expected size.
       *
       * @param expectedSize the expected number of entries
       * @throws IllegalArgumentException if the specified expected size is negative
       */
      public static <K extends @Nullable Object, V extends @Nullable Object> HashBiMap<K, V> create(
          int expectedSize) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ArrayBasedUnicodeEscaper extends UnicodeEscaper {
      // The replacement array (see ArrayBasedEscaperMap).
      private final char[][] replacements;
      // The number of elements in the replacement array.
      private final int replacementsLength;
      // The first code point in the safe range.
      private final int safeMin;
      // The last code point in the safe range.
      private final int safeMax;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

                }
              }
            }
            if (done) {
              break;
            }
          }
        }
      }
    
      /**
       * Multiple threads using same array of counters successfully update a number of times equal to
       * total count
       */
      public void testCountingInMultipleThreads() throws InterruptedException {
        final AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/Quantiles.java

     * independent of N (but depends on the quantiles being computed). When calling {@link
     * ScaleAndIndex#computeInPlace computeInPlace} (in {@linkplain ScaleAndIndexes#computeInPlace
     * either form}), only the overhead is required. The number of object allocations is independent of
     * N in both cases.
     *
     * @author Pete Gillin
     * @since 20.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/Cache.java

      // For discussion of <? extends Object>, see getAllPresent.
      void invalidateAll(Iterable<? extends Object> keys);
    
      /** Discards all entries in the cache. */
      void invalidateAll();
    
      /** Returns the approximate number of entries in this cache. */
      long size();
    
      /**
       * Returns a current snapshot of this cache's cumulative statistics, or a set of default values if
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (0)
Back to top