Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getHeight (0.07 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RequestDataTest.java

            // Default weight should be 1.0
            assertEquals(1.0f, data.getWeight(), 0.001f);
    
            data.setWeight(0.5f);
            assertEquals(0.5f, data.getWeight(), 0.001f);
    
            data.setWeight(2.5f);
            assertEquals(2.5f, data.getWeight(), 0.001f);
    
            data.setWeight(0.0f);
            assertEquals(0.0f, data.getWeight(), 0.001f);
        }
    
        public void test_equalsAndHashCode() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java

            // Default weight should be 1.0
            assertEquals(1.0f, queue.getWeight(), 0.001f);
    
            queue.setWeight(0.5f);
            assertEquals(0.5f, queue.getWeight(), 0.001f);
    
            queue.setWeight(2.5f);
            assertEquals(2.5f, queue.getWeight(), 0.001f);
    
            queue.setWeight(0.0f);
            assertEquals(0.0f, queue.getWeight(), 0.001f);
        }
    
        public void test_toString() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java

                @Override
                public int getWeight() {
                    return 5;
                }
            });
            assertEquals(10, extractorFactory.getExtractor(key).getWeight());
            assertEquals(5, extractorFactory.getExtractors(key)[1].getWeight());
            assertEquals(1, extractorFactory.getExtractors(key)[2].getWeight());
            assertEquals(3, extractorFactory.getExtractors(key).length);
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java

        }
    
        /**
         * Gets the weight/priority of this request.
         * @return the weight
         */
        public float getWeight() {
            return weight;
        }
    
        /**
         * Sets the weight/priority of this request.
         * @param weight the weight
         */
        public void setWeight(float weight) {
            this.weight = weight;
        }
    
        /**
         * Returns the hash code for this RequestData.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

        /**
         * Retrieves the weight of the URL queue.
         *
         * @return the weight as a float value.
         */
        float getWeight();
    
        /**
         * Sets the weight of the URL queue.
         *
         * @param weight the weight to set
         */
        void setWeight(float weight);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

         */
        @Override
        public void setLastModified(final Long lastModified) {
            this.lastModified = lastModified;
        }
    
        @Override
        public float getWeight() {
            return weight;
        }
    
        @Override
        public void setWeight(float weight) {
            this.weight = weight;
        }
    
        /**
         * Returns a string representation of this object.
         * @return A string representation.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

                    }
                    throw new ExtractException("Failed to extract the content using available extractors.");
                }
    
                @Override
                public int getWeight() {
                    return extractors[0].getWeight();
                }
            };
        }
    
        /**
         * Retrieves all extractors for the specified key.
         * @param key The key associated with the extractors.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/Extractor.java

        /**
         * Returns the weight of the extractor.
         * The default implementation returns a weight of 1.
         *
         * @return the weight of the extractor
         */
        default int getWeight() {
            return 1;
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java

             *
             * @param weight the weight to set
             * @return the current RequestDataContext instance
             */
            public RequestDataContext weight(final float weight) {
                data.setWeight(weight);
                return this;
            }
    
            /**
             * Builds and returns the constructed RequestData object.
             *
             * @return the constructed RequestData object
             */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractor.java

        /**
         * Constructs a new MarkdownExtractor and initializes the parser.
         */
        public MarkdownExtractor() {
            super();
            initializeParser();
        }
    
        @Override
        public int getWeight() {
            return 2; // Higher priority than TikaExtractor (weight=1)
        }
    
        /**
         * Initializes the Markdown parser with extensions.
         */
        protected void initializeParser() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top