Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 454 for mutable (0.11 sec)

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

     *   <li>{@code (a..a)} : <b>invalid</b>; an exception will be thrown
     * </ul>
     *
     * <h3>Warnings</h3>
     *
     * <ul>
     *   <li>Use immutable value types only, if at all possible. If you must use a mutable type, <b>do
     *       not</b> allow the endpoint instances to mutate after the range is created!
     *   <li>Your value type's comparison method should be {@linkplain Comparable consistent with
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

      public DoubleStream stream() {
        return Arrays.stream(array, start, end);
      }
    
      /** Returns a new, mutable copy of this array's values, as a primitive {@code double[]}. */
      public double[] toArray() {
        return Arrays.copyOfRange(array, start, end);
      }
    
      /**
       * Returns a new immutable array containing the values in the specified range.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableBiMap.java

        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
      /** Returns an immutable bimap containing a single entry. */
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) {
        return new SingletonImmutableBiMap<>(k1, v1);
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
       * @throws IllegalArgumentException if duplicate keys or values are 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)
  4. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

              suite.addTest(new GeneratedMonitorTest(method, scenario, fair, null, expectedOutcome));
            }
          }
        }
      }
    
      /** A guard that encapsulates a simple, mutable boolean flag. */
      static class FlagGuard extends Monitor.Guard {
    
        private boolean satisfied;
    
        protected FlagGuard(Monitor monitor) {
          super(monitor);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/storage/v1beta1/generated.proto

      // will pause until the driver deployment has published
      // some suitable CSIStorageCapacity object.
      //
      // Alternatively, the driver can be deployed with the field
      // unset or false and it can be flipped later when storage
      // capacity information has been published.
      //
      // This field was immutable in Kubernetes <= 1.22 and now is mutable.
      //
      // +optional
      optional bool storageCapacity = 4;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

              suite.addTest(new GeneratedMonitorTest(method, scenario, fair, null, expectedOutcome));
            }
          }
        }
      }
    
      /** A guard that encapsulates a simple, mutable boolean flag. */
      static class FlagGuard extends Monitor.Guard {
    
        private boolean satisfied;
    
        protected FlagGuard(Monitor monitor) {
          super(monitor);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/storage/v1/generated.proto

      // will pause until the driver deployment has published
      // some suitable CSIStorageCapacity object.
      //
      // Alternatively, the driver can be deployed with the field
      // unset or false and it can be flipped later when storage
      // capacity information has been published.
      //
      // This field was immutable in Kubernetes <= 1.22 and now is mutable.
      //
      // +optional
      // +featureGate=CSIStorageCapacity
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

            .add("services", Collections2.filter(services, not(instanceOf(NoOpService.class))))
            .toString();
      }
    
      /**
       * An encapsulation of all the mutable state of the {@link ServiceManager} that needs to be
       * accessed by instances of {@link ServiceListener}.
       */
      private static final class ServiceManagerState {
        final Monitor monitor = new Monitor();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ServiceManager.java

            .add("services", Collections2.filter(services, not(instanceOf(NoOpService.class))))
            .toString();
      }
    
      /**
       * An encapsulation of all the mutable state of the {@link ServiceManager} that needs to be
       * accessed by instances of {@link ServiceListener}.
       */
      private static final class ServiceManagerState {
        final Monitor monitor = new Monitor();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

       * In the returned multimap, keys appear in the order they are first encountered, and the values
       * corresponding to each key appear in the same order as they are encountered.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.collect(Collectors.groupingBy(keyFunction))}
       * behaves similarly, but returns a mutable {@code Map<K, List<E>>} instead, and may not preserve
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top