Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 1,620 for emptify (0.06 seconds)

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

       * consider using {@code collection.getFirst()} instead. Note that if the collection is empty,
       * {@code getFirst()} throws a {@code NoSuchElementException}, while this method returns the
       * default value.
       *
       * @param defaultValue the default value to return if the iterable is empty
       * @return the first element of {@code iterable} or the default value
       * @since 7.0
       */
      @ParametricNullness
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 43.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        @Nullable String[] arrayWithNull = new @Nullable String[] {null};
        Object[] empty = {};
        String toTest =
            MoreObjects.toStringHelper("TSH")
                .add("strings", strings)
                .add("ints", ints)
                .add("objects", objects)
                .add("arrayWithNull", arrayWithNull)
                .add("empty", empty)
                .toString();
        assertEquals(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableList.java

        }
      }
    
      /** A singleton implementation of iterator() for the empty ImmutableList. */
      // TODO(b/345814817): Move this to RegularImmutableList?
      @SuppressWarnings("ClassInitializationDeadlock")
      private static final UnmodifiableListIterator<Object> EMPTY_ITR =
          new Itr<Object>(RegularImmutableList.EMPTY, 0);
    
      private static final class Itr<E> extends AbstractIndexedListIterator<E> {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/Chars.java

        return Character.compare(a, b);
      }
    
      /**
       * Returns {@code true} if {@code target} is present as an element anywhere in {@code array}.
       *
       * @param array an array of {@code char} values, possibly empty
       * @param target a primitive {@code char} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
      public static boolean contains(char[] array, char target) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/Shorts.java

        return Short.compare(a, b);
      }
    
      /**
       * Returns {@code true} if {@code target} is present as an element anywhere in {@code array}.
       *
       * @param array an array of {@code short} values, possibly empty
       * @param target a primitive {@code short} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
      public static boolean contains(short[] array, short target) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/LinkedListMultimap.java

        Node<K, V> node = new Node<>(key, value);
        if (head == null) { // empty list
          head = tail = node;
          keyToKeyList.put(key, new KeyList<K, V>(node));
          modCount++;
        } else if (nextSibling == null) { // non-empty list, add to tail
          // requireNonNull is safe because the list is non-empty.
          requireNonNull(tail).next = node;
          node.previous = tail;
          tail = node;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
  7. guava/src/com/google/common/primitives/Shorts.java

        return Short.compare(a, b);
      }
    
      /**
       * Returns {@code true} if {@code target} is present as an element anywhere in {@code array}.
       *
       * @param array an array of {@code short} values, possibly empty
       * @param target a primitive {@code short} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
      public static boolean contains(short[] array, short target) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *
         * @param map the map
         * @return {@literal true} if the map is {@literal null} or empty
         */
        public static boolean isEmpty(final Map<?, ?> map) {
            return map == null || map.isEmpty();
        }
    
        /**
         * Returns {@literal true} if the given {@link Map} is not {@literal null} and not empty.
         *
         * @param map the map
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  9. okhttp-logging-interceptor/build.gradle.kts

      testImplementation(projects.okhttpTestingSupport)
      testImplementation(projects.okhttpTls)
      testImplementation(libs.assertk)
    }
    
    mavenPublishing {
      configure(KotlinJvm(javadocJar = JavadocJar.Empty()))
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 776 bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            infoField.setAccessible(true);
            infoField.set(msrpcShareGetInfo, info502);
    
            // Test getSecurity - DACL with 0 ACEs should return empty array
            ACE[] result = msrpcShareGetInfo.getSecurity();
            assertNotNull(result);
            assertEquals(0, result.length);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
Back to Top