Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 243 for Lists (0.01 sec)

  1. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            assertTrue(Ordering.natural().onResultOf(Functions.forMap(indexByLock)).isOrdered(locks));
    
            // check idempotency
            Iterable<?> locks2 = striped.bulkGet(objects);
            assertEquals(Lists.newArrayList(locks), Lists.newArrayList(locks2));
          }
        }
      }
    
      /** Checks idempotency, and that we observe the promised number of stripes. */
      public void testBasicInvariants() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. apache-maven/README.txt

      ----------
    
      Home Page:          https://maven.apache.org
      Downloads:          https://maven.apache.org/download.html
      Release Notes:      https://maven.apache.org/docs/history.html
      Mailing Lists:      https://maven.apache.org/mailing-lists.html
      Source Code:        https://gitbox.apache.org/repos/asf/maven.git
      Issue Tracking:     https://issues.apache.org/jira/browse/MNG
      Wiki:               https://cwiki.apache.org/confluence/display/MAVEN/
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Aug 12 21:54:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

        }
    
        /**
         * Sets the maximum number of session IDs to include in session ID lists.
         * This controls the size limit for aggregation results when retrieving session lists.
         *
         * @param maxSessionIdsInList the maximum number of session IDs to include in lists
         */
        public void setMaxSessionIdsInList(final int maxSessionIdsInList) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

       * partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer iterable containing two
       * inner lists of three and two elements, all in the original order.
       *
       * <p>Iterators returned by the returned iterable do not support the {@link Iterator#remove()}
       * method. The returned lists implement {@link RandomAccess}, whether or not the input list does.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        return this;
      }
    
      @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);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

        assertFalse(
            "Two Lists should not be equal if exactly one of them has null at a given index.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_shorterList() {
        Collection<E> fewerElements = getSampleElements(getNumElements() - 1);
        assertFalse(
            "Lists of different sizes should not be equal.",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.Lists.charactersOf;
    import static java.lang.System.arraycopy;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableList;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testIndexOf_oneElement() {
        List<String> list = Lists.newArrayList("bob");
        assertEquals(0, Iterables.indexOf(list, equalTo("bob")));
        assertEquals(-1, Iterables.indexOf(list, equalTo("jack")));
      }
    
      public void testIndexOf_twoElements() {
        List<String> list = Lists.newArrayList("mary", "bob");
        assertEquals(0, Iterables.indexOf(list, equalTo("mary")));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java

    import com.google.common.testing.SerializableTester;
    import org.junit.Ignore;
    
    /**
     * Basic reserialization test for collection types that must preserve {@code equals()} behavior when
     * reserialized. (Sets and Lists, but not bare Collections.)
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testIndexOf_oneElement() {
        List<String> list = Lists.newArrayList("bob");
        assertEquals(0, Iterables.indexOf(list, equalTo("bob")));
        assertEquals(-1, Iterables.indexOf(list, equalTo("jack")));
      }
    
      public void testIndexOf_twoElements() {
        List<String> list = Lists.newArrayList("mary", "bob");
        assertEquals(0, Iterables.indexOf(list, equalTo("mary")));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
Back to top