Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 154 for logcat (0.17 sec)

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

        assertEquals(asList(1, 4, 7, 8, 9, 10), newArrayList(result));
        assertEquals("[1, 4, 7, 8, 9, 10]", result.toString());
      }
    
      public void testConcatNullPointerException() {
        List<Integer> list1 = newArrayList(1);
        List<Integer> list2 = newArrayList(4);
    
        try {
          FluentIterable.concat(list1, null, list2);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.collect.Iterables.concat;
    
    import com.google.common.base.Functions;
    import com.google.common.base.Supplier;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Maps;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

        }
        for (int run = 0; run < REPETITIONS; run++) {
          testItems();
          delegate.test();
        }
        return this;
      }
    
      private void testItems() {
        for (Object item : Iterables.concat(equalityGroups)) {
          assertTrue(item + " must not be Object#equals to null", !item.equals(null));
          assertTrue(
              item + " must not be Object#equals to an arbitrary object of another class",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

        EntryTransformer<String, String, String> concat =
            new EntryTransformer<String, String, String>() {
              @Override
              public String transformEntry(String key, String value) {
                return key + value;
              }
            };
        Map<String, String> transformed = transformEntries(map, concat);
    
        assertEquals(ImmutableMap.of("a", "a4", "b", "b9"), transformed);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

        EntryTransformer<String, String, String> concat =
            new EntryTransformer<String, String, String>() {
              @Override
              public String transformEntry(String key, String value) {
                return key + value;
              }
            };
        Map<String, String> transformed = transformEntries(map, concat);
    
        assertEquals(ImmutableMap.of("a", "a4", "b", "b9"), transformed);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

            }
          }
    
          Control control = new Control();
          Hasher controlSink = control.newHasher(1024);
    
          Iterable<Hasher> sinksAndControl =
              Iterables.concat(sinks, Collections.singleton(controlSink));
          for (int insertion = 0; insertion < totalInsertions; insertion++) {
            RandomHasherAction.pickAtRandom(random).performAction(random, sinksAndControl);
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/DoubleMathTest.java

          ImmutableList.of(-0.0, 0.0, 1.0, 100.0, 10000.0, Double.MAX_VALUE);
    
      private static final Iterable<Double> TOLERANCE_CANDIDATES =
          Iterables.concat(FINITE_TOLERANCE_CANDIDATES, ImmutableList.of(Double.POSITIVE_INFINITY));
    
      private static final List<Double> BAD_TOLERANCE_CANDIDATES =
          Doubles.asList(
              -Double.MIN_VALUE,
              -Double.MIN_NORMAL,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableRangeSet.java

       * returns an {@code ImmutableRangeSet}.
       *
       * @since 21.0
       */
      public ImmutableRangeSet<C> union(RangeSet<C> other) {
        return unionOf(Iterables.concat(asRanges(), other.asRanges()));
      }
    
      /**
       * Returns a new range set consisting of the intersection of this range set and {@code other}.
       *
       * <p>This is essentially the same as {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

       * returns an {@code ImmutableRangeSet}.
       *
       * @since 21.0
       */
      public ImmutableRangeSet<C> union(RangeSet<C> other) {
        return unionOf(Iterables.concat(asRanges(), other.asRanges()));
      }
    
      /**
       * Returns a new range set consisting of the intersection of this range set and {@code other}.
       *
       * <p>This is essentially the same as {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

        }
      }
    
      /*
       * This class is used to serialize all ImmutableSet instances, except for
       * ImmutableEnumSet/ImmutableSortedSet, regardless of implementation type. It
       * captures their "logical contents" and they are reconstructed using public
       * static factories. This is necessary to ensure that the existence of a
       * particular implementation type is an implementation detail.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
Back to top