Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for nullsFirst (0.05 sec)

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

      }
    
      public void testBuilderSetCountHandlesNullsCorrectly() {
        ImmutableSortedMultiset.Builder<String> builder =
            new ImmutableSortedMultiset.Builder<>(Ordering.natural().nullsFirst());
        assertThrows(NullPointerException.class, () -> builder.setCount(null, 2));
      }
    
      public void testBuilderSetCountIllegal() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class MultimapsTest extends TestCase {
    
      private static final Comparator<Integer> INT_COMPARATOR =
          Ordering.<Integer>natural().reverse().nullsFirst();
    
      @SuppressWarnings("deprecation")
      public void testUnmodifiableListMultimapShortCircuit() {
        ListMultimap<String, Integer> mod = ArrayListMultimap.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/RangeTest.java

      }
    
      public void testEncloseAll_nullValue() {
        List<@Nullable Integer> nullFirst = Lists.newArrayList(null, 0);
        assertThrows(NullPointerException.class, () -> Range.encloseAll((List<Integer>) nullFirst));
        List<@Nullable Integer> nullNotFirst = Lists.newArrayList(0, null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top