Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for littoral (0.16 sec)

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

      @CheckForNull
      public final V getOrDefault(@CheckForNull Object key, @CheckForNull V defaultValue) {
        /*
         * Even though it's weird to pass a defaultValue that is null, some callers do so. Those who
         * pass a literal "null" should probably just use `get`, but I would expect other callers to
         * pass an expression that *might* be null. This could happen with:
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

        // The argument was malformed, i.e. not an IP string literal.
        if (addr == null) {
          throw formatIllegalArgumentException("'%s' is not an IP string literal.", ipString);
        }
    
        return bytesToInetAddress(addr);
      }
    
      /**
       * Returns {@code true} if the supplied string is a valid IP string literal, {@code false}
       * otherwise.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  3. 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)
  4. 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)
  5. android/guava/src/com/google/common/base/Splitter.java

       * Splitter.on(", ").split("foo, bar,baz")} returns an iterable containing {@code ["foo",
       * "bar,baz"]}.
       *
       * @param separator the literal, nonempty string to recognize as a separator
       * @return a splitter, with default settings, that recognizes that separator
       */
      public static Splitter on(final String separator) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMap.java

      @CheckForNull
      public final V getOrDefault(@CheckForNull Object key, @CheckForNull V defaultValue) {
        /*
         * Even though it's weird to pass a defaultValue that is null, some callers do so. Those who
         * pass a literal "null" should probably just use `get`, but I would expect other callers to
         * pass an expression that *might* be null. This could happen with:
         *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Splitter.java

       * Splitter.on(", ").split("foo, bar,baz")} returns an iterable containing {@code ["foo",
       * "bar,baz"]}.
       *
       * @param separator the literal, nonempty string to recognize as a separator
       * @return a splitter, with default settings, that recognizes that separator
       */
      public static Splitter on(final String separator) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> if an object array is acceptable, use {@code
       * stream.toArray()}; if {@code type} is a class literal such as {@code MyType.class}, use {@code
       * stream.toArray(MyType[]::new)}. Otherwise use {@code stream.toArray( len -> (E[])
       * Array.newInstance(type, len))}.
       *
       * @param type the type of the elements
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> if an object array is acceptable, use {@code
       * stream.toArray()}; if {@code type} is a class literal such as {@code MyType.class}, use {@code
       * stream.toArray(MyType[]::new)}. Otherwise use {@code stream.toArray( len -> (E[])
       * Array.newInstance(type, len))}.
       *
       * @param type the type of the elements
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
Back to top