Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for musste (0.15 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/OrderingTest.java

          <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario) {
            List<T> newList = Lists.newArrayList(scenario.strictlyOrderedList);
            Collections.reverse(newList);
            return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
          }
        },
        NULLS_FIRST {
          @Override
          <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/OrderingTest.java

          <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario) {
            List<T> newList = Lists.newArrayList(scenario.strictlyOrderedList);
            Collections.reverse(newList);
            return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
          }
        },
        NULLS_FIRST {
          @Override
          <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/ValueGraph.java

     *
     * <p>{@link ValueGraphBuilder#build()} returns an instance of {@link MutableValueGraph}, which is a
     * subtype of {@code ValueGraph} that provides methods for adding and removing nodes and edges. If
     * you do not need to mutate a graph (e.g. if you write a method than runs a read-only algorithm on
     * the graph), you should use the non-mutating {@link ValueGraph} interface, or an {@link
     * ImmutableValueGraph}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/HashCode.java

       */
      public static HashCode fromBytes(byte[] bytes) {
        checkArgument(bytes.length >= 1, "A HashCode must contain at least 1 byte.");
        return fromBytesNoCopy(bytes.clone());
      }
    
      /**
       * Creates a {@code HashCode} from a byte array. The array is <i>not</i> copied defensively, so it
       * must be handed-off so as to preserve the immutability contract of {@code HashCode}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CollectCollectors.java

          if (set == null) {
            return ImmutableSet.of();
          }
          ImmutableSet<E> ret = ImmutableEnumSet.asImmutable(set);
          set = null; // subsequent manual manipulation of the accumulator mustn't affect ret
          return ret;
        }
      }
    
      @GwtIncompatible
      @SuppressWarnings({"rawtypes", "unchecked"})
      static <E extends Comparable<? super E>>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeRangeMap.java

          return;
        }
    
        Range<K> coalescedRange = coalescedRange(range, checkNotNull(value));
        put(coalescedRange, value);
      }
    
      /** Computes the coalesced range for the given range+value - does not mutate the map. */
      private Range<K> coalescedRange(Range<K> range, V value) {
        Range<K> coalescedRange = range;
        Entry<Cut<K>, RangeMapEntry<K, V>> lowerEntry =
            entriesByLowerBound.lowerEntry(range.lowerBound);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Network.java

     * }</pre>
     *
     * <p>{@link NetworkBuilder#build()} returns an instance of {@link MutableNetwork}, which is a
     * subtype of {@code Network} that provides methods for adding and removing nodes and edges. If you
     * do not need to mutate a network (e.g. if you write a method than runs a read-only algorithm on
     * the network), you should use the non-mutating {@link Network} interface, or an {@link
     * ImmutableNetwork}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/MathPreconditions.java

        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
      @CanIgnoreReturnValue
      static long checkPositive(String role, long x) {
        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.3K bytes
    - Viewed (0)
Back to top