Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for isUpdate (0.14 sec)

  1. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

            this.env = env;
            this.settings = settings;
            this.expand = expand;
            this.analyzer = analyzer;
    
            createSynonymMap(false);
        }
    
        public boolean isUpdate(final long time) {
            if (System.currentTimeMillis() - lastChecked > reloadInterval) {
                lastChecked = System.currentTimeMillis();
                final long timestamp = reloadableFile.lastModified();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 6.7K bytes
    - Viewed (1)
  2. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java

         * @return true if updated, false otherwise
         */
        public boolean isUpdated() {
            return newInput != null;
        }
    
        /**
         * Checks if this item has been deleted.
         * @return true if deleted, false otherwise
         */
        public boolean isDeleted() {
            return isUpdated() && newInput.length() == 0;
        }
    
        @Override
        public int hashCode() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

        public void test_isUpdated() {
            // Test isUpdated method
            StopwordsItem item = new StopwordsItem(1, "original");
            assertFalse(item.isUpdated());
    
            item.setNewInput("updated");
            assertTrue(item.isUpdated());
    
            item.setNewInput("");
            assertTrue(item.isUpdated());
    
            item.setNewInput(null);
            assertFalse(item.isUpdated());
        }
    
        public void test_isDeleted() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

         */
        public boolean isUpdated() {
            return newInput != null && newOutput != null;
        }
    
        /**
         * Checks if the item has been marked for deletion.
         *
         * @return true if the item is marked for deletion, false otherwise.
         */
        public boolean isDeleted() {
            return isUpdated() && StringUtil.isBlank(newInput);
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        public void test_isUpdated() {
            // Test isUpdated method
            ProtwordsItem item = new ProtwordsItem(1, "word");
            assertFalse(item.isUpdated());
    
            item.setNewInput("newword");
            assertTrue(item.isUpdated());
    
            item.setNewInput("");
            assertTrue(item.isUpdated());
    
            item.setNewInput(null);
            assertFalse(item.isUpdated());
        }
    
        public void test_isDeleted() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            // Initially not updated
            assertFalse(item.isUpdated());
    
            // Set only newInputs - still not updated
            item.setNewInputs(new String[] { "new" });
            assertFalse(item.isUpdated());
    
            // Set both newInputs and newOutput - now updated
            item.setNewOutput("newOutput");
            assertTrue(item.isUpdated());
    
            // Set newInputs to null - not updated
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

        }
    
        /**
         * Checks whether this mapping item has pending updates.
         *
         * @return true if both newInputs and newOutput are not null, indicating pending updates
         */
        public boolean isUpdated() {
            return newInputs != null && newOutput != null;
        }
    
        /**
         * Checks whether this mapping item is marked for deletion.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

         */
        public boolean isUpdated() {
            return newInput != null;
        }
    
        /**
         * Checks if the item has been marked for deletion.
         *
         * @return true if the item is marked for deletion, false otherwise.
         */
        public boolean isDeleted() {
            return isUpdated() && newInput.length() == 0;
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

         */
        public boolean isUpdated() {
            return newInputs != null && newOutputs != null;
        }
    
        /**
         * Checks if the item has been marked for deletion.
         *
         * @return true if the item is marked for deletion, false otherwise.
         */
        public boolean isDeleted() {
            return isUpdated() && newInputs.length == 0;
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

         *
         * @return True if the item has been updated.
         */
        public boolean isUpdated() {
            return newToken != null;
        }
    
        /**
         * Returns true if the item has been deleted.
         *
         * @return True if the item has been deleted.
         */
        public boolean isDeleted() {
            return isUpdated() && newToken.length() == 0;
        }
    
        @Override
        public int hashCode() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top