Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 669 for from (0.3 sec)

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

      }
    
      public void testGet() {
        assertEquals("a", FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(0));
        assertEquals("b", FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(1));
        assertEquals("c", FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(2));
      }
    
      public void testGet_outOfBounds() {
        try {
          FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(-1);
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/Graphs.java

        }
    
        return transitiveClosure.build();
      }
    
      /**
       * Returns the set of nodes that are reachable from {@code node}. Node B is defined as reachable
       * from node A if there exists a path (a sequence of adjacent outgoing edges) starting at node A
       * and ending at node B. Note that a node is always reachable from itself via a zero-length path.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

    class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
        // ----------------------------------------------------------------------
        //
        // p4 inherits from p3
        // p3 inherits from p2
        // p2 inherits from p1
        // p1 inherits from p0
        // p0 inherits from super model
        //
        // or we can show it graphically as:
        //
        // p4 ---> p3 ---> p2 ---> p1 ---> p0 --> super model
        //
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

            TestSortedSetGenerator<E> delegate, Bound to, Bound from) {
          super(delegate, to, from);
        }
    
        @Override
        NavigableSet<E> createSubSet(SortedSet<E> sortedSet, E firstExclusive, E lastExclusive) {
          NavigableSet<E> set = (NavigableSet<E>) sortedSet;
          if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) {
            return set.headSet(lastInclusive, true);
          } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

            TestSortedSetGenerator<E> delegate, Bound to, Bound from) {
          super(delegate, to, from);
        }
    
        @Override
        NavigableSet<E> createSubSet(SortedSet<E> sortedSet, E firstExclusive, E lastExclusive) {
          NavigableSet<E> set = (NavigableSet<E>) sortedSet;
          if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) {
            return set.headSet(lastInclusive, true);
          } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

                spec.getDisplayName().set("DSL");
                spec.getSourceRoots().from(extension.getKotlinDslSource());
                spec.getSourceRoots().from(runtimeExtensions.flatMap(GradleKotlinDslRuntimeGeneratedSources::getGeneratedSources));
                spec.getClasspath().from(extension.getClasspath());
                spec.getClasspath().from(runtimeExtensions.flatMap(GradleKotlinDslRuntimeGeneratedSources::getGeneratedClasses));
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                });
                task.from(extension.getCssFiles(), sub -> sub.into("css"));
                task.from(extension.getUserManual().getRoot().dir("img"), sub -> {
                    sub.include("**/*.png", "**/*.gif", "**/*.jpg", "**/*.svg");
                    sub.into("img");
                });
                task.from(extension.getUserManual().getResources());
    
                task.from(generateDocinfo);
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 01 05:46:51 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

        }
    
        void addEdge(Vertex from, Vertex to) throws CycleDetectedException {
            from.children.add(to);
            to.parents.add(from);
            List<String> cycle = findCycle(to);
            if (cycle != null) {
                // remove edge which introduced cycle
                removeEdge(from, to);
                throw new CycleDetectedException(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

          Invokable<A, A> invokable = Invokable.from(constructor);
          assertEquals(constructor.getName(), invokable.getName());
          assertEquals(A.class, invokable.getDeclaringClass());
          return invokable;
        }
    
        static Invokable<?, Object> method(String name, Class<?>... parameterTypes) throws Exception {
          Invokable<?, Object> invokable =
              Invokable.from(A.class.getDeclaredMethod(name, parameterTypes));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java

            V20,
            V30,
            V31,
            V40
        }
    
        /**
         * Gets the identifier of the model from which the problem originated. While the general form of this identifier is
         * <code>groupId:artifactId:version</code> the returned identifier need not be complete. The identifier is derived
         * from the information that is available at the point the problem occurs and as such merely serves as a best effort
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top