Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 92 for emptySet (0.15 sec)

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

        assertTrue(range.containsAll(ImmutableSortedSet.<Integer>of()));
        assertFalse(range.containsAll(ImmutableSortedSet.of(3, 3, 4, 5, 6)));
    
        assertTrue(Range.openClosed(3, 3).containsAll(Collections.<Integer>emptySet()));
      }
    
      public void testEncloses_open() {
        Range<Integer> range = Range.open(2, 5);
        assertTrue(range.encloses(range));
        assertTrue(range.encloses(Range.open(2, 4)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

        }
    
    
        <T extends CommonServerMessageBlockResponse> T send ( CommonServerMessageBlockRequest request, T response ) throws CIFSException {
            return send(request, response, Collections.<RequestParam> emptySet());
        }
    
    
        <T extends CommonServerMessageBlockResponse> T send ( CommonServerMessageBlockRequest request, T response, Set<RequestParam> params )
                throws CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Cache.kt

              result = TreeSet(String.CASE_INSENSITIVE_ORDER)
            }
            for (varyField in value.split(',')) {
              result.add(varyField.trim())
            }
          }
          return result ?: emptySet()
        }
    
        /**
         * Returns the subset of the headers in this's request that impact the content of this's body.
         */
        fun Response.varyHeaders(): Headers {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

    import static com.google.common.collect.testing.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyMap;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.singleton;
    import static java.util.Collections.singletonMap;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/Helpers.java

              }
            };
          }
        };
      }
    
      static <T extends @Nullable Object> Iterator<T> cycle(Iterable<T> iterable) {
        return new Iterator<T>() {
          Iterator<T> iterator = Collections.<T>emptySet().iterator();
    
          @Override
          public boolean hasNext() {
            return true;
          }
    
          @Override
          public T next() {
            if (!iterator.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMap.java

          new ImmutableSortedMap<>(
              ImmutableSortedSet.emptySet(Ordering.natural()), ImmutableList.<Object>of());
    
      static <K, V> ImmutableSortedMap<K, V> emptyMap(Comparator<? super K> comparator) {
        if (Ordering.natural().equals(comparator)) {
          return of();
        } else {
          return new ImmutableSortedMap<>(
              ImmutableSortedSet.emptySet(comparator), ImmutableList.<V>of());
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

         * Builds a new min-max priority queue using the previously specified options, and having no
         * initial contents.
         */
        public <T extends B> MinMaxPriorityQueue<T> create() {
          return create(Collections.<T>emptySet());
        }
    
        /**
         * Builds a new min-max priority queue using the previously specified options, and having the
         * given initial elements.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          new ImmutableSortedMap<>(
              ImmutableSortedSet.emptySet(Ordering.natural()), ImmutableList.<Object>of());
    
      static <K, V> ImmutableSortedMap<K, V> emptyMap(Comparator<? super K> comparator) {
        if (Ordering.natural().equals(comparator)) {
          return of();
        } else {
          return new ImmutableSortedMap<>(
              ImmutableSortedSet.emptySet(comparator), ImmutableList.<V>of());
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

        }
    
    
        <T extends CommonServerMessageBlockResponse> T send ( CommonServerMessageBlockRequest request, T response ) throws CIFSException {
            return send(request, response, Collections.<RequestParam> emptySet());
        }
    
    
        <T extends CommonServerMessageBlockResponse> T send ( CommonServerMessageBlockRequest request, T response, Set<RequestParam> params )
                throws CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

         * Builds a new min-max priority queue using the previously specified options, and having no
         * initial contents.
         */
        public <T extends B> MinMaxPriorityQueue<T> create() {
          return create(Collections.<T>emptySet());
        }
    
        /**
         * Builds a new min-max priority queue using the previously specified options, and having the
         * given initial elements.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top