Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for building (0.16 sec)

  1. android/guava/src/com/google/common/graph/NetworkBuilder.java

     *
     * <p>Examples of use:
     *
     * <pre>{@code
     * // Building a mutable network
     * MutableNetwork<String, Integer> network =
     *     NetworkBuilder.directed().allowsParallelEdges(true).build();
     * flightNetwork.addEdge("LAX", "ATL", 3025);
     * flightNetwork.addEdge("LAX", "ATL", 1598);
     * flightNetwork.addEdge("ATL", "LAX", 2450);
     *
     * // Building a immutable network
     * ImmutableNetwork<String, Integer> immutableNetwork =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

     *
     * <p>Examples of use:
     *
     * <pre>{@code
     * // Building a mutable value graph
     * MutableValueGraph<String, Double> graph =
     *     ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
     * graph.putEdgeValue("San Francisco", "San Francisco", 0.0);
     * graph.putEdgeValue("San Jose", "San Jose", 0.0);
     * graph.putEdgeValue("San Francisco", "San Jose", 48.4);
     *
     * // Building an immutable value graph
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 8K bytes
    - Viewed (0)
  3. android/guava-testlib/pom.xml

          <groupId>com.google.truth</groupId>
          <artifactId>truth</artifactId>
          <version>${truth.version}</version>
          <scope>test</scope>
          <exclusions>
            <exclusion>
              <!-- use the guava we're building. -->
              <groupId>com.google.guava</groupId>
              <artifactId>guava</artifactId>
            </exclusion>
          </exclusions>
        </dependency>
      </dependencies>
      <build>
        <plugins>
          <plugin>
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 31 18:55:22 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/GraphBuilder.java

     * documentation</a> for details.
     *
     * <p>Examples of use:
     *
     * <pre>{@code
     * // Building a mutable graph
     * MutableGraph<String> graph = GraphBuilder.undirected().allowsSelfLoops(true).build();
     * graph.putEdge("bread", "bread");
     * graph.putEdge("chocolate", "peanut butter");
     * graph.putEdge("peanut butter", "jelly");
     *
     * // Building an immutable graph
     * ImmutableGraph<String> immutableGraph =
     *     GraphBuilder.undirected()
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/LinearTransformation.java

    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class LinearTransformation {
    
      /**
       * Start building an instance which maps {@code x = x1} to {@code y = y1}. Both arguments must be
       * finite. Call either {@link LinearTransformationBuilder#and} or {@link
       * LinearTransformationBuilder#withSlope} on the returned object to finish building the instance.
       */
      public static LinearTransformationBuilder mapping(double x1, double y1) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

        this.backingThreadFactory = checkNotNull(backingThreadFactory);
        return this;
      }
    
      /**
       * Returns a new thread factory using the options supplied during the building process. After
       * building, it is still possible to change the options used to build the ThreadFactory and/or
       * build again. State is not shared amongst built instances.
       *
       * @return the fully constructed {@link ThreadFactory}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        checkThreadPoolName(thread2, 2);
        assertEquals(
            thread.getName().substring(0, thread.getName().lastIndexOf('-')),
            thread2.getName().substring(0, thread.getName().lastIndexOf('-')));
    
        // Building again should give us a different pool ID.
        ThreadFactory threadFactory2 = builder.build();
        Thread thread3 = threadFactory2.newThread(monitoredRunnable);
        checkThreadPoolName(thread3, 1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        checkThreadPoolName(thread2, 2);
        assertEquals(
            thread.getName().substring(0, thread.getName().lastIndexOf('-')),
            thread2.getName().substring(0, thread.getName().lastIndexOf('-')));
    
        // Building again should give us a different pool ID.
        ThreadFactory threadFactory2 = builder.build();
        Thread thread3 = threadFactory2.newThread(monitoredRunnable);
        checkThreadPoolName(thread3, 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

        return new CompactLinkedHashMap<>();
      }
    
      /**
       * Creates a {@code CompactLinkedHashMap} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
       * @return a new, empty {@code CompactLinkedHashMap} with enough capacity to hold {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactLinkedHashSet.java

        return set;
      }
    
      /**
       * Creates a {@code CompactLinkedHashSet} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
       * @return a new, empty {@code CompactLinkedHashSet} with enough capacity to hold {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
Back to top