Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,625 for lists (0.02 sec)

  1. guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java

        @Subscribe
        public abstract void overriddenInSubclass(Object o);
      }
    
      static class SubClass extends SuperClass {
        final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList();
        final List<Object> overriddenInSubclassEvents = Lists.newArrayList();
    
        @Subscribe
        @Override
        public void overriddenAndAnnotatedInSubclass(Object o) {
          overriddenAndAnnotatedInSubclassEvents.add(o);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CartesianList.java

      private final transient int[] axesSizeProduct;
    
      static <E> List<List<E>> create(List<? extends List<? extends E>> lists) {
        ImmutableList.Builder<List<E>> axesBuilder = new ImmutableList.Builder<>(lists.size());
        for (List<? extends E> list : lists) {
          List<E> copy = ImmutableList.copyOf(list);
          if (copy.isEmpty()) {
            return ImmutableList.of();
          }
          axesBuilder.add(copy);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

        SerializableTester.reserializeAndAssert(map.entrySet());
        SerializableTester.reserializeAndAssert(map.keySet());
        assertEquals(
            Lists.newArrayList(map.values()),
            Lists.newArrayList(SerializableTester.reserialize(map.values())));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

        SerializableTester.reserializeAndAssert(map.entrySet());
        SerializableTester.reserializeAndAssert(map.keySet());
        assertEquals(
            Lists.newArrayList(map.values()),
            Lists.newArrayList(SerializableTester.reserialize(map.values())));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          List<String> list = Lists.newArrayList(elements);
          list.add("zzz");
          return ImmutableSortedSet.copyOf(list).headSet("zzy");
        }
      }
    
      public static class ImmutableSortedSetTailsetGenerator extends TestStringSortedSetGenerator {
        @Override
        protected SortedSet<String> create(String[] elements) {
          List<String> list = Lists.newArrayList(elements);
          list.add("\0");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/TearDownStack.java

          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = Lists.newArrayList(stack);
          stack.clear();
        }
        for (TearDown tearDown : stackCopy) {
          try {
            tearDown.tearDown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = Lists.newArrayList(stack);
          stack.clear();
        }
        for (TearDown tearDown : stackCopy) {
          try {
            tearDown.tearDown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

        checkNotNull(equalityGroup);
        List<Object> list = new ArrayList<>(equalityGroup.length);
        for (int i = 0; i < equalityGroup.length; i++) {
          Object element = equalityGroup[i];
          if (element == null) {
            throw new NullPointerException("at index " + i);
          }
          list.add(element);
        }
        equalityGroups.add(list);
        return this;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/CollectionFuture.java

          extends CollectionFuture<V, List<@Nullable V>> {
        ListFuture(
            ImmutableCollection<? extends ListenableFuture<? extends V>> futures,
            boolean allMustSucceed) {
          super(futures, allMustSucceed);
          init();
        }
    
        @Override
        public List<@Nullable V> combine(List<@Nullable Present<V>> values) {
          List<@Nullable V> result = newArrayListWithCapacity(values.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

    import com.google.common.base.Equivalence;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import com.google.common.testing.RelationshipTester.ItemReporter;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.List;
    
    /**
     * Tester for {@link Equivalence} relationships between groups of objects.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top