Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 2,600 for instances (0.05 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

     * This class provides factory methods for creating instances of extensible enums
     * such as Language, PathScope, and ProjectScope.
     *
     * @since 4.0.0
     */
    abstract class ExtensibleEnums {
    
        /**
         * Creates a new Language instance with the specified ID.
         *
         * @param id the identifier for the language
         * @return a new Language instance
         */
        static Language language(String id) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            // Check that it contains class name or relevant info
            assertTrue(result.contains("FessTimeResourceProvider") || result.contains("adjustTimeMillis"));
        }
    
        // Test multiple provider instances
        @Test
        public void test_multipleInstances() {
            FessTimeResourceProvider provider1 = new FessTimeResourceProvider(mockConfig);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            assertTrue(exception instanceof UnsupportedSearchException);
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_stackTrace() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableList.java

        return this;
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        // this loop is faster for RandomAccess instances, which ImmutableLists are
        int size = size();
        for (int i = 0; i < size; i++) {
          dst[offset + i] = get(i);
        }
        return offset + size;
      }
    
      /**
       * Returns a view of this immutable list in reverse order. For example, {@code ImmutableList.of(1,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/AbstractListMultimap.java

       */
      @Override
      public Map<K, Collection<V>> asMap() {
        return super.asMap();
      }
    
      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code ListMultimap} instances are equal if, for each key, they contain the same values
       * in the same order. If the value orderings disagree, the multimaps will not be considered equal.
       */
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Platform.java

        return CompactHashSet.create();
      }
    
      /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
      /*
       * Arrays are a mess from a nullness perspective, and Class instances for object-array types are
       * even worse. For now, we just suppress and move on with our lives.
       *
       * - https://github.com/jspecify/jspecify/issues/65
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractBiMap.java

        }
    
        @Override
        public boolean remove(@Nullable Object object) {
          /*
           * `o instanceof Entry` is guaranteed by `contains`, but we check it here to satisfy our
           * nullness checker.
           */
          if (!esDelegate.contains(object) || !(object instanceof Entry)) {
            return false;
          }
    
          Entry<?, ?> entry = (Entry<?, ?>) object;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/Splitter.java

     * the order in which these configuration methods are called is never significant.
     *
     * <p><b>Warning:</b> Splitter instances are immutable. Invoking a configuration method has no
     * effect on the receiving instance; you must store and use the new splitter instance it returns
     * instead.
     *
     * {@snippet :
     * // Do NOT do this
     * Splitter splitter = Splitter.on('/');
     * splitter.trimResults(); // does nothing!
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

        }
    
        @Test
        public void test_instanceOf() {
            // Test that exception is instance of RuntimeException
            DictionaryExpiredException exception = new DictionaryExpiredException();
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_throwAndCatch() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/BufferCacheImplTest.java

            }
        }
    
        // Heterogeneous buffer sizes: cache should return exactly what was released
        @Test
        @DisplayName("Cache preserves and returns original buffer instances of varying sizes")
        void returnsExactReleasedInstances() {
            BufferCacheImpl impl = new BufferCacheImpl(3, 8);
            byte[] s1 = new byte[2];
            byte[] s2 = new byte[7];
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
Back to Top