Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 74 for Center (0.5 sec)

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

       * static final ListMultimap<Character, String> FIRST_LETTER_MULTIMAP;
       *
       * static {
       *     FIRST_LETTER_MULTIMAP = MultimapBuilder.treeKeys().arrayListValues().build();
       *     FIRST_LETTER_MULTIMAP.put('b', "anana");
       *     FIRST_LETTER_MULTIMAP.put('a', "pple");
       *     FIRST_LETTER_MULTIMAP.put('a', "sparagus");
       *     FIRST_LETTER_MULTIMAP.put('c', "arrot");
       *     FIRST_LETTER_MULTIMAP.put('c', "herry");
       * }
       * }</pre>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/GeneralRange.java

     * Range}, this allows the use of an arbitrary comparator. This is designed for use in the
     * implementation of subcollections of sorted collection types.
     *
     * <p>Whenever possible, use {@code Range} instead, which is better supported.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class GeneralRange<T extends @Nullable Object> implements Serializable {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

            theUnsafe.putLong(array, (long) offset + BYTE_ARRAY_BASE_OFFSET, littleEndianValue);
          }
        };
    
        // Provides load and store operations that use native instructions to get better performance.
        private static final Unsafe theUnsafe;
    
        // The offset to the first element in a byte array.
        private static final int BYTE_ARRAY_BASE_OFFSET;
    
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

     * better) behavior</a> when multiple threads attempt concurrent mutations. Its equivalent to {@code
     * CacheBuilder} is its <a
     * href="https://www.javadoc.io/doc/com.github.ben-manes.caffeine/caffeine/latest/com.github.benmanes.caffeine/com/github/benmanes/caffeine/cache/Caffeine.html">{@code
     * Caffeine}</a> class. Caffeine offers better performance, more features (including asynchronous
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Ordering.java

       *
       * <p><b>Performance note:</b> According to our
       * benchmarking
       * on Open JDK 7, {@link #immutableSortedCopy} generally performs better (in both time and space)
       * than this method, and this method in turn generally performs better than copying the list and
       * calling {@link Collections#sort(List)}.
       */
      // TODO(kevinb): rerun benchmarks including new options
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        Builder<String, Integer> builder =
            new Builder<String, Integer>()
                .put("one", 1)
                .put("one", 1); // throwing on this line would be even better
    
        try {
          builder.build();
          fail();
        } catch (IllegalArgumentException expected) {
          assertThat(expected.getMessage()).contains("one");
        }
      }
    
      public void testOf() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.setDefault(double.class, 3.0);
        tester.testAllPublicStaticMethods(DoubleMath.class);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/CharMatcherTest.java

      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testStaticNullPointers() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(CharMatcher.class);
        tester.testAllPublicInstanceMethods(CharMatcher.any());
        tester.testAllPublicInstanceMethods(CharMatcher.anyOf("abc"));
      }
    
      private static final CharMatcher WHATEVER =
          new CharMatcher() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testStaticNullPointers() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(CharMatcher.class);
        tester.testAllPublicInstanceMethods(CharMatcher.any());
        tester.testAllPublicInstanceMethods(CharMatcher.anyOf("abc"));
      }
    
      private static final CharMatcher WHATEVER =
          new CharMatcher() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

        // do n swaps, minus a delta (0 or 2 for Reversal, gcd(d, n) for Successive), so that's about
        // twice as many reads and writes. But benchmarking shows that they usually perform better than
        // Dolphin. Reversal is about as good as Successive on average, and it is much simpler,
        // especially since we already have a `reverse` method.
        checkNotNull(array);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
Back to top