Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1841 - 1850 of 3,503 for 1final (0.08 sec)

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

     * @since 3.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class Interners {
      private Interners() {}
    
      /**
       * Builder for {@link Interner} instances.
       *
       * @since 21.0
       */
      public static class InternerBuilder {
        private final MapMaker mapMaker = new MapMaker();
        private boolean strong = true;
    
        private InternerBuilder() {}
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
      }
    
      public void testThreadFactory() throws InterruptedException {
        final String THREAD_NAME = "ludicrous speed";
        final int THREAD_PRIORITY = 1;
        final boolean THREAD_DAEMON = false;
        ThreadFactory backingThreadFactory =
            new ThreadFactory() {
              @Override
              public Thread newThread(Runnable r) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        assertEquals(Service.State.RUNNING, service.state());
        assertThat(service.transitionStates).containsExactly(Service.State.STARTING);
      }
    
      public void testStart_failed() {
        final Exception exception = new Exception("deliberate");
        TestService service =
            new TestService() {
              @Override
              protected void startUp() throws Exception {
                super.startUp();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                return null; // no edges - nothing to worry about
            }
    
            final TreeSet<MetadataGraphVertex> vertices = graph.getVertices();
    
            try {
                // edge case - single vertex graph
                if (vertices.size() == 1) {
                    return new MetadataGraph(entry);
                }
    
                final ArtifactScopeEnum requestedScope = ArtifactScopeEnum.checkScope(scope);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

        static final String DEFAULT_ENCODING = StandardCharsets.UTF_8.name();
    
        /** Constant for the platform specific line separator.*/
        private static final String LINE_SEPARATOR = System.lineSeparator();
    
        /** Constant for the radix of hex numbers.*/
        private static final int HEX_RADIX = 16;
    
        /** Constant for the length of a unicode literal.*/
        private static final int UNICODE_LEN = 4;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java

    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    import okio.BufferedSink;
    
    public final class PostStreaming {
      public static final MediaType MEDIA_TYPE_MARKDOWN
          = MediaType.get("text/x-markdown; charset=utf-8");
    
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        RequestBody requestBody = new RequestBody() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      }
    
      private static final int MAXIMUM_CAPACITY = 1 << 30;
    
      static final float DEFAULT_LOAD_FACTOR = 1.0f;
    
      /** Bitmask that selects the low 32 bits. */
      private static final long NEXT_MASK = (1L << 32) - 1;
    
      /** Bitmask that selects the high 32 bits. */
      private static final long HASH_MASK = ~NEXT_MASK;
    
      static final int DEFAULT_SIZE = 3;
    
      // used to indicate blank table entries
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

     */
    @GwtIncompatible
    public final class FeatureUtil {
      /** A cache of annotated objects (typically a Class or Method) to its set of annotations. */
      private static final Map<AnnotatedElement, List<Annotation>> annotationCache = new HashMap<>();
    
      private static final Map<Class<?>, TesterRequirements> classTesterRequirementsCache =
          new HashMap<>();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AllEqualOrdering.java

    /**
     * An ordering that treats all references as equals, even nulls.
     *
     * @author Emily Soldal
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable {
      static final AllEqualOrdering INSTANCE = new AllEqualOrdering();
    
      @Override
      @SuppressWarnings("UnusedVariable") // intentionally weird Comparator
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:24:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ComparatorOrdering.java

    /** An ordering for a pre-existing comparator. */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class ComparatorOrdering<T extends @Nullable Object> extends Ordering<T>
        implements Serializable {
      final Comparator<T> comparator;
    
      ComparatorOrdering(Comparator<T> comparator) {
        this.comparator = checkNotNull(comparator);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 1.9K bytes
    - Viewed (0)
Back to top