Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 621 - 630 of 1,610 for instanceof (0.35 seconds)

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

        boolean sameComparator = false;
        if (map instanceof SortedMap) {
          SortedMap<?, ?> sortedMap = (SortedMap<?, ?>) map;
          Comparator<?> comparator2 = sortedMap.comparator();
          sameComparator =
              (comparator2 == null) ? comparator == NATURAL_ORDER : comparator.equals(comparator2);
        }
    
        if (sameComparator && (map instanceof ImmutableSortedMap)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(1, 4));
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(Collection<T> collection) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

                final SynonymItem entity = new SynonymItem(0, StringUtil.EMPTY_STRINGS, StringUtil.EMPTY_STRINGS);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(SynonymService.class).getSynonymItem(form.dictId, ((EditForm) form).id);
                }
                break;
            default:
                break;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.7K bytes
    - Click Count (1)
  4. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(1, 4));
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(Collection<T> collection) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        private int value;
    
        IntHolder(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return (o instanceof IntHolder) && ((IntHolder) o).value == value;
        }
    
        @Override
        public int hashCode() {
          return value;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(ScheduledJobService.class).getScheduledJob(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

                final StemmerOverrideItem entity = new StemmerOverrideItem(0, StringUtil.EMPTY, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(StemmerOverrideService.class).getStemmerOverrideItem(form.dictId, ((EditForm) form).id);
                }
                break;
            default:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      /**
       * Returns the empty multimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting is safe because the multimap will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableListMultimap<K, V> of() {
        return (ImmutableListMultimap<K, V>) EmptyImmutableListMultimap.INSTANCE;
      }
    
      /** Returns an immutable multimap containing a single entry. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Joiner.java

     * methods will throw {@link NullPointerException} if any given element is null.
     *
     * <p><b>Warning: joiner instances are always immutable</b>; a configuration method such as {@code
     * useForNull} has no effect on the instance it is invoked on! You must store and use the new joiner
     * instance returned by the method. This makes joiners thread-safe, and safe to store as {@code
     * static final} constants.
     *
     * {@snippet :
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

         * @param id the diagnostic ID for organizing files in the ZIP
         */
        protected void writeFessConfig(final ZipOutputStream zos, final String id) {
            if (fessConfig instanceof SimpleImpl) {
                final Properties prop = new Properties();
                ((SimpleImpl) fessConfig).keySet().stream().forEach(k -> prop.setProperty(k, fessConfig.get(k)));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 23K bytes
    - Click Count (0)
Back to Top