Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 1,891 for instanceOf (0.12 sec)

  1. android/guava/src/com/google/common/collect/CompactHashSet.java

      // TODO(user): cache all field accesses in local vars
    
      /** Creates an empty {@code CompactHashSet} instance. */
      public static <E extends @Nullable Object> CompactHashSet<E> create() {
        return new CompactHashSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code CompactHashSet} instance containing the elements of the given
       * collection in unspecified order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

                final KuromojiItem entity = new KuromojiItem(0, StringUtil.EMPTY, StringUtil.EMPTY, StringUtil.EMPTY, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(KuromojiService.class).getKuromojiItem(form.dictId, ((EditForm) form).id);
                }
                break;
            default:
                break;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

      }
    
      public void testRowMapValuesAreSorted() {
        sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c', "dog", 2, 'd');
        assertTrue(sortedTable.rowMap().get("foo") instanceof SortedMap);
      }
    
      public void testColumnKeySet_isSorted() {
        table =
            create(
                "a", 2, 'X', "a", 2, 'X', "b", 3, 'X', "b", 2, 'X', "c", 10, 'X', "c", 10, 'X', "c", 20,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/DelegatingConfigurationTest.java

        }
    
        @Test
        @DisplayName("DelegatingConfiguration should implement Configuration interface")
        void testInterfaceImplementation() {
            // Then
            assertTrue(delegatingConfig instanceof Configuration, "DelegatingConfiguration should implement Configuration interface");
        }
    
        @Test
        @DisplayName("Delegation should work with different delegate implementations")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj instanceof VersionRange other) {
                return Objects.equals(recommendedVersion, other.recommendedVersion)
                        && Objects.equals(restrictions, other.restrictions);
            } else {
                return false;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  6. 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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(WebConfigService.class).getWebConfig(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. src/main/webapp/js/bootstrap.min.js

    oid 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),u=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?u(t.parentNode):null},_=()=>{},g=t=>{t.offsetHeight},f=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,m=[],p=()=>"rtl"===document.documentElement.dir,b=t=>{var...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 58.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                }
                final Object trackTotalHitsValue = fessConfig.getQueryTrackTotalHitsValue();
                if (trackTotalHitsValue instanceof Boolean) {
                    searchRequestBuilder.setTrackTotalHits((Boolean) trackTotalHitsValue);
                } else if (trackTotalHitsValue instanceof Number) {
                    searchRequestBuilder.setTrackTotalHitsUpTo(((Number) trackTotalHitsValue).intValue());
                }
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        return copyOfInternal(map, comparator);
      }
    
      private static <K, V> ImmutableSortedMap<K, V> copyOfInternal(
          Map<? extends K, ? extends V> map, Comparator<? super K> comparator) {
    
        if (map instanceof ImmutableSortedMap) {
          // TODO: Prove that this cast is safe, even though
          // Collections.unmodifiableSortedMap requires the same key type.
          @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top