Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 3,421 for list (0.03 sec)

  1. android/guava-testlib/src/com/google/common/testing/ClusterException.java

     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
     *   for (ThingToRun thingToRun : thingsToRun) {
     *     thingToRun.run(); // say this may throw an exception, but you want to
     *                       // always run all thingsToRun
     *   }
     * }
     * </pre>
     *
     * <p>This is what the code would become:
     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/WatchTest.java

            }
            assertTrue("No notification found", found);
        }
    
    
        private boolean checkInResult ( int action, String name, List<FileNotifyInformation> infos )
                throws InterruptedException, ExecutionException, TimeoutException {
            assertNotNull(this.future);
            List<FileNotifyInformation> notifications = this.future.get(10, TimeUnit.SECONDS);
            if ( infos != null ) {
                infos.addAll(notifications);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/exception/ExceptionSummary.java

        private String message;
    
        private String reference;
    
        private List<ExceptionSummary> children;
    
        public ExceptionSummary(Throwable exception, String message, String reference) {
            this(exception, message, reference, null);
        }
    
        public ExceptionSummary(Throwable exception, String message, String reference, List<ExceptionSummary> children) {
            this.exception = exception;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

      public Entry<K, V>[] createArray(int length) {
        return (Entry<K, V>[]) new Entry<?, ?>[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public List<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) {
        return insertionOrder;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

        return new BiMapTestSuiteBuilder<K, V>().usingGenerator(generator);
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = new ArrayList<>();
        testers.add(BiMapEntrySetTester.class);
        testers.add(BiMapPutTester.class);
        testers.add(BiMapInverseTester.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/SubtypeTester.java

     *   @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true)
     *   public <T> Iterable<? extends T> listIsSubtypeOfIterable(List<T> list) {
     *     return isSubtype(list);
     *   }
     *
     *   @TestSubtype
     *   public List<String> intListIsNotSubtypeOfStringList(List<Integer> intList) {
     *     return notSubtype(intList);
     *   }
     * }
     *
     * public void testMySubtypes() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

      @Override
      public AnEnum[] createArray(int length) {
        return new AnEnum[length];
      }
    
      /** Sorts the enums according to their natural ordering. */
      @Override
      public List<AnEnum> order(List<AnEnum> insertionOrder) {
        sort(insertionOrder);
        return insertionOrder;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java

    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    
    import java.util.ArrayList;
    import java.util.List;
    
    public class ModelBuilderSupport {
        protected List<Element> children(Element element, String childName) {
            List<Element> matches = new ArrayList<Element>();
            NodeList childNodes = element.getChildNodes();
            for (int i = 0; i < childNodes.getLength(); i++) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  9. docs_src/python_types/tutorial006.py

    from typing import List
    
    
    def process_items(items: List[str]):
        for item in items:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 106 bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

    import java.lang.reflect.Method;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Set;
    import java.util.concurrent.CopyOnWriteArraySet;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code listIterator} operations on a list. Can't be invoked
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top