Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,028 for instanceOf (0.21 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

        }
    
        @Override
        public int indexOf(@CheckForNull Object target) {
          return target instanceof Integer ? parent.indexOf((Integer) target) : -1;
        }
    
        @Override
        public int lastIndexOf(@CheckForNull Object target) {
          return target instanceof Integer ? parent.lastIndexOf((Integer) target) : -1;
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeVisitor.java

          boolean succeeded = false;
          try {
            if (type instanceof TypeVariable) {
              visitTypeVariable((TypeVariable<?>) type);
            } else if (type instanceof WildcardType) {
              visitWildcardType((WildcardType) type);
            } else if (type instanceof ParameterizedType) {
              visitParameterizedType((ParameterizedType) type);
            } else if (type instanceof Class) {
              visitClass((Class<?>) type);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 16 21:10:04 GMT 2021
    - 3.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

       * name as one of the public methods of {@link TypeVariableImpl}, the proxy calls the same method
       * on its instance of {@code TypeVariableImpl}. Otherwise it throws {@link
       * UnsupportedOperationException}; this should only apply to {@code getAnnotatedBounds()}. This
       * does mean that users on Java 8 who obtain an instance of {@code TypeVariable} from {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * this parameter is marked nullable, this method does nothing.
       *
       * @param instance the instance to invoke {@code method} on, or null if {@code method} is static
       */
      public void testMethodParameter(@Nullable Object instance, Method method, int paramIndex) {
        method.setAccessible(true);
        testParameter(instance, invokable(instance, method), paramIndex, method.getDeclaringClass());
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Short) {
                return (Short) o;
            } else if (o instanceof Number) {
                return ((Number) o).shortValue();
            } else if (o instanceof String) {
                return toShort((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        // unmeasurable (comparing done AbstractFutures with immediateFuture)
        if (obj instanceof Cancellation) {
          throw cancellationExceptionWithCause("Task was cancelled.", ((Cancellation) obj).cause);
        } else if (obj instanceof Failure) {
          throw new ExecutionException(((Failure) obj).exception);
        } else if (obj == NULL) {
          /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Integer) {
                return (Integer) o;
            } else if (o instanceof Number) {
                return ((Number) o).intValue();
            } else if (o instanceof String) {
                return toInteger((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

        }
    
        @Override
        public int indexOf(@CheckForNull Object target) {
          return target instanceof Double ? parent.indexOf((Double) target) : -1;
        }
    
        @Override
        public int lastIndexOf(@CheckForNull Object target) {
          return target instanceof Double ? parent.lastIndexOf((Double) target) : -1;
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java

            assertNotNull(versionFilter);
            assertTrue(versionFilter instanceof ContextualSnapshotVersionFilter);
    
            request.getUserProperties().put("maven.versionFilters", "h");
            versionFilter = systemSessionFactory.newRepositorySession(request).getVersionFilter();
            assertNotNull(versionFilter);
            assertTrue(versionFilter instanceof HighestVersionFilter);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Mar 27 14:46:12 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/MemoryUtil.java

                return 0L;
            }
            if (obj instanceof String) {
                return ((String) obj).length() + 56L;
            }
            if (obj instanceof Number) {
                return 24L;
            }
            if (obj instanceof Date) {
                return 32L;
            }
            if (obj instanceof LocalDateTime) {
                return 80L;
            }
            if (obj instanceof ZonedDateTime) {
                return 2128L;
            }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top