Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for delegateOrNull (0.09 sec)

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

      public int size() {
        Set<E> delegate = delegateOrNull();
        return (delegate != null) ? delegate.size() : size;
      }
    
      @Override
      public boolean isEmpty() {
        return size() == 0;
      }
    
      @Override
      public @Nullable Object[] toArray() {
        if (needsAllocArrays()) {
          return new Object[0];
        }
        Set<E> delegate = delegateOrNull();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactHashSet.java

        }
        Set<E> delegate = delegateOrNull();
        return (delegate != null)
            ? delegate.spliterator()
            : Spliterators.spliterator(
                requireElements(), 0, size, Spliterator.DISTINCT | Spliterator.ORDERED);
      }
    
      @Override
      public void forEach(Consumer<? super E> action) {
        checkNotNull(action);
        Set<E> delegate = delegateOrNull();
        if (delegate != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top