Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 283 for undelegate (0.06 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */
      public static class BadFuture extends SimpleForwardingListenableFuture<Integer> {
        protected BadFuture(ListenableFuture<Integer> delegate) {
          super(delegate);
        }
    
        @Override
        public Integer get() {
          throw new RuntimeException("Oops");
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMultiset.java

        private final Multiset<E> delegate;
    
        ElementSet(List<Entry<E>> entries, Multiset<E> delegate) {
          this.entries = entries;
          this.delegate = delegate;
        }
    
        @Override
        E get(int index) {
          return entries.get(index).getElement();
        }
    
        @Override
        public boolean contains(@Nullable Object object) {
          return delegate.contains(object);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A generator that relies on a preexisting generator for most of its work. For example, a derived
     * iterator generator may delegate the work of creating the underlying collection to an inner
     * collection generator.
     *
     * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A generator that relies on a preexisting generator for most of its work. For example, a derived
     * iterator generator may delegate the work of creating the underlying collection to an inner
     * collection generator.
     *
     * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

    @GwtCompatible
    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
      public BaseComparable(String s) {
        this.s = s;
      }
    
      @Override
      public int hashCode() { // delegate to 's'
        return s.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
        if (other == null) {
          return false;
        } else if (other instanceof BaseComparable) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeRangeSet.java

      final class AsRanges extends ForwardingCollection<Range<C>> implements Set<Range<C>> {
    
        final Collection<Range<C>> delegate;
    
        AsRanges(Collection<Range<C>> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        protected Collection<Range<C>> delegate() {
          return delegate;
        }
    
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        var canceled = false
    
        override val source: BufferedSource =
          object : ForwardingSource(delegate.source) {
            override fun close() {
              sourceClosed = true
              super.close()
            }
          }.buffer()
    
        override val sink: BufferedSink =
          object : ForwardingSink(delegate.sink) {
            override fun close() {
              sinkClosed = true
              super.close()
            }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                  @Override
                  public SortedSet<String> create(String[] elements) {
                    NavigableSet<String> delegate = new TreeSet<>(MinimalCollection.of(elements));
                    return Collections.synchronizedNavigableSet(delegate);
                  }
                })
            .named("synchronizedNavigableSet/TreeSet, natural")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/StandardMutableGraph.java

      StandardMutableGraph(AbstractGraphBuilder<? super N> builder) {
        this.backingValueGraph = new StandardMutableValueGraph<>(builder);
      }
    
      @Override
      BaseGraph<N> delegate() {
        return backingValueGraph;
      }
    
      @Override
      public boolean addNode(N node) {
        return backingValueGraph.addNode(node);
      }
    
      @Override
      public boolean putEdge(N nodeU, N nodeV) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

          private val delegate: MutableIterator<DiskLruCache.Snapshot> = cache.snapshots()
          private var nextUrl: String? = null
          private var canRemove = false
    
          override fun hasNext(): Boolean {
            if (nextUrl != null) return true
    
            canRemove = false // Prevent delegate.remove() on the wrong item!
            while (delegate.hasNext()) {
              try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top