Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 424 for Constructor (0.15 sec)

  1. guava/src/com/google/common/collect/ImmutableBiMap.java

        return RegularImmutableBiMap.fromEntries(entries2);
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder, expecting the specified number of entries to be added.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Range.java

              "intersection is undefined for disconnected ranges %s and %s",
              this,
              connectedRange);
    
          // TODO(kevinb): all the precondition checks in the constructor are redundant...
          return create(newLower, newUpper);
        }
      }
    
      /**
       * Returns the maximal range lying between this range and {@code otherRange}, if such a range
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

          this.elemCount = elemCount;
          this.totalCount = elemCount;
          this.distinctElements = 1;
          this.height = 1;
          this.left = null;
          this.right = null;
        }
    
        /** Constructor for the header node. */
        AvlNode() {
          this.elem = null;
          this.elemCount = 1;
        }
    
        // For discussion of pred() and succ(), see the comment on the pred and succ fields.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      }
    
      // looking for of() with > 5 entries? Use the builder instead.
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder with a hint for how many distinct keys are expected to be added. The
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/Stats.java

      private final long count;
      private final double mean;
      private final double sumOfSquaresOfDeltas;
      private final double min;
      private final double max;
    
      /**
       * Internal constructor. Users should use {@link #of} or {@link StatsAccumulator#snapshot}.
       *
       * <p>To ensure that the created instance obeys its contract, the parameters should satisfy the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. RELEASE.md

            `tf.mixed_precision. experimental.LossScale` in the constructor, and no
            longer has a `LossScale` associated with it. Instead, `Model.compile`
            will automatically wrap the optimizer with a `LossScaleOptimizer` using
            dynamic loss scaling if `Policy.name` is "mixed_float16".
        *   `tf.keras.mixed_precision.LossScaleOptimizer`'s constructor takes in
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * comparator has a more general type than the set being generated, such as creating a {@code
       * SortedSet<Integer>} with a {@code Comparator<Number>}, use the {@link Builder} constructor
       * instead.
       *
       * @throws NullPointerException if {@code comparator} is null
       */
      public static <E> Builder<E> orderedBy(Comparator<E> comparator) {
        return new Builder<>(comparator);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      /*
       * TODO(cpovirk): Change to Comparator<? super B> to permit Comparator<@Nullable ...> and
       * Comparator<SupertypeOfB>? What we have here matches the immutable collections, but those also
       * expose a public Builder constructor that accepts "? super." So maybe we should do *that*
       * instead.
       */
      public static <B> Builder<B> orderedBy(Comparator<B> comparator) {
        return new Builder<>(comparator);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        return MapMakerInternalMap.create(maker);
      }
    
      private static MapMaker createMapMaker() {
        MapMaker maker = new MapMaker();
        maker.useCustomMap = true;
        return maker;
      }
    
      // constructor tests
    
      public void testDefaults() {
        MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker());
    
        assertSame(Strength.STRONG, map.keyStrength());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        return MapMakerInternalMap.create(maker);
      }
    
      private static MapMaker createMapMaker() {
        MapMaker maker = new MapMaker();
        maker.useCustomMap = true;
        return maker;
      }
    
      // constructor tests
    
      public void testDefaults() {
        MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker());
    
        assertSame(Strength.STRONG, map.keyStrength());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top