Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 327 for behavior (0.16 sec)

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

     * methods to modify the behavior of the backing set as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSet} forward <b>indiscriminately</b> to the
     * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 3.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java

      }
    
      @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash)
      @Override
      public void testContainsKey() {
        try {
          super.testContainsKey();
        } catch (ClassCastException tolerated) {
        }
      }
    
      @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash)
      @Override
      public void testEntrySetContainsEntryIncompatibleKey() {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingNavigableSet.java

     * override one or more methods to modify the behavior of the backing set as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingNavigableSet} forward <i>indiscriminately</i>
     * to the methods of the delegate. For example, overriding {@link #add} alone <i>will not</i> change
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ValueGraph.java

       * endpoints are unordered and the graph is directed; it simply returns {@code false}. This is for
       * consistency with the behavior of {@link Collection#contains(Object)} (which does not generally
       * throw if the object cannot be present in the collection), and the desire to have this method's
       * behavior be compatible with {@code edges().contains(endpoints)}.
       *
       * @since 27.1
       */
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Types.java

          ParameterizedType parameterizedType =
              requireNonNull((ParameterizedType) subclass.getGenericSuperclass());
          for (ClassOwnership behavior : ClassOwnership.values()) {
            if (behavior.getOwnerType(LocalClass.class) == parameterizedType.getOwnerType()) {
              return behavior;
            }
          }
          throw new AssertionError();
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

      public FakeTicker advance(Duration duration) {
        return advance(duration.toNanos());
      }
    
      /**
       * Sets the increment applied to the ticker whenever it is queried.
       *
       * <p>The default behavior is to auto increment by zero. i.e: The ticker is left unchanged when
       * queried.
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingList.java

     *
     * <p><b>Warning:</b> The methods of {@code ForwardingList} forward <b>indiscriminately</b> to the
     * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the
     * behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code addAll} as well, either providing your own implementation, or delegating to the
     * provided {@code standardAddAll} method.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

                      long threadSum = 0;
                      for (int j = 0; j < getsPerTask; j++) {
                        long delta = random.nextInt(deltaRange);
                        int behavior = random.nextInt(10);
                        switch (behavior) {
                          case 0:
                            map.incrementAndGet(key);
                            threadSum++;
                            break;
                          case 1:
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/HashMultimap.java

     * Multimaps#synchronizedSetMultimap}.
     *
     * <p><b>Warning:</b> Do not modify either a key <i>or a value</i> of a {@code HashMultimap} in a
     * way that affects its {@link Object#equals} behavior. Undefined behavior and bugs will result.
     *
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/SortedSetMultimap.java

     *
     * <p><b>Warning:</b> As in all {@link SetMultimap}s, do not modify either a key <i>or a value</i>
     * of a {@code SortedSetMultimap} in a way that affects its {@link Object#equals} behavior (or its
     * position in the order of the values). Undefined behavior and bugs will result.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#multimap">{@code Multimap}</a>.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 5.3K bytes
    - Viewed (0)
Back to top