Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 120 for Snippet (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/net/InternetDomainName.java

       * ("Internationalizing Domain Names in Applications") is skipped.
       *
       * <p>The following two code snippets are equivalent:
       *
       * {@snippet :
       * domainName = InternetDomainName.isValid(name)
       *     ? InternetDomainName.from(name)
       *     : DEFAULT_DOMAIN;
       * }
       *
       * {@snippet :
       * try {
       *   domainName = InternetDomainName.from(name);
       * } catch (IllegalArgumentException e) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 27.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * corresponding to smaller values of {@link Enum#ordinal()} should only be acquired before locks
       * with larger ordinals. Example:
       *
       * {@snippet :
       * enum MyLockOrder {
       *   FIRST, SECOND, THIRD;
       * }
       *
       * CycleDetectingLockFactory.WithExplicitOrdering<MyLockOrder> factory =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/MoreObjects.java

      }
    
      /**
       * Creates an instance of {@link ToStringHelper}.
       *
       * <p>This is helpful for implementing {@link Object#toString()}. Specification by example:
       *
       * {@snippet :
       * // Returns "ClassName{}"
       * MoreObjects.toStringHelper(this)
       *     .toString();
       *
       * // Returns "ClassName{x=1}"
       * MoreObjects.toStringHelper(this)
       *     .add("x", 1)
       *     .toString();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

       * in {@code occurrencesToRemove}. However, this operation <i>is</i> equivalent to, albeit
       * sometimes more efficient than, the following:
       *
       * {@snippet :
       * for (E e : occurrencesToRemove) {
       *   multisetToModify.remove(e);
       * }
       * }
       *
       * @return {@code true} if {@code multisetToModify} was changed as a result of this operation
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.3K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Multisets.java

       * in {@code occurrencesToRemove}. However, this operation <i>is</i> equivalent to, albeit
       * sometimes more efficient than, the following:
       *
       * {@snippet :
       * for (E e : occurrencesToRemove) {
       *   multisetToModify.remove(e);
       * }
       * }
       *
       * @return {@code true} if {@code multisetToModify} was changed as a result of this operation
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableTable.java

            checkNotNull(value, "value"));
      }
    
      /**
       * A builder for creating immutable table instances, especially {@code public static final} tables
       * ("constant tables"). Example:
       *
       * {@snippet :
       * static final ImmutableTable<Integer, Character, String> SPREADSHEET =
       *     new ImmutableTable.Builder<Integer, Character, String>()
       *         .put(1, 'A', "foo")
       *         .put(1, 'B', "bar")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/MoreObjects.java

      }
    
      /**
       * Creates an instance of {@link ToStringHelper}.
       *
       * <p>This is helpful for implementing {@link Object#toString()}. Specification by example:
       *
       * {@snippet :
       * // Returns "ClassName{}"
       * MoreObjects.toStringHelper(this)
       *     .toString();
       *
       * // Returns "ClassName{x=1}"
       * MoreObjects.toStringHelper(this)
       *     .add("x", 1)
       *     .toString();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableTable.java

            checkNotNull(value, "value"));
      }
    
      /**
       * A builder for creating immutable table instances, especially {@code public static final} tables
       * ("constant tables"). Example:
       *
       * {@snippet :
       * static final ImmutableTable<Integer, Character, String> SPREADSHEET =
       *     new ImmutableTable.Builder<Integer, Character, String>()
       *         .put(1, 'A', "foo")
       *         .put(1, 'B', "bar")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableMultiset.java

        return new Builder<>();
      }
    
      /**
       * A builder for creating immutable multiset instances, especially {@code public static final}
       * multisets ("constant multisets"). Example:
       *
       * {@snippet :
       * public static final ImmutableMultiset<Bean> BEANS =
       *     new ImmutableMultiset.Builder<Bean>()
       *         .addCopies(Bean.COCOA, 4)
       *         .addCopies(Bean.GARDEN, 6)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  10. guava/src/com/google/common/math/LongMath.java

      }
    
      /**
       * Returns {@code x mod m}, a non-negative value less than {@code m}. This differs from {@code x %
       * m}, which might be negative.
       *
       * <p>For example:
       *
       * {@snippet :
       * mod(7, 4) == 3
       * mod(-7, 4) == 1
       * mod(-1, 4) == 3
       * mod(-8, 4) == 0
       * mod(8, 4) == 0
       * }
       *
       * @throws ArithmeticException if {@code m <= 0}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 03 21:01:09 GMT 2025
    - 46.8K bytes
    - Click Count (0)
Back to Top