Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for versary (0.26 sec)

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

      }
    
      /**
       * Generates a decorated collection that remains consistent with the values in the multimap for
       * the provided key. Changes to the multimap may alter the returned collection, and vice versa.
       */
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        return new WrappedCollection(key, collection, null);
      }
    
      final List<V> wrapList(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
       *       that when equal parameters are passed, the result instance should also be equal; and vice
       *       versa.
       *   <li>If a non-private constructor or non-private static factory method exists:
       *       <ul>
       *         <li>Test will fail if default value for a parameter cannot be determined.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/PreconditionsTest.java

        // being selected in phase 1
        Preconditions.checkState(boxedBoolean, "", (Object) boxedLong);
    
        // ternaries introduce their own problems. because of the ternary (which requires a boxing
        // operation) no overload can be selected in phase 1.  and in phase 2 it is ambiguous since it
        // matches with the second parameter being boxed and without it being boxed.  The cast to Object
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/Traverser.java

                if (!successors.hasNext()) {
                  return next;
                }
                horizon.addFirst(successors);
                ancestorStack.push(next);
              }
              // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
              if (!ancestorStack.isEmpty()) {
                return ancestorStack.pop();
              }
              return endOfData();
            }
          };
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/IntMath.java

       * a signed int. The implementation is branch-free, and benchmarks suggest it is measurably (if
       * narrowly) faster than the straightforward ternary expression.
       */
      @VisibleForTesting
      static int lessThanBranchFree(int x, int y) {
        // The double negation is optimized away by normal Java, but is necessary for GWT
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          if (leftChildIndex < 0) {
            return -1;
          }
          return findMin(getLeftChildIndex(leftChildIndex), 4);
        }
    
        /**
         * Moves an element one level up from a min level to a max level (or vice versa). Returns the
         * new position of the element.
         */
        int crossOverUp(int index, E x) {
          if (index == 0) {
            queue[0] = x;
            return 0;
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMapEntry.java

         * do that with a plain NonTerminalImmutableMapEntry, but we do it with the BiMap-specific
         * subclass below. That's because the Entry might be non-terminal in the key bucket but terminal
         * in the value bucket (or vice versa).
         */
        @CheckForNull private final transient ImmutableMapEntry<K, V> nextInKeyBucket;
    
        NonTerminalImmutableMapEntry(
            K key, V value, @CheckForNull ImmutableMapEntry<K, V> nextInKeyBucket) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ArrayTable.java

       * the table lacks a mapping for a given row and column, the corresponding array element is null.
       *
       * <p>Subsequent table changes will not modify the array, and vice versa.
       *
       * @param valueClass class of values stored in the returned array
       */
      @GwtIncompatible // reflection
      public @Nullable V[][] toArray(Class<V> valueClass) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/LinearTransformation.java

       */
      public abstract double transform(double x);
    
      /**
       * Returns the inverse linear transformation. The inverse of a horizontal transformation is a
       * vertical transformation, and vice versa. The inverse of the {@link #forNaN} transformation is
       * itself. In all other cases, the inverse is a transformation such that applying both the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMap.java

         * use `get(key) ?: defaultValue` instead of this method, anyway.
         */
        V result = get(key);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (result != null) {
          return result;
        } else {
          return defaultValue;
        }
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
Back to top