Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 102 for 140 (0.01 sec)

  1. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

     * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() {
     *   public Foo apply(Foo foo) {
     *     return new ForwardingFoo(foo);
     *   }
     * });
     * }
     *
     * @author Ben Yu
     * @since 14.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullMarked
    public final class ForwardingWrapperTester {
    
      private boolean testsEquals = false;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     * service failure and to ensure that when the JVM is shutting down all the services are stopped.
     *
     * @author Luke Sandberg
     * @since 14.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class ServiceManager implements ServiceManagerBridge {
      private static final LazyLogger logger = new LazyLogger(ServiceManager.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Files.java

        return new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), charset));
      }
    
      /**
       * Returns a new {@link ByteSource} for reading bytes from the given file.
       *
       * @since 14.0
       */
      public static ByteSource asByteSource(File file) {
        return new FileByteSource(file);
      }
    
      private static final class FileByteSource extends
          ByteSource
      {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/MediaType.java

       * ({@code application/xml}) is used for XML documents that are "unreadable by casual users."
       * {@link #XML_UTF_8} is provided for documents that may be read by users.
       *
       * @since 14.0
       */
      public static final MediaType APPLICATION_XML_UTF_8 = createConstantUtf8(APPLICATION_TYPE, "xml");
    
      public static final MediaType ATOM_UTF_8 = createConstantUtf8(APPLICATION_TYPE, "atom+xml");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/EnumMultiset.java

      }
    
      /**
       * Returns a new {@code EnumMultiset} instance containing the given elements. Unlike {@link
       * EnumMultiset#create(Iterable)}, this method does not produce an exception on an empty iterable.
       *
       * @since 14.0
       */
      public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements, Class<E> type) {
        EnumMultiset<E> result = create(type);
        Iterables.addAll(result, elements);
        return result;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

     * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() {
     *   public Foo apply(Foo foo) {
     *     return new ForwardingFoo(foo);
     *   }
     * });
     * }
     *
     * @author Ben Yu
     * @since 14.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullMarked
    public final class ForwardingWrapperTester {
    
      private boolean testsEquals = false;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Ascii.java

       * uppercase ASCII characters} have been converted to lowercase. All other characters are copied
       * without modification.
       *
       * @since 14.0
       */
      public static String toLowerCase(CharSequence chars) {
        if (chars instanceof String) {
          return toLowerCase((String) chars);
        }
        char[] newChars = new char[chars.length()];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link RangeSet} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtIncompatible
    public final class ImmutableRangeSet<C extends Comparable> extends AbstractRangeSet<C>
        implements Serializable {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/MediaType.java

       * ({@code application/xml}) is used for XML documents that are "unreadable by casual users."
       * {@link #XML_UTF_8} is provided for documents that may be read by users.
       *
       * @since 14.0
       */
      public static final MediaType APPLICATION_XML_UTF_8 = createConstantUtf8(APPLICATION_TYPE, "xml");
    
      public static final MediaType ATOM_UTF_8 = createConstantUtf8(APPLICATION_TYPE, "atom+xml");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

    import java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy;
    import java.util.concurrent.TimeUnit;
    
    /**
     * Factory methods for {@link ExecutorService} for testing.
     *
     * @author Chris Nokleberg
     * @since 14.0
     */
    @GwtIncompatible
    public final class TestingExecutors {
      private TestingExecutors() {}
    
      /**
       * Returns a {@link ScheduledExecutorService} that never executes anything.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top