Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 545 for bplist (0.2 sec)

  1. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Multimaps.filterKeys;
    import static com.google.common.collect.Multimaps.filterValues;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import junit.framework.TestCase;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMapValues.java

      }
    
      @Override
      boolean isPartialView() {
        return true;
      }
    
      @Override
      public ImmutableList<V> asList() {
        final ImmutableList<Entry<K, V>> entryList = map.entrySet().asList();
        return new ImmutableAsList<V>() {
          @Override
          public V get(int index) {
            return entryList.get(index).getValue();
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ImmutableMultimap.Builder;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

      public void testIterator() {
        List<E> iteratorElements = new ArrayList<>();
        for (E element : collection) { // uses iterator()
          iteratorElements.add(element);
        }
        assertEqualIgnoringOrder(asList(createSamplesArray()), iteratorElements);
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testIterationOrdering() {
        List<E> iteratorElements = new ArrayList<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ModelBuildingExceptionTest.java

            DefaultModelProblem pb2 =
                    new DefaultModelProblem("message2", ModelProblem.Severity.ERROR, null, "source", 0, 0, "modelId", null);
            String msg = ModelBuildingException.toMessage("modelId", Arrays.asList(pb1, pb2));
            assertEquals(
                    "2 problems were encountered while building the effective model for modelId" + System.lineSeparator()
                            + "    - [ERROR] message1" + System.lineSeparator()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *     ImmutableSetMultimap.<Character, Character>builder()
       *         .putAll('b', Arrays.asList('a', 'n', 'a', 'n', 'a'))
       *         .putAll('a', Arrays.asList('p', 'p', 'l', 'e'))
       *         .putAll('c', Arrays.asList('a', 'r', 'r', 'o', 't'))
       *         .putAll('a', Arrays.asList('s', 'p', 'a', 'r', 'a', 'g', 'u', 's'))
       *         .putAll('c', Arrays.asList('h', 'e', 'r', 'r', 'y'))
       *         .build();
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/DoubleMathTest.java

      }
    
      @GwtIncompatible // DoubleMath.log2(double, RoundingMode)
      public void testRoundLog2Half() {
        // We don't expect perfect rounding accuracy.
        for (int exp : asList(-1022, -50, -1, 0, 1, 2, 3, 4, 100, 1022, 1023)) {
          for (RoundingMode mode : asList(HALF_EVEN, HALF_UP, HALF_DOWN)) {
            double x = Math.scalb(Math.sqrt(2) + 0.001, exp);
            double y = Math.scalb(Math.sqrt(2) - 0.001, exp);
            if (exp < 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Chars.java

       * the returned list is unspecified.
       *
       * <p>The returned list is serializable.
       *
       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Character> asList(char... backingArray) {
        if (backingArray.length == 0) {
          return Collections.emptyList();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Shorts.java

       * the returned list is unspecified.
       *
       * <p>The returned list is serializable.
       *
       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Short> asList(short... backingArray) {
        if (backingArray.length == 0) {
          return Collections.emptyList();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Shorts.java

       * the returned list is unspecified.
       *
       * <p>The returned list is serializable.
       *
       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Short> asList(short... backingArray) {
        if (backingArray.length == 0) {
          return Collections.emptyList();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top