Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,358 for from (0.15 sec)

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

      public void testFromFluentFuture() {
        FluentFuture<String> f = FluentFuture.from(SettableFuture.<String>create());
        assertThat(FluentFuture.from(f)).isSameInstanceAs(f);
      }
    
      public void testFromFluentFuturePassingAsNonFluent() {
        ListenableFuture<String> f = FluentFuture.from(SettableFuture.<String>create());
        assertThat(FluentFuture.from(f)).isSameInstanceAs(f);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteStreams.java

      /**
       * Copies all bytes from the readable channel to the writable channel. Does not close or flush
       * either channel.
       *
       * @param from the readable channel to read from
       * @param to the writable channel to write to
       * @return the number of bytes copied
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

      public void testFromRangeAll() {
        assertEquals(GeneralRange.all(Ordering.natural()), GeneralRange.from(Range.all()));
      }
    
      public void testFromRangeOneEnd() {
        for (BoundType endpointType : BoundType.values()) {
          assertEquals(
              GeneralRange.upTo(Ordering.natural(), 3, endpointType),
              GeneralRange.from(Range.upTo(3, endpointType)));
    
          assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  4. maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

                    sb.append(LS);
                    sb.append(indentation);
                    sb.append("    ");
                    sb.append(downloadUrl);
                } else {
                    sb.append(LS);
                    sb.append(LS);
                    sb.append(indentation);
                    sb.append("Try downloading the file manually from the project website.");
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/Traverser.java

            return Traversal.inGraph(graph);
          }
        };
      }
    
      /**
       * Creates a new traverser for a directed acyclic graph that has at most one path from the start
       * node(s) to any node reachable from the start node(s), and has no paths from any start node to
       * any other start node, such as a tree or forest.
       *
       * <p>{@code forTree()} is especially useful (versus {@code forGraph()}) in cases where the data
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        lockA.lock();
      }
    
      // Tests transitive deadlock detection.
      public void testDeadlock_threeLocks() {
        // Establish an ordering from lockA -> lockB.
        lockA.lock();
        lockB.lock();
        lockB.unlock();
        lockA.unlock();
    
        // Establish an ordering from lockB -> lockC.
        lockB.lock();
        lockC.lock();
        lockB.unlock();
    
        // lockC -> lockA should fail.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/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 Sep 22 06:02:04 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        final Bound to;
        final Bound from;
        final K firstInclusive;
        final K lastInclusive;
        private final Comparator<Entry<K, V>> entryComparator;
    
        public SortedMapSubmapTestMapGenerator(
            TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) {
          super(delegate);
          this.to = to;
          this.from = from;
    
          SortedMap<K, V> emptyMap = delegate.create();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

                 * repository. In other words, modules where artifactId != moduleDirName will see different effective URLs
                 * depending on how the model was constructed (from filesystem or from repository).
                 */
                if (child.getProjectDirectory() != null) {
                    childName = child.getProjectDirectory().getFileName().toString();
                }
    
                for (String module : parent.getModules()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

    import java.util.Collections;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@link Multiset}.
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MultisetFeature implements Feature<Multiset> {
      /**
       * Indicates that elements from {@code Multiset.entrySet()} update to reflect changes in the
       * backing multiset.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top