Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Comment (0.14 sec)

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

         */
        @CanIgnoreReturnValue
        public Builder<E> addCopies(E element, int occurrences) {
          requireNonNull(contents); // see the comment on the field
          if (occurrences == 0) {
            return this;
          }
          if (buildInvoked) {
            contents = new ObjectCountHashMap<E>(contents);
            isLinkedHash = false;
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

         *     might be the keys' natural order)
         * @since 31.0
         */
        @Override
        @SuppressWarnings("unchecked") // see inline comments
        public ImmutableSortedMap<K, V> buildOrThrow() {
          switch (size) {
            case 0:
              return emptyMap(comparator);
            case 1:
              // We're careful to put only K and V instances in.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top