Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for littoral (0.17 sec)

  1. guava-testlib/src/com/google/common/testing/ClusterException.java

     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
     *   for (ThingToRun thingToRun : thingsToRun) {
     *     thingToRun.run(); // say this may throw an exception, but you want to
     *                       // always run all thingsToRun
     *   }
     * }
     * </pre>
     *
     * <p>This is what the code would become:
     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/Escaper.java

    import com.google.errorprone.annotations.DoNotMock;
    
    /**
     * An object that converts literal text into a format safe for inclusion in a particular context
     * (such as an XML document). Typically (but not always), the inverse process of "unescaping" the
     * text is performed automatically by the relevant parser.
     *
     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 16:02:17 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

      /**
       * Parses a serialized trie representation of a map of reversed public suffixes into an immutable
       * map of public suffixes. The encoded trie string may be broken into multiple chunks to avoid the
       * 64k limit on string literal size. In-memory strings can be much larger (2G).
       */
      static ImmutableMap<String, PublicSuffixType> parseTrie(CharSequence... encodedChunks) {
        String encoded = DIRECT_JOINER.join(encodedChunks);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 13 19:20:43 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/HostSpecifier.java

        // canonical form.
        InetAddress addr = null;
        try {
          addr = InetAddresses.forString(host);
        } catch (IllegalArgumentException e) {
          // It is not an IPv4 or IPv6 literal
        }
    
        if (addr != null) {
          return new HostSpecifier(InetAddresses.toUriString(addr));
        }
    
        // It is not any kind of IP address; must be a domain name or invalid.
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ObjectArraysTest.java

        assertEquals(String[].class, array.getClass());
        assertThat(array).hasLength(2);
        assertNull(array[0]);
      }
    
      @J2ktIncompatible // Array<String>::class literal not available in Kotlin KMP
      @GwtIncompatible // ObjectArrays.newArray(Class, int)
      public void testNewArray_fromClass_OfArray() {
        String[][] array = ObjectArrays.newArray(String[].class, 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/annotations/GwtCompatible.java

     * by factory methods has a GWT serializable type. In the following example,
     *
     * <pre>
     * {@literal @}GwtCompatible
     * class Lists {
     *   ...
     *   {@literal @}GwtCompatible(serializable = true)
     *   {@literal static <E> List<E>} newArrayList(E... elements) {
     *     ...
     *   }
     * }
     * </pre>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

     * proportional to the highest valued character that has a replacement. For example a replacement
     * map containing the single character '{@literal \}u1000' will require approximately 16K of memory.
     * As such sharing this data structure between escaper instances is the primary goal of this class.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/annotations/GwtCompatible.java

     * by factory methods has a GWT serializable type. In the following example,
     *
     * <pre>
     * {@literal @}GwtCompatible
     * class Lists {
     *   ...
     *   {@literal @}GwtCompatible(serializable = true)
     *   {@literal static <E> List<E>} newArrayList(E... elements) {
     *     ...
     *   }
     * }
     * </pre>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/ImmutableSupplier.java

     */
    
    package com.google.common.hash;
    
    import com.google.common.base.Supplier;
    import com.google.errorprone.annotations.Immutable;
    
    /**
     * Explicitly named subinterface of {@link Supplier} that can be marked {@literal @}{@link
     * Immutable}.
     */
    // TODO(cpovirk): Should we just use ChecksumType directly instead of defining this type?
    @Immutable
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java

        assertEquals(String[].class, array.getClass());
        assertThat(array).hasLength(2);
        assertNull(array[0]);
      }
    
      @J2ktIncompatible // Array<String>::class literal not available in Kotlin KMP
      @GwtIncompatible // ObjectArrays.newArray(Class, int)
      public void testNewArray_fromClass_OfArray() {
        String[][] array = ObjectArrays.newArray(String[].class, 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
Back to top