Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,911 for lists (0.14 sec)

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

    import com.google.common.collect.Lists;
    import com.google.common.eventbus.Subscribe;
    import com.google.common.eventbus.outside.NeitherAbstractNorAnnotatedInSuperclassTest.SubClass;
    import java.util.List;
    
    public class NeitherAbstractNorAnnotatedInSuperclassTest extends AbstractEventBusTest<SubClass> {
      static class SuperClass {
        final List<Object> neitherOverriddenNorAnnotatedEvents = Lists.newArrayList();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 08 21:35:40 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

        assertFalse(
            "A List should not equal another List containing different elements.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherListContainingNull() {
        List<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, null);
        assertFalse(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

        assertFalse(
            "A List should not equal another List containing different elements.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherListContainingNull() {
        List<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, null);
        assertFalse(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ListsImplTest.java

        assertThat(Lists.hashCodeImpl(base)).isNotEqualTo(Lists.hashCodeImpl(outOfOrder));
        assertThat(Lists.hashCodeImpl(base)).isNotEqualTo(Lists.hashCodeImpl(diffValue));
        assertThat(Lists.hashCodeImpl(base)).isNotEqualTo(Lists.hashCodeImpl(diffLength));
        assertThat(Lists.hashCodeImpl(base)).isNotEqualTo(Lists.hashCodeImpl(empty));
      }
    
      public void testEqualsImpl() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/outside/DeepInterfaceTest.java

        final List<Object> annotatedIn1Events = Lists.newArrayList();
        final List<Object> annotatedIn1And2Events = Lists.newArrayList();
        final List<Object> annotatedIn1And2AndClassEvents = Lists.newArrayList();
        final List<Object> declaredIn1AnnotatedIn2Events = Lists.newArrayList();
        final List<Object> declaredIn1AnnotatedInClassEvents = Lists.newArrayList();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 08 21:35:40 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java

    import com.google.common.collect.Lists;
    import com.google.common.eventbus.Subscribe;
    import com.google.common.eventbus.outside.BaseSubscriberFinderTest.Subscriber;
    import java.util.List;
    
    public class BaseSubscriberFinderTest extends AbstractEventBusTest<Subscriber> {
      static class Subscriber {
        final List<Object> nonSubscriberEvents = Lists.newArrayList();
        final List<Object> subscriberEvents = Lists.newArrayList();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 08 21:35:40 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

        public abstract void overriddenAndAnnotatedInSubclass(Object o);
      }
    
      static class SubClass extends SuperClass {
        final List<Object> overriddenInSubclassNowhereAnnotatedEvents = Lists.newArrayList();
        final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList();
    
        @Override
        public void overriddenInSubclassNowhereAnnotated(Object o) {
          overriddenInSubclassNowhereAnnotatedEvents.add(o);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 08 21:35:40 GMT 2022
    - 2K bytes
    - Viewed (0)
  8. 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())));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 18 18:06:40 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      @Override
      public boolean equals(@Nullable Object obj) {
        return Lists.equalsImpl(this, obj);
      }
    
      @Override
      public int hashCode() {
        return Lists.hashCodeImpl(this);
      }
    
      public ImmutableList<E> reverse() {
        List<E> list = Lists.newArrayList(this);
        Collections.reverse(list);
        return unsafeDelegateList(list);
      }
    
      public static <E> Builder<E> builder() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 11K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static java.util.Collections.emptyList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import java.util.Iterator;
    import java.util.List;
    import java.util.NoSuchElementException;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
Back to top