Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 350 for behavior (0.18 sec)

  1. android/guava/src/com/google/common/base/Joiner.java

      public final String join(
          @CheckForNull Object first, @CheckForNull Object second, @Nullable Object... rest) {
        return join(iterable(first, second, rest));
      }
    
      /**
       * Returns a joiner with the same behavior as this one, except automatically substituting {@code
       * nullText} for any provided null elements.
       */
      public Joiner useForNull(String nullText) {
        checkNotNull(nullText);
        return new Joiner(this) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingCollection.java

     * override one or more methods to modify the behavior of the backing collection as desired per the
     * <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingCollection} forward <b>indiscriminately</b> to
     * the methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 8.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * second invocation, so implementors have made various choices, including:
     *
     * <ul>
     *   <li>returning the same iterator again
     *   <li>throwing an exception of some kind
     *   <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations
     *       have, of returning a new, independent iterator
     * </ul>
     *
     * <p>Because of this situation, any public method accepting an iterable should invoke the {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

        Multiset<MultisetHolder> copy = SerializableTester.reserialize(multiset);
        assertEquals(2, copy.size());
        assertSame(copy, copy.iterator().next().member);
      }
    
      /*
       * The behavior of toString() and iteration is tested by LinkedHashMultiset,
       * which shares a lot of code with HashMultiset and has deterministic
       * iteration order.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Converter.java

          this.original = original;
        }
    
        /*
         * These gymnastics are a little confusing. Basically this class has neither legacy nor
         * non-legacy behavior; it just needs to let the behavior of the backing converter shine
         * through. So, we override the correctedDo* methods, after which the do* methods should never
         * be reached.
         */
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Predicate.java

       *     arguments
       */
      boolean apply(@ParametricNullness T input);
    
      /**
       * Indicates whether another object is equal to this predicate.
       *
       * <p>Most implementations will have no reason to override the behavior of {@link Object#equals}.
       * However, an implementation may also choose to return {@code true} whenever {@code object} is a
       * {@link Predicate} that it considers <i>interchangeable</i> with this one. "Interchangeable"
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

                .named(parentBuilder.getName() + " [Map]")
                .suppressing(parentBuilder.getSuppressedTests())
                .suppressing(SetCreationTester.class.getMethods())
                // BiMap.entrySet() duplicate-handling behavior is too confusing for SetCreationTester
                .withSetUp(parentBuilder.getSetUp())
                .withTearDown(parentBuilder.getTearDown())
                .createTestSuite());
        /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CaseFormat.java

    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    
    /**
     * Utility class for converting between various ASCII case formats. Behavior is undefined for
     * non-ASCII input.
     *
     * @author Mike Bostock
     * @since 1.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public enum CaseFormat {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  9. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * by other {@code CycleDetectingLockFactory} instances (except those with {@code Policy.DISABLED}).
     * A lock's behavior when a cycle is detected, however, is defined by the {@code Policy} of the
     * factory that created it. This allows detection of cycles across components while delegating
     * control over lock behavior to individual components.
     *
     * <p>Applications are encouraged to use a {@code CycleDetectingLockFactory} to create any locks for
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
Back to top