Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 2,098 for Instance (0.09 seconds)

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

              .put(ImmutableClassToInstanceMap.class, ImmutableClassToInstanceMap.builder().build())
              .put(Comparable.class, ByToString.INSTANCE)
              .put(Comparator.class, AlwaysEqual.INSTANCE)
              .put(Ordering.class, AlwaysEqual.INSTANCE)
              .put(Range.class, Range.all())
              .put(MapDifference.class, Maps.difference(ImmutableMap.of(), ImmutableMap.of()))
              .put(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/Atomics.java

      private Atomics() {}
    
      /**
       * Creates an {@code AtomicReference} instance with no initial value.
       *
       * @return a new {@code AtomicReference} with no initial value
       */
      public static <V> AtomicReference<@Nullable V> newReference() {
        return new AtomicReference<>();
      }
    
      /**
       * Creates an {@code AtomicReference} instance with the given initial value.
       *
       * @param initialValue the initial value
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

      public void testToString() {
        assertThat(INSTANCE.toString()).isEqualTo("{}");
      }
    
      public void testSize() {
        assertEquals(0, INSTANCE.size());
      }
    
      public void testGet() {
        assertThat(INSTANCE.get('a', 1)).isNull();
      }
    
      public void testIsEmpty() {
        assertTrue(INSTANCE.isEmpty());
      }
    
      public void testCellSet() {
        assertEquals(ImmutableSet.of(), INSTANCE.cellSet());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/context/SingletonContext.java

        public static synchronized final SingletonContext getInstance() {
            if (INSTANCE == null) {
                try {
                    log.debug("Initializing singleton context");
                    init(null);
                } catch (final CIFSException e) {
                    log.error("Failed to create singleton JCIFS context", e);
                }
            }
            return INSTANCE;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java

        protected DocumentBuilderFactoryUtil() {
        }
    
        /**
         * Returns a new instance of {@link DocumentBuilderFactory}.
         *
         * @return A new instance of {@link DocumentBuilderFactory}.
         */
        public static DocumentBuilderFactory newInstance() {
            return newInstance(false);
        }
    
        /**
         * Returns a new instance of {@link DocumentBuilderFactory}.
         *
         * @param external
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/CacheBuilder.java

            }
          };
    
      enum NullListener implements RemovalListener<Object, Object> {
        INSTANCE;
    
        @Override
        public void onRemoval(RemovalNotification<Object, Object> notification) {}
      }
    
      enum OneWeigher implements Weigher<Object, Object> {
        INSTANCE;
    
        @Override
        public int weigh(Object key, Object value) {
          return 1;
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

        /**
         * Creates a new instance of DataStoreFactory.
         * This constructor initializes the factory for managing data store instances
         * and provides methods for registration, retrieval, and plugin discovery.
         */
        public DataStoreFactory() {
            // Default constructor with explicit documentation
        }
    
        /**
         * Registers a data store instance with the factory using the specified name.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/timer/TimeoutManager.java

        private TimeoutManager() {
        }
    
        /**
         * Returns the instance for the singleton.
         *
         * @return the instance for the singleton
         */
        public static TimeoutManager getInstance() {
            return instance;
        }
    
        /**
         * Starts the process.
         */
        public synchronized void start() {
            if (thread == null) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactory.java

         * @return A configured toolchain instance
         * @throws ToolchainFactoryException if toolchain creation fails
         */
        @Nonnull
        Toolchain createToolchain(@Nonnull ToolchainModel model) throws ToolchainFactoryException;
    
        /**
         * Creates a default toolchain instance using system defaults.
         *
         * @return Optional containing the default toolchain if available
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

    class MonotonicClockTest {
    
        @Test
        @DisplayName("MonotonicClock singleton instance should always return the same instance")
        void testSingletonInstance() {
            MonotonicClock clock1 = MonotonicClock.get();
            MonotonicClock clock2 = MonotonicClock.get();
    
            assertSame(clock1, clock2, "Multiple calls to get() should return the same instance");
        }
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top