Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 71 for sold (0.12 sec)

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

          LinkedListMultimap<K, V> create() {
        return new LinkedListMultimap<>();
      }
    
      /**
       * Constructs an empty {@code LinkedListMultimap} with enough capacity to hold the specified
       * number of keys without rehashing.
       *
       * @param expectedKeys the expected number of distinct keys
       * @throws IllegalArgumentException if {@code expectedKeys} is negative
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableList.java

       * code.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting to any type is safe because the list will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <E> ImmutableList<E> of() {
        return (ImmutableList<E>) EMPTY;
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * of signaling the next waiter.
       *
       * Unlike the underlying Condition, if we are not careful, an interrupt *can* cause a signal to be
       * lost, because the signal may be sent to a condition whose sole waiter has just been
       * interrupted.
       *
       * Imagine a monitor with multiple guards. A thread enters the monitor, satisfies all the guards,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/LongMath.java

         * int.
         */
        checkNonNegative("a", a);
        checkNonNegative("b", b);
        if (a == 0) {
          // 0 % b == 0, so b divides a, but the converse doesn't hold.
          // BigInteger.gcd is consistent with this decision.
          return b;
        } else if (b == 0) {
          return a; // similar logic
        }
        /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

         * Append message content in trace style.
         * By default, bold magenta
         *
         * @param message the message to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder trace(Object message) {
            return style(".trace:-bold,f:magenta", message);
        }
    
        /**
         * Append message content in debug style.
         * By default, bold cyan
         *
         * @param message the message to append
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

       * implementation, because {@code map.get()} returns a view collection that changes in the course
       * of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code map.remove(x)}
       * returns the same value which {@code map.get(x)} did immediately beforehand.
       */
      @Override
      public void testRemove() {
        final Map<String, Collection<Integer>> map;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ArrayListMultimap.java

          ArrayListMultimap<K, V> create() {
        return new ArrayListMultimap<>();
      }
    
      /**
       * Constructs an empty {@code ArrayListMultimap} with enough capacity to hold the specified
       * numbers of keys and values without resizing.
       *
       * <p>This method will soon be deprecated in favor of {@code
       * MultimapBuilder.hashKeys(expectedKeys).arrayListValues(expectedValuesPerKey).build()}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

      ImmutableSet() {}
    
      public static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() {
        return CollectCollectors.toImmutableSet();
      }
    
      // Casting to any type is safe because the set will never hold any elements.
      @SuppressWarnings({"unchecked"})
      public static <E> ImmutableSet<E> of() {
        return (ImmutableSet<E>) RegularImmutableSet.EMPTY;
      }
    
      public static <E> ImmutableSet<E> of(E element) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

            } catch (Exception e) {
              return false;
            }
            return true;
          }
        }
        return true;
      }
    
      /**
       * Checks all the properties that should always hold of a map. Also calls {@link
       * #assertMoreInvariants} to check invariants that are peculiar to specific implementations.
       *
       * @see #assertMoreInvariants
       * @param map the map to check.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (2)
  10. android/guava/src/com/google/common/collect/Lists.java

          int initialArraySize) {
        checkNonnegative(initialArraySize, "initialArraySize"); // for GWT.
        return new ArrayList<>(initialArraySize);
      }
    
      /**
       * Creates an {@code ArrayList} instance to hold {@code estimatedSize} elements, <i>plus</i> an
       * unspecified amount of padding; you almost certainly mean to call {@link
       * #newArrayListWithCapacity} (see that method for further advice on usage).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
Back to top