Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 2,083 for instance1 (0.38 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/DefaultConflictResolverFactory.java

    import org.codehaus.plexus.context.Context;
    import org.codehaus.plexus.context.ContextException;
    import org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable;
    
    /**
     * A conflict resolver factory that obtains instances from a plexus container.
     *
     * TODO you don't need the container in here with the active maps (jvz).
     * @since 3.0
     */
    @Named
    @Singleton
    @Deprecated
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AllEqualOrdering.java

     *
     * @author Emily Soldal
     */
    @GwtCompatible
    final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable {
      static final AllEqualOrdering INSTANCE = new AllEqualOrdering();
    
      @Override
      @SuppressWarnings("UnusedVariable") // intentionally weird Comparator
      public int compare(@Nullable Object left, @Nullable Object right) {
        return 0;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. mockwebserver-junit4/README.md

    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance
    will be shut down automatically after the test runs.
    
    For Kotlin, the `@JvmField` annotation is also necessary:
    
    ```
    @JvmField @Rule val serverRule = MockWebServerRule()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 706 bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                        "DH2C", // Durable handle reconnect V2
                        "ExtA", // Extended attributes
                        "SecD", // Security descriptor
                        "AppI" // App instance ID
                };
    
                for (String name : contextNames) {
                    MockCreateContextRequest context = new MockCreateContextRequest(name);
                    assertNotNull(context.getName());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

                }
            }
            return event;
        }
    
        /**
         * Factory method to create an ErrorToWarnRewritePolicy instance.
         *
         * @param loggerNamePrefix comma-separated list of logger name prefixes
         * @return a new ErrorToWarnRewritePolicy instance
         */
        @PluginFactory
        public static ErrorToWarnRewritePolicy createPolicy(@PluginAttribute("loggers") final String loggerNamePrefix) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/LineIterator.java

        }
    
        /**
         * Constructs an instance.
         *
         * @param reader
         *            The {@link Reader} to read strings from. Must not be {@literal null}.
         */
        public LineIterator(final Reader reader) {
            assertArgumentNotNull("reader", reader);
            this.reader = new BufferedReader(reader);
        }
    
        /**
         * Constructs an instance.
         *
         * @param reader
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

                rankFusionProcessor.init();
    
                if (rankFusionProcessor.search(query, new TestSearchRequestParams(0, pageSize, 0),
                        OptionalThing.empty()) instanceof QueryResponseList list) {
                    assertEquals(pageSize, list.size());
                    assertEquals(allRecordCount, list.getAllRecordCount());
                    assertEquals(100, list.getAllPageCount());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DfsReferralTest.java

         */
        @Test
        void testConstructorAndGetData() {
            // Create a mock DfsReferralData object
            DfsReferralData mockData = mock(DfsReferralData.class);
    
            // Create a DfsReferral instance with the mock data
            DfsReferral dfsReferral = new DfsReferral(mockData);
    
            // Verify that getData() returns the same mock data object
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/misc/ValueHolder.java

     *            The type of the value
     */
    public class ValueHolder<T> {
    
        /** The value */
        protected T value;
    
        /**
         * Constructs an instance.
         */
        public ValueHolder() {
        }
    
        /**
         * Constructs an instance.
         *
         * @param value
         *            The value
         */
        public ValueHolder(final T value) {
            this.value = value;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/RenderDataUtil.java

                return;
            }
    
            if (value instanceof Entity) {
                data.register(key, BeanUtil.copyBeanToNewMap(value));
            } else {
                if (value instanceof final Collection<?> coll && !coll.isEmpty()) {
                    // care performance for List that the most frequent pattern
                    final Object first = coll instanceof List<?> ? ((List<?>) coll).get(0) : coll.iterator().next();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top