Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1201 - 1210 of 1,806 for instances (0.19 sec)

  1. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    pageSize, offset);
        }
    
        protected float toFloat(final Object value) {
            if (value instanceof final Float f) {
                return f;
            }
            if (value instanceof final String s) {
                return Float.parseFloat(s);
            }
            return 0.0f;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        boolean hasSameComparator = fromSortedSet || hasSameComparator(elements, comparator);
        if (hasSameComparator && (elements instanceof ImmutableSortedSet)) {
          @SuppressWarnings("unchecked")
          ImmutableSortedSet<E> result = (ImmutableSortedSet<E>) elements;
          boolean isSubset =
              (result instanceof RegularImmutableSortedSet)
                  && ((RegularImmutableSortedSet) result).isSubset;
          if (!isSubset) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

            };
            client.setAccessTimeout(1);
            try {
                client.doGet("file:/tmp/test.txt");
                fail();
            } catch (CrawlingAccessException e) {
                assertTrue(e.getCause() instanceof InterruptedException);
            }
        }
    
        public void test_doHead_accessTimeoutTarget() {
            FileSystemClient client = new FileSystemClient() {
                @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

         */
        private ManagedVersionMap getManagedVersionsMap(
                Artifact originatingArtifact, Map<String, Artifact> managedVersions) {
            ManagedVersionMap versionMap;
            if (managedVersions instanceof ManagedVersionMap) {
                versionMap = (ManagedVersionMap) managedVersions;
            } else {
                versionMap = new ManagedVersionMap(managedVersions);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        public MetadataBridge setFile(File file) {
            return this;
        }
    
        @Override
        public Path getPath() {
            return null;
        }
    
        public Nature getNature() {
            if (metadata instanceof RepositoryMetadata) {
                switch (((RepositoryMetadata) metadata).getNature()) {
                    case RepositoryMetadata.RELEASE_OR_SNAPSHOT:
                        return Nature.RELEASE_OR_SNAPSHOT;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java

            this.deprecated = deprecated;
        }
    
        public int hashCode() {
            return name.hashCode();
        }
    
        public boolean equals(Object other) {
            return (other instanceof Parameter) && getName().equals(((Parameter) other).getName());
        }
    
        public String getAlias() {
            return alias;
        }
    
        public void setAlias(String alias) {
            this.alias = alias;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java

      private final int value;
    
      public UnhashableObject(int value) {
        this.value = value;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof UnhashableObject) {
          UnhashableObject that = (UnhashableObject) object;
          return this.value == that.value;
        }
        return false;
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 20 11:19:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Count.java

        value = newValue;
        return result;
      }
    
      @Override
      public int hashCode() {
        return value;
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        return obj instanceof Count && ((Count) obj).value == value;
      }
    
      @Override
      public String toString() {
        return Integer.toString(value);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractRangeSet.java

      }
    
      @Override
      public abstract boolean encloses(Range<C> otherRange);
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        } else if (obj instanceof RangeSet) {
          RangeSet<?> other = (RangeSet<?>) obj;
          return this.asRanges().equals(other.asRanges());
        }
        return false;
      }
    
      @Override
      public final int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/exentity/UserInfo.java

            }
            return sourceMap;
        }
    
        @Override
        protected void addFieldToSource(final Map<String, Object> sourceMap, final String field, final Object value) {
            if (value instanceof final LocalDateTime ldt) {
                final ZonedDateTime zdt = ZonedDateTime.of(ldt, ZoneId.systemDefault());
                super.addFieldToSource(sourceMap, field, DateTimeFormatter.ISO_INSTANT.format(zdt));
            } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top