Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 243 for Effect (0.15 sec)

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

     *   <li>A key is contained in the multimap if and only if it maps to at least one value. Any
     *       operation that causes a key to have zero associated values has the effect of
     *       <i>removing</i> that key from the multimap.
     *   <li>The total entry count is available as {@link #size}.
     *   <li>Many complex operations become easier; for example, {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

     *
     * A side effect of using @Typed is that it translates to explicit bindings in the container.
     * So instead of binding the component under a 'wildcard' key it is now bound with an explicit
     * key. Since this is a default component this will be a plain binding of ModelProcessor to
     * this implementation type, ie. no hint/name.
     *
     * This leads to a second side effect in that any @Inject request for just ModelProcessor in
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

           * need to clear our reference to the TimeoutFuture is the reason we use a *static* nested
           * class with a manual reference back to the "containing" class.)
           *
           * This has the nice-ish side effect of limiting reentrancy: run() calls
           * timeoutFuture.setException() calls run(). That reentrancy would already be harmless, since
           * timeoutFuture can be set (and delegate cancelled) only once. (And "set only once" is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          return;
        }
        out.write(data);
        assertTrue(Arrays.equals(data, source.read()));
    
        out.close();
        assertThrows(IOException.class, () -> out.write(42));
    
        // Verify that write had no effect
        assertTrue(Arrays.equals(data, source.read()));
        out.reset();
      }
    
      public void testReset() throws Exception {
        byte[] data = newPreFilledByteArray(100);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

                // TODO Should this be changed for MNG-6754 too?
                snapshot.setTimestamp(getDeploymentTimestamp());
    
                // we update the build number anyway so that it doesn't get lost. It requires the timestamp to take effect
                try {
                    int buildNumber = resolveLatestSnapshotBuildNumber(artifact, localRepository, remoteRepository);
    
                    snapshot.setBuildNumber(buildNumber + 1);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/BiMap.java

       * value} before proceeding with the {@link #put} operation. If the bimap previously contained the
       * provided key-value mapping, this method has no effect.
       *
       * <p>Note that a successful call to this method could cause the size of the bimap to increase by
       * one, stay the same, or even decrease by one.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

            .inOrder();
      }
    
      /**
       * Populates the graph with nodes and edges in a star shape with node `1` in the middle.
       *
       * <p>Note that the edges are added in a shuffled order to properly test the effect of the
       * insertion order.
       */
      private void populateStarShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
        putEdge(1, 3);
        putEdge(5, 1);
        putEdge(1, 2);
        putEdge(3, 1);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/EnumBiMap.java

       * trouble than just using Object.class.)
       *
       * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use
       * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
       * themselves their proper values under GWT, since GWT's EnumMap does need the Class instance.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                legacySupport.setSession(oldSession);
            }
        }
    
        /**
         * TODO pluginDescriptor classRealm and artifacts are set as a side effect of this
         *      call, which is not nice.
         * @throws PluginResolutionException
         */
        public ClassRealm getPluginRealm(MavenSession session, PluginDescriptor pluginDescriptor)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

              return oldValue;
            }
            // value changed
          }
        }
      }
    
      /**
       * Copies all of the mappings from the specified map to this map. The effect of this call is
       * equivalent to that of calling {@code put(k, v)} on this map once for each mapping from key
       * {@code k} to value {@code v} in the specified map. The behavior of this operation is undefined
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top