Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1251 - 1260 of 2,123 for instanceof (0.93 seconds)

  1. guava/src/com/google/common/collect/RegularImmutableSet.java

          } else if (candidate.equals(target)) {
            return true;
          }
        }
      }
    
      @Override
      public int size() {
        return elements.length;
      }
    
      // We're careful to put only E instances into the array in the mainline.
      // (In the backport, we don't need this suppression, but we keep it to minimize diffs.)
      @SuppressWarnings("unchecked")
      @Override
      public UnmodifiableIterator<E> iterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaProviderFactory.java

    import org.slf4j.LoggerFactory;
    
    import jcifs.Configuration;
    import jcifs.internal.smb2.rdma.disni.DisniRdmaProvider;
    import jcifs.internal.smb2.rdma.tcp.TcpRdmaProvider;
    
    /**
     * Factory for creating RDMA provider instances.
     *
     * This factory attempts to select the best available RDMA provider
     * based on system capabilities and configuration preferences.
     */
    public class RdmaProviderFactory {
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/beans/impl/ParameterizedClassDescImpl.java

        /**
         * Constructs an instance.
         *
         * @param rawClass
         *            The raw class. Must not be {@literal null}.
         */
        public ParameterizedClassDescImpl(final Class<?> rawClass) {
            assertArgumentNotNull("rawClass", rawClass);
    
            this.rawClass = rawClass;
        }
    
        /**
         * Constructs an instance.
         *
         * @param rawClass
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PrefixedObjectValueSource.java

    import org.codehaus.plexus.interpolation.QueryEnabledValueSource;
    
    /**
     * Wraps an arbitrary object with an {@link ObjectBasedValueSource} instance, then
     * wraps that source with a {@link PrefixedValueSourceWrapper} instance, to which
     * this class delegates all of its calls.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rerun/TestTaskConfigurer.java

        private static Method makeAccessible(Method method) {
            method.setAccessible(true);
            return method;
        }
    
        private static <T> T invoke(Method method, Object instance, Object... args) {
            try {
                Object result = method.invoke(instance, args);
                @SuppressWarnings("unchecked")
                T cast = (T) result;
                return cast;
            } catch (IllegalAccessException | InvocationTargetException e) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

        }
    
        @Test
        void close_shouldClosePolicySuccessfully() throws IOException {
            // Arrange
            // First, successfully create an LsaPolicyHandle instance
            doAnswer(invocation -> {
                MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);
                rpc.retval = 0;
                return null;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        exec.execute(task);
        runLatch.await();
        taskLatch.countDown();
    
        ExecutionException e = assertThrows(ExecutionException.class, () -> task.get(5, SECONDS));
        assertThat(e).hasCauseThat().isInstanceOf(IllegalStateException.class);
    
        assertTrue(listenerLatch.await(5, SECONDS));
        assertTrue(task.isDone());
        assertFalse(task.isCancelled());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/Function.java

       * this function.
       *
       * <p><b>Warning: do not depend</b> on the behavior of this method.
       *
       * <p>Historically, {@code Function} instances in this library have implemented this method to
       * recognize certain cases where distinct {@code Function} instances would in fact behave
       * identically. However, as code migrates to {@code java.util.function}, that behavior will
       * disappear. It is best not to depend on it.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 10 01:47:55 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_nullCollectionReference() {
        assertThrows(NullPointerException.class, () -> collection.addAll(null));
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAddAll_nullUnsupported()} so that tests can
       * suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

            void update(@Nonnull ByteBuffer input);
    
            /**
             * Returns the algorithm end result as string, never {@code null}. After invoking this method, this instance should
             * be discarded and not reused. For new checksum calculation you have to get new instance.
             */
            @Nonnull
            String checksum();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 10 20:52:34 GMT 2024
    - 6.4K bytes
    - Click Count (0)
Back to Top