Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,782 for instanceOf (0.1 sec)

  1. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/UniAddress.java

         */
        @Override
        public InetAddress toInetAddress () throws UnknownHostException {
            if ( this.addr instanceof Address ) {
                return ( (Address) this.addr ).toInetAddress();
            }
            else if ( this.addr instanceof InetAddress ) {
                return (InetAddress) this.addr;
            }
            return null;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        return !disjoint(a, b);
      }
    
      private static Method extractMethod(Test test) {
        if (test instanceof AbstractTester) {
          AbstractTester<?> tester = (AbstractTester<?>) test;
          return getMethod(tester.getClass(), tester.getTestMethodName());
        } else if (test instanceof TestCase) {
          TestCase testCase = (TestCase) test;
          return getMethod(testCase.getClass(), testCase.getName());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                    errors << "Nullability breaking change"
                }
    
            } else if (member instanceof JApiConstructor) {
    
                JApiConstructor ctor = (JApiConstructor) member
                inspectParametersNullabilityOf(ctor.oldConstructor.get(), ctor.newConstructor.get())
    
            } else if (member instanceof JApiMethod) {
    
                JApiMethod method = (JApiMethod) member
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/log/exbhv/SearchLogBhv.java

                final Object searchFieldObj = source.get("searchField");
                if (searchFieldObj instanceof Map) {
                    ((Map<String, ?>) searchFieldObj).entrySet().stream().forEach(e -> {
                        if (e.getValue() instanceof String[]) {
                            final String[] values = (String[]) e.getValue();
                            for (final String v : values) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

            params.put(key, value);
        }
    
        public Object get(final String key) {
            return params.get(key);
        }
    
        public String getAsString(final String key) {
            if (params.get(key) instanceof final String strValue) {
                return strValue;
            }
            final Object value = params.get(key);
            if (value != null) {
                return value.toString();
            }
            return null;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/DocumentUtil.java

            }
            if (clazz.isAssignableFrom(Date.class)) {
                if (value instanceof Date) {
                    return (T) value;
                }
                return (T) FessFunctions.parseDate(value.toString());
            }
            if (clazz.isAssignableFrom(Long.class)) {
                if (value instanceof Long) {
                    return (T) value;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        Set<String> keySet = map.keySet();
        assertTrue(keySet instanceof SynchronizedSet);
        assertSame(mutex, ((SynchronizedSet<?>) keySet).mutex);
      }
    
      public void testValues() {
        Map<String, Integer> map = create();
        Collection<Integer> values = map.values();
        assertTrue(values instanceof SynchronizedCollection);
        assertSame(mutex, ((SynchronizedCollection<?>) values).mutex);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            final List<String[]> readings = new ArrayList<>();
            for (int i = 0;; i++) {
                final Object readingObj = source.get(FieldNames.READING_PREFIX + i);
                if (!(readingObj instanceof List)) {
                    break;
                }
                @SuppressWarnings("unchecked")
                final List<String> list = (List<String>) readingObj;
                readings.add(list.toArray(new String[list.size()]));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        assertTrue(descendingKeySet instanceof SynchronizedNavigableSet);
        assertSame(mutex, ((SynchronizedNavigableSet<String>) descendingKeySet).mutex);
      }
    
      public void testDescendingMap() {
        NavigableMap<String, Integer> map = create();
        NavigableMap<String, Integer> descendingMap = map.descendingMap();
        assertTrue(descendingMap instanceof SynchronizedNavigableMap);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top