Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 330 for Guarantees (0.12 sec)

  1. android/guava/src/com/google/common/collect/FluentIterable.java

       * iterable is empty, {@code Optional.absent()} is returned. If the underlying {@code iterable} is
       * a {@link List} with {@link java.util.RandomAccess} support, then this operation is guaranteed
       * to be {@code O(1)}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.reduce((a, b) -> b)}.
       *
       * @throws NullPointerException if the last element is null; if this is a possibility, use {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Streams.java

       * and {@code streamB}. If one stream is longer than the other, the extra elements are silently
       * ignored. Elements passed to the consumer are guaranteed to come from the same position in their
       * respective source streams. For example:
       *
       * <pre>{@code
       * Streams.forEachPair(
       *   Stream.of("foo1", "foo2", "foo3"),
       *   Stream.of("bar1", "bar2"),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/LongMath.java

       *     Remainder Operator</a>
       */
      @GwtIncompatible // TODO
      public static int mod(long x, int m) {
        // Cast is safe because the result is guaranteed in the range [0, m)
        return (int) mod(x, (long) m);
      }
    
      /**
       * Returns {@code x mod m}, a non-negative value less than {@code m}. This differs from {@code x %
       * m}, which might be negative.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

          if (newCapacity < minCapacity) {
            newCapacity = Integer.highestOneBit(minCapacity - 1) << 1;
          }
          if (newCapacity < 0) {
            newCapacity = Integer.MAX_VALUE; // guaranteed to be >= newCapacity
          }
          return newCapacity;
        }
    
        /**
         * Returns a new immutable array. The builder can continue to be used after this call, to append
         * more values and build again.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> lastEntry() {
        return isEmpty() ? null : entrySet().asList().get(size() - 1);
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  6. LICENSE

                                Preamble
    
      The licenses for most software are designed to take away your
    freedom to share and change it.  By contrast, the GNU General Public
    Licenses are intended to guarantee your freedom to share and change
    free software--to make sure the software is free for all its users.
    
      This license, the Lesser General Public License, applies to some
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/Network.java

     * ImmutableNetwork<Integer, MyEdge> immutableGraph = ImmutableNetwork.copyOf(network);
     * }</pre>
     *
     * <p>Instances of {@link ImmutableNetwork} do not implement {@link MutableNetwork} (obviously!) and
     * are contractually guaranteed to be unmodifiable and thread-safe.
     *
     * <p>The Guava User Guide has <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#building-graph-instances">more
     * information on (and examples of) building graphs</a>.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. LICENSE

      The licenses for most software and other practical works are designed
    to take away your freedom to share and change the works.  By contrast,
    our General Public Licenses are intended to guarantee your freedom to
    share and change all versions of a program--to make sure it remains free
    software for all its users.
    
      When we speak of free software, we are referring to freedom, not
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 33.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/OrderingTest.java

            .addEqualityGroup(Ordering.natural().reverse())
            .addEqualityGroup(Collections.reverseOrder())
            .testEquals();
      }
    
      public void testReverseOfReverseSameAsForward() {
        // Not guaranteed by spec, but it works, and saves us from testing
        // exhaustively
        assertSame(numberOrdering, numberOrdering.reverse().reverse());
      }
    
      private enum StringLengthFunction implements Function<String, Integer> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/OrderingTest.java

            .addEqualityGroup(Ordering.natural().reverse())
            .addEqualityGroup(Collections.reverseOrder())
            .testEquals();
      }
    
      public void testReverseOfReverseSameAsForward() {
        // Not guaranteed by spec, but it works, and saves us from testing
        // exhaustively
        assertSame(numberOrdering, numberOrdering.reverse().reverse());
      }
    
      private enum StringLengthFunction implements Function<String, Integer> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top