Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for elementsEqual (0.07 sec)

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

        // null versus non-null.
        a = Arrays.<@Nullable Integer>asList(4, 8, 15, null, 23, 42);
        b = asList(4, 8, 15, 16, 23, 42);
        assertFalse(elementsEqual(a.iterator(), b.iterator()));
        assertFalse(elementsEqual(b.iterator(), a.iterator()));
    
        // Different lengths.
        a = asList(4, 8, 15, 16, 23);
        b = asList(4, 8, 15, 16, 23, 42);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Iterables.elementsEqual;
    import static com.google.common.testing.SerializableTester.reserialize;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertTrue;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Iterables.elementsEqual;
    import static com.google.common.testing.SerializableTester.reserialize;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertTrue;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

            ImmutableSortedSet.copyOf(LegacyComparable.VALUES_BACKWARD);
        assertTrue(elementsEqual(LegacyComparable.VALUES_FORWARD, set));
      }
    
      public void testLegacyComparable_copyOf_iterator() {
        ImmutableSortedSet<LegacyComparable> set =
            ImmutableSortedSet.copyOf(LegacyComparable.VALUES_BACKWARD.iterator());
        assertTrue(elementsEqual(LegacyComparable.VALUES_FORWARD, set));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        // null versus non-null.
        a = Arrays.<@Nullable Integer>asList(4, 8, 15, null, 23, 42);
        b = asList(4, 8, 15, 16, 23, 42);
        assertFalse(elementsEqual(a.iterator(), b.iterator()));
        assertFalse(elementsEqual(b.iterator(), a.iterator()));
    
        // Different lengths.
        a = asList(4, 8, 15, 16, 23);
        b = asList(4, 8, 15, 16, 23, 42);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        b = asList(4, 8, 15, 16, 23, 42);
        assertTrue(elementsEqual(a, b));
    
        // An element differs.
        a = asList(4, 8, 15, 12, 23, 42);
        b = asList(4, 8, 15, 16, 23, 42);
        assertFalse(elementsEqual(a, b));
    
        // null versus non-null.
        a = Arrays.<@Nullable Integer>asList(4, 8, 15, null, 23, 42);
        b = asList(4, 8, 15, 16, 23, 42);
        assertFalse(elementsEqual(a, b));
        assertFalse(elementsEqual(b, a));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterables.java

       * number of elements and every element of {@code iterable1} is equal to the corresponding element
       * of {@code iterable2}.
       */
      public static boolean elementsEqual(Iterable<?> iterable1, Iterable<?> iterable2) {
        if (iterable1 instanceof Collection && iterable2 instanceof Collection) {
          Collection<?> collection1 = (Collection<?>) iterable1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Lists.java

    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static com.google.common.collect.Iterators.elementsEqual;
    import static java.lang.Math.min;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ListsTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.Iterables.elementsEqual;
    import static com.google.common.collect.Lists.cartesianProduct;
    import static com.google.common.collect.Lists.charactersOf;
    import static com.google.common.collect.Lists.computeArrayListCapacity;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ListsTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.Iterables.elementsEqual;
    import static com.google.common.collect.Lists.cartesianProduct;
    import static com.google.common.collect.Lists.charactersOf;
    import static com.google.common.collect.Lists.computeArrayListCapacity;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top