Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 103 for mutable_s (0.08 seconds)

  1. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/LinkedListMultimap.java

     * {@snippet :
     * multimap.remove(key1, foo);
     * }
     *
     * <p>changes the entries iteration order to {@code [key2=bar, key1=baz]} and the key iteration
     * order to {@code [key2, key1]}. The {@link #entries()} iterator returns mutable map entries, and
     * {@link #replaceValues} attempts to preserve iteration order as much as possible.
     *
     * <p>The collections returned by {@link #keySet()} and {@link #asMap()} iterate through the keys in
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
  3. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

      @IgnoreJRERequirement
      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);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

      @IgnoreJRERequirement
      public IntStream stream() {
        return Arrays.stream(array, start, end);
      }
    
      /** Returns a new, mutable copy of this array's values, as a primitive {@code int[]}. */
      public int[] toArray() {
        return Arrays.copyOfRange(array, start, end);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  6. android/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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28K bytes
    - Click Count (0)
  7. 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();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  8. guava/src/com/google/common/collect/ImmutableBiMap.java

            return of(entry.getKey(), entry.getValue());
          default:
            /*
             * The current implementation will end up using entryArray directly, though it will write
             * over the (arbitrary, potentially mutable) Entry objects actually stored in entryArray.
             */
            return RegularImmutableBiMap.fromEntries(entryArray);
        }
      }
    
      ImmutableBiMap() {}
    
      /**
       * {@inheritDoc}
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                        .artifactId("test")
                        .version("1.0.0")
                        .build();
    
                Document document = Document.of(pomXml);
                // Use a mutable map since the strategy modifies it
                Map<Path, Document> pomMap = new HashMap<>();
                pomMap.put(Paths.get("pom.xml"), document);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  10. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28.3K bytes
    - Click Count (0)
Back to Top