Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 363 for Hummer (0.15 sec)

  1. guava/src/com/google/common/base/Strings.java

      }
    
      /**
       * Returns a string consisting of a specific number of concatenated copies of an input string. For
       * example, {@code repeat("hey", 3)} returns the string {@code "heyheyhey"}.
       *
       * <p><b>Java 11+ users:</b> use {@code string.repeat(count)} instead.
       *
       * @param string any non-null string
       * @param count the number of times to repeat it; a nonnegative integer
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

            Map<String, Integer> map,
            ImmutableMap<String, String> immutableMap,
            Set<String> set,
            ImmutableSet<Integer> immutableSet,
            SortedSet<Number> sortedSet,
            ImmutableSortedSet<Number> immutableSortedSet,
            Multiset<String> multiset,
            ImmutableMultiset<Integer> immutableMultiset,
            Multimap<String, Integer> multimap,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * sets ("constant sets"), with a given comparator. Example:
       *
       * <pre>{@code
       * public static final ImmutableSortedSet<Number> LUCKY_NUMBERS =
       *     new ImmutableSortedSet.Builder<Number>(ODDS_FIRST_COMPARATOR)
       *         .addAll(SINGLE_DIGIT_PRIMES)
       *         .add(42)
       *         .build();
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/collect/TreeMultiset.java

        this.range = GeneralRange.all(comparator);
        this.header = new AvlNode<>();
        successor(header, header);
        this.rootReference = new Reference<>();
      }
    
      /** A function which can be summed across a subtree. */
      private enum Aggregate {
        SIZE {
          @Override
          int nodeAggregate(AvlNode<?> node) {
            return node.elemCount;
          }
    
          @Override
    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)
  8. 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)
  9. 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)
  10. 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)
Back to top