Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2691 - 2700 of 4,422 for Final (0.04 seconds)

  1. android/guava/src/com/google/common/io/Resources.java

    @J2ktIncompatible
    @GwtIncompatible
    public final class Resources {
      private Resources() {}
    
      /**
       * Returns a {@link ByteSource} that reads from the given URL.
       *
       * @since 14.0
       */
      public static ByteSource asByteSource(URL url) {
        return new UrlByteSource(url);
      }
    
      /** A byte source that reads from a URL using {@link URL#openStream()}. */
      private static final class UrlByteSource extends ByteSource {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/ByteStreams.java

        return new ByteArrayDataOutputStream(checkNotNull(byteArrayOutputStream));
      }
    
      @J2ktIncompatible
      private static final class ByteArrayDataOutputStream implements ByteArrayDataOutput {
    
        final DataOutput output;
        final ByteArrayOutputStream byteArrayOutputStream;
    
        ByteArrayDataOutputStream(ByteArrayOutputStream byteArrayOutputStream) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/GcFinalization.java

        FinalizableReference.register(referent, finalizerRan);
        return new WeakReference<>(referent);
      }
    
      private static final class FinalizableReference extends FinalizablePhantomReference<Object> {
        static final FinalizableReferenceQueue referenceQueue = new FinalizableReferenceQueue();
        static final Set<FinalizableReference> references = newConcurrentHashSet();
    
        static void register(Object referent, CountDownLatch latch) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

     * via {@link #setDefault}.
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullMarked
    public final class NullPointerTester {
    
      private final ClassToInstanceMap<Object> defaults = MutableClassToInstanceMap.create();
      private final List<Member> ignoredMembers = new ArrayList<>();
    
      private ExceptionTypePolicy policy = ExceptionTypePolicy.NPE_OR_UOE;
    
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

    import org.gradle.api.logging.Logging;
    
    import java.util.*;
    
    public class ClassDocPropertiesBuilder extends ModelBuilderSupport {
        private final JavadocConverter javadocConverter;
        private final GenerationListener listener;
        private static final Logger LOG = Logging.getLogger(ClassDocPropertiesBuilder.class);
    
        public ClassDocPropertiesBuilder(JavadocConverter javadocConverter, GenerationListener listener) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Click Count (0)
  6. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

    import okhttp3.mockwebserver.MockWebServer;
    import okhttp3.mockwebserver.RecordedRequest;
    import okio.Buffer;
    import okio.Okio;
    
    public class SampleServer extends Dispatcher {
      private final SSLContext sslContext;
      private final String root;
      private final int port;
    
      public SampleServer(SSLContext sslContext, String root, int port) {
        this.sslContext = sslContext;
        this.root = root;
        this.port = port;
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

    /**
     * Tests for {@link AbstractInvocationHandler}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class AbstractInvocationHandlerTest extends TestCase {
    
      private static final ImmutableList<String> LIST1 = ImmutableList.of("one", "two");
      private static final ImmutableList<String> LIST2 = ImmutableList.of("three");
    
      public void testDelegate() {
        assertEquals(LIST1, ImmutableList.copyOf(newDelegatingList(LIST1)));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantBasePlugin.java

         */
        static class VagrantSetupCheckerPlugin implements Plugin<Project> {
    
            private static final Pattern VAGRANT_VERSION = Pattern.compile("Vagrant (\\d+\\.\\d+\\.\\d+)");
            private static final Pattern VIRTUAL_BOX_VERSION = Pattern.compile("(\\d+\\.\\d+)");
    
            @Override
            public void apply(Project project) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.1K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/guide/PostExample.java

    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public class PostExample {
      public static final MediaType JSON = MediaType.get("application/json; charset=utf-8");
    
      final OkHttpClient client = new OkHttpClient();
    
      String post(String url, String json) throws IOException {
        RequestBody body = RequestBody.create(json, JSON);
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

       * your own instanceof tests.
       */
    
      public final FluentFuture<V> catching(
          Class<Throwable> exceptionType,
          Function<? super Throwable, ? extends V> fallback,
          Executor executor) {
        return (FluentFuture<V>) Futures.catching(this, exceptionType, fallback, executor);
      }
    
      public final FluentFuture<V> catchingAsync(
          Class<Throwable> exceptionType,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
Back to Top