Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Cool (0.12 sec)

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

        assertTrue(Iterators.all(list.iterator(), predicate));
        list.add("pants");
        assertFalse(Iterators.all(list.iterator(), predicate));
      }
    
      public void testFind_firstElement() {
        Iterable<String> list = Lists.newArrayList("cool", "pants");
        Iterator<String> iterator = list.iterator();
        assertEquals("cool", Iterators.find(iterator, Predicates.equalTo("cool")));
        assertEquals("pants", iterator.next());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    // It would be cool if there was a hook that I could use to set up a test environment.
    // I want to set up a local/remote repositories for testing but I don't want to have
    // to change them when I change the layout of the repositories. So I want to generate
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

                                result = new Result(null, null, e);
                            } finally {
                                pool.shutdown();
                            }
                            return true;
                        }
                    };
                    pool.submit(task);
                    return task;
                });
                result = future.get();
            } catch (Exception e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                // the pool core size will be incremented before submitting
                // all the tasks, then the thread will block waiting for all
                // those subtasks to finish.
                // This ensures the number of running workers is no more than
                // the defined parallism, while making sure the pool will not
                // be exhausted
                //
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
Back to top