Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 379 for mary (0.12 sec)

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

        List<String> list = Lists.newArrayList("mary", "bob");
        assertEquals(0, Iterables.indexOf(list, Predicates.equalTo("mary")));
        assertEquals(1, Iterables.indexOf(list, Predicates.equalTo("bob")));
        assertEquals(-1, Iterables.indexOf(list, Predicates.equalTo("jack")));
      }
    
      public void testIndexOf_withDuplicates() {
        List<String> list = Lists.newArrayList("mary", "bob", "bob", "bob", "sam");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        List<String> list = Lists.newArrayList("mary", "bob");
        assertEquals(0, Iterables.indexOf(list, Predicates.equalTo("mary")));
        assertEquals(1, Iterables.indexOf(list, Predicates.equalTo("bob")));
        assertEquals(-1, Iterables.indexOf(list, Predicates.equalTo("jack")));
      }
    
      public void testIndexOf_withDuplicates() {
        List<String> list = Lists.newArrayList("mary", "bob", "bob", "bob", "sam");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/PairedStatsTest.java

            .addEqualityGroup(
                new PairedStats(MANY_VALUES_STATS_ITERABLE, MANY_VALUES_STATS_ITERABLE, 1.23))
            .addEqualityGroup(new PairedStats(TWO_VALUES_STATS, MANY_VALUES_STATS_ITERABLE, 1.23))
            .addEqualityGroup(new PairedStats(MANY_VALUES_STATS_ITERABLE, ONE_VALUE_STATS, 1.23))
            .addEqualityGroup(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

            .addEqualityGroup(
                new PairedStats(MANY_VALUES_STATS_ITERABLE, MANY_VALUES_STATS_ITERABLE, 1.23))
            .addEqualityGroup(new PairedStats(TWO_VALUES_STATS, MANY_VALUES_STATS_ITERABLE, 1.23))
            .addEqualityGroup(new PairedStats(MANY_VALUES_STATS_ITERABLE, ONE_VALUE_STATS, 1.23))
            .addEqualityGroup(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertEquals(string, readFully(reader));
        assertFullyRead(reader);
    
        // reset, skip, mark, then read the rest
        reader.reset();
        assertEquals(5, reader.skip(5));
        reader.mark(Integer.MAX_VALUE);
        assertEquals(string.substring(5), readFully(reader));
        assertFullyRead(reader);
    
        // reset to the mark and then read the rest
        reader.reset();
        assertEquals(string.substring(5), readFully(reader));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

       * {@link SortedMultiset#tailMultiset}, the {@code size()} and {@code iterator()} methods of
       * {@link SortedMultiset#entrySet}, and {@link SortedMultiset#remove(Object, int)}. In many
       * situations, you may wish to override {@link SortedMultiset#elementSet} to forward to this
       * implementation or a subclass thereof.
       */
      protected class StandardElementSet extends SortedMultisets.ElementSet<E> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/AndroidIncompatible.java

    /*
     * Copyright (C) 2015 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

            .of(MANY_VALUES_MEAN * MANY_VALUES_COUNT);
        assertThat(integerManyValuesAccumulatorByAddAllIterable.sum())
            .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN)
            .of(INTEGER_MANY_VALUES_MEAN * INTEGER_MANY_VALUES_COUNT);
        assertThat(longManyValuesAccumulatorByAddAllIterator.sum())
            .isWithin(ALLOWED_ERROR * LONG_MANY_VALUES_MEAN)
            .of(LONG_MANY_VALUES_MEAN * LONG_MANY_VALUES_COUNT);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 36.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/StatsTest.java

        assertThat(MANY_VALUES_STATS_VARARGS.count()).isEqualTo(MANY_VALUES_COUNT);
        assertThat(MANY_VALUES_STATS_ITERABLE.count()).isEqualTo(MANY_VALUES_COUNT);
        assertThat(MANY_VALUES_STATS_ITERATOR.count()).isEqualTo(MANY_VALUES_COUNT);
        assertThat(MANY_VALUES_STATS_SNAPSHOT.count()).isEqualTo(MANY_VALUES_COUNT);
        assertThat(INTEGER_MANY_VALUES_STATS_VARARGS.count()).isEqualTo(INTEGER_MANY_VALUES_COUNT);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractSortedMultiset.java

    /*
     * Copyright (C) 2011 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
     * in compliance with the License. You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software distributed under the License
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 4.6K bytes
    - Viewed (0)
Back to top