Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 381 for esbuild (0.26 sec)

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

        ImmutableSortedMap<String, Integer> map =
            ImmutableSortedMap.<String, Integer>naturalOrder().build();
        assertEquals(Collections.<String, Integer>emptyMap(), map);
      }
    
      public void testSingletonBuilder() {
        ImmutableSortedMap<String, Integer> map =
            ImmutableSortedMap.<String, Integer>naturalOrder().put("one", 1).build();
        assertMapEquals(map, "one", 1);
      }
    
      public void testBuilder() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

      @Before
      public void init() {
        MutableGraph<Integer> mutableDirectedGraph =
            GraphBuilder.directed().allowsSelfLoops(true).build();
        MutableGraph<Integer> mutableUndirectedGraph =
            GraphBuilder.undirected().allowsSelfLoops(true).build();
        graphsToTest = ImmutableList.of(mutableDirectedGraph, mutableUndirectedGraph);
        directedGraph = mutableDirectedGraph;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 07 15:09:01 GMT 2016
    - 5.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

                .add("d", "e", "f")
                .add("g", "h", "i", "j")
                .build();
        assertThat(set).containsExactly("a", "b", "c", "d", "e", "f", "g", "h", "i", "j").inOrder();
      }
    
      public void testReuseBuilderWithNonDuplicateElements() {
        ImmutableSet.Builder<String> builder = this.<String>builder().add("a").add("b");
        assertThat(builder.build()).containsExactly("a", "b").inOrder();
        builder.add("c", "d");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

                .add("d", "e", "f")
                .add("g", "h", "i", "j")
                .build();
        assertThat(set).containsExactly("a", "b", "c", "d", "e", "f", "g", "h", "i", "j").inOrder();
      }
    
      public void testReuseBuilderWithNonDuplicateElements() {
        ImmutableSet.Builder<String> builder = this.<String>builder().add("a").add("b");
        assertThat(builder.build()).containsExactly("a", "b").inOrder();
        builder.add("c", "d");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableRangeMap.java

        for (Entry<Range<K>, ? extends V> entry : map.entrySet()) {
          rangesBuilder.add(entry.getKey());
          valuesBuilder.add(entry.getValue());
        }
        return new ImmutableRangeMap<>(rangesBuilder.build(), valuesBuilder.build());
      }
    
      /** Returns a new builder for an immutable range map. */
      public static <K extends Comparable<?>, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

         * more values and build again.
         *
         * <p><b>Performance note:</b> the returned array is backed by the same array as the builder, so
         * no data is copied as part of this step, but this may occupy more memory than strictly
         * necessary. To copy the data to a right-sized backing array, use {@code .build().trimmed()}.
         */
        public ImmutableIntArray build() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  7. guava-tests/pom.xml

        <dependency>
          <groupId>com.google.caliper</groupId>
          <artifactId>caliper</artifactId>
          <version>1.0-beta-3</version>
          <scope>test</scope>
        </dependency>
      </dependencies>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
          </plugin>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
    XML
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Aug 07 19:01:53 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

         * more values and build again.
         *
         * <p><b>Performance note:</b> the returned array is backed by the same array as the builder, so
         * no data is copied as part of this step, but this may occupy more memory than strictly
         * necessary. To copy the data to a right-sized backing array, use {@code .build().trimmed()}.
         */
        public ImmutableDoubleArray build() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

        for (int rep = 0; rep < reps; rep++) {
          ImmutableList.Builder<Object> builder = ImmutableList.builder();
          for (int i = 0; i < size; i++) {
            builder.add(OBJECT);
          }
          dummy += builder.build().size();
        }
        return dummy;
      }
    
      @Benchmark
      int preSizedBuilderAdd(int reps) {
        int size = this.size;
        int dummy = 0;
        for (int rep = 0; rep < reps; rep++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

        Builder<K, V> combine(Builder<K, V> other) {
          checkNotNull(other);
          entries.addAll(other.entries);
          return this;
        }
    
        public ImmutableMap<K, V> build() {
          return buildOrThrow();
        }
    
        private ImmutableMap<K, V> build(boolean throwIfDuplicateKeys) {
          if (valueComparator != null) {
            Collections.sort(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
Back to top