Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for platform (0.16 sec)

  1. android/guava/src/com/google/common/base/Platform.java

     *
     * @author Jesse Wilson
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class Platform {
      private static final PatternCompiler patternCompiler = loadPatternCompiler();
    
      private Platform() {}
    
      static CharMatcher precomputeCharMatcher(CharMatcher matcher) {
        return matcher.precomputedInternal();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.assertEqualInOrder;
    import static com.google.common.collect.testing.Platform.format;
    import static java.util.Arrays.asList;
    import static java.util.Collections.unmodifiableSet;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertFalse;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ArrayListMultimap.java

      }
    
      private ArrayListMultimap() {
        this(12, DEFAULT_VALUES_PER_KEY);
      }
    
      private ArrayListMultimap(int expectedKeys, int expectedValuesPerKey) {
        super(Platform.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys));
        checkNonnegative(expectedValuesPerKey, "expectedValuesPerKey");
        this.expectedValuesPerKey = expectedValuesPerKey;
      }
    
    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)
  4. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

         * ImmutableSetMultimap#builder}.
         */
        public Builder() {
          super();
        }
    
        @Override
        Collection<V> newMutableValueCollection() {
          return Platform.preservesInsertionOrderOnAddsSet();
        }
    
        /** Adds a key-value mapping to the built multimap if it is not already present. */
        @CanIgnoreReturnValue
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Objects.equal;
    import static com.google.common.collect.Platform.reduceExponentIfGwt;
    import static com.google.common.collect.Platform.reduceIterationsIfGwt;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMap.java

         * the parameter and return type both to be platform types. As a result, Kotlin permits calls
         * that can lead to NullPointerException. That's unfortunate. But hopefully most Kotlin callers
         * use `get(key) ?: defaultValue` instead of this method, anyway.
         */
        V result = get(key);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/OrderingTest.java

            "strictlyOrderedElements " + "requires at least 3 elements");
        List<T> list = Arrays.asList(strictlyOrderedElements);
    
        // for use calling Collection.toArray later
        T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0);
    
        // shoot me, but I didn't want to deal with wildcards through the whole test
        @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/OrderingTest.java

            "strictlyOrderedElements " + "requires at least 3 elements");
        List<T> list = Arrays.asList(strictlyOrderedElements);
    
        // for use calling Collection.toArray later
        T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0);
    
        // shoot me, but I didn't want to deal with wildcards through the whole test
        @SuppressWarnings("unchecked")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Throwables.java

       * comparison to the normal way to access the stack trace, {@link Throwable#getStackTrace()
       * throwable.getStackTrace()}. Note, however, that this method's special implementation is not
       * available for all platforms and configurations. If that implementation is unavailable, this
       * method falls back to {@code getStackTrace}. Callers that require the special implementation can
       * check its availability with {@link #lazyStackTraceIsLazy()}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Throwables.java

       * comparison to the normal way to access the stack trace, {@link Throwable#getStackTrace()
       * throwable.getStackTrace()}. Note, however, that this method's special implementation is not
       * available for all platforms and configurations. If that implementation is unavailable, this
       * method falls back to {@code getStackTrace}. Callers that require the special implementation can
       * check its availability with {@link #lazyStackTraceIsLazy()}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
Back to top