Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 243 for NonNull (0.06 seconds)

  1. guava-tests/test/com/google/common/collect/OrderingTest.java

          assertEquals(strictlyOrderedList, ordering.sortedCopy(shuffledList));
    
          if (!strictlyOrderedList.contains(null)) {
            List<@NonNull T> nonNullShuffledList = (List<@NonNull T>) shuffledList;
            assertEquals(strictlyOrderedList, ordering.immutableSortedCopy(nonNullShuffledList));
          }
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

          int maxRunBeforeFallback = maxRunBeforeFallback(hashTable.length);
          int mask = hashTable.length - 1;
    
          // Invariant: all elements at indices in [knownRunStart, knownRunEnd) are nonnull.
          // If knownRunStart == knownRunEnd, this is vacuously true.
          // When knownRunEnd exceeds hashTable.length, it "wraps", detecting runs around the end
          // of the table.
          int knownRunStart = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

                )
                assertHasNoWarning()
                assertHasNoInformation()
            }
        }
    
        @Test
        fun `from nonnull class type argument to null might be breaking`() {
    
            checkNotBinaryCompatibleJava(
                v1 = """
                    public class Source<String, T, Integer> {}
                """,
                v2 = """
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu May 15 17:05:08 GMT 2025
    - 18K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Iterables.java

    import java.util.RandomAccess;
    import java.util.Set;
    import java.util.SortedSet;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import java.util.stream.Stream;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An assortment of mainly legacy static utility methods that operate on or return objects of type
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

    import java.util.NoSuchElementException;
    import java.util.Queue;
    import java.util.RandomAccess;
    import java.util.Set;
    import java.util.SortedSet;
    import java.util.stream.Stream;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An assortment of mainly legacy static utility methods that operate on or return objects of type
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  6. .idea/misc.xml

              <item index="5" class="java.lang.String" itemvalue="io.reactivex.annotations.NonNull" />
              <item index="6" class="java.lang.String" itemvalue="io.reactivex.rxjava3.annotations.NonNull" />
              <item index="7" class="java.lang.String" itemvalue="jakarta.annotation.Nonnull" />
              <item index="8" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Feb 16 19:01:50 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            String[] values = null;
            if (input instanceof String[]) {
                values = (String[]) input;
            } else if (input instanceof List) {
                values = ((List<?>) input).stream().filter(Objects::nonNull).map(Object::toString).toArray(n -> new String[n]);
            } else if (input instanceof String) {
                return input.toString();
            }
            if (values != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  8. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                        Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}),
                        (String str) -> charactersOf(str).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        7))
            .expect('a', 'b', 'c', 'd', 'e', 'f', 'g');
      }
    
      public void testFlatMap_nullStream() {
        SpliteratorTester.of(
                () ->
                    CollectSpliterators.flatMap(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Iterators.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.NoSuchElementException;
    import java.util.Objects;
    import java.util.PriorityQueue;
    import java.util.Queue;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * This class contains static utility methods that operate on or return objects of type {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Iterators.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.NoSuchElementException;
    import java.util.Objects;
    import java.util.PriorityQueue;
    import java.util.Queue;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * This class contains static utility methods that operate on or return objects of type {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
Back to Top