Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for isDeleted (0.06 sec)

  1. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItemTest.java

            assertFalse(stemmerOverrideItem.isUpdated());
            assertFalse(stemmerOverrideItem.isDeleted());
    
            stemmerOverrideItem.setNewInput("bbb");
            stemmerOverrideItem.setNewOutput("b");
            assertTrue(stemmerOverrideItem.isUpdated());
            assertFalse(stemmerOverrideItem.isDeleted());
    
            stemmerOverrideItem.setNewInput("");
            stemmerOverrideItem.setNewOutput("");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

            assertFalse(kuromojiItem.isUpdated());
            assertFalse(kuromojiItem.isDeleted());
    
            kuromojiItem.setNewToken("T1");
            kuromojiItem.setNewSegmentation("S1");
            kuromojiItem.setNewReading("R1");
            kuromojiItem.setNewPos("P1");
            assertTrue(kuromojiItem.isUpdated());
            assertFalse(kuromojiItem.isDeleted());
    
            kuromojiItem.setNewToken("");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

            assertFalse(synonymItem.isUpdated());
            assertFalse(synonymItem.isDeleted());
    
            synonymItem.setNewInputs(new String[] { "1", "2" });
            synonymItem.setNewOutputs(new String[] { "3", "4" });
            assertTrue(synonymItem.isUpdated());
            assertFalse(synonymItem.isDeleted());
    
            synonymItem.setNewInputs(new String[0]);
            synonymItem.setNewOutputs(new String[0]);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java

            if (input == null) {
                return StringUtil.EMPTY;
            }
            return input;
        }
    
        public boolean isUpdated() {
            return newInput != null;
        }
    
        public boolean isDeleted() {
            return isUpdated() && newInput.length() == 0;
        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
            final int result = 1;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

        }
    
        public String getOutput() {
            return output;
        }
    
        public boolean isUpdated() {
            return newInput != null && newOutput != null;
        }
    
        public boolean isDeleted() {
            return isUpdated() && StringUtil.isBlank(newInput);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(input, output);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

        }
    
        public String getOutput() {
            return output;
        }
    
        public boolean isUpdated() {
            return newInputs != null && newOutput != null;
        }
    
        public boolean isDeleted() {
            return isUpdated() && newInputs.length == 0;
        }
    
        public void sort() {
            if (inputs != null) {
                Arrays.sort(inputs);
            }
            if (newInputs != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

            if (input == null) {
                return StringUtil.EMPTY;
            }
            return input;
        }
    
        public boolean isUpdated() {
            return newInput != null;
        }
    
        public boolean isDeleted() {
            return isUpdated() && newInput.length() == 0;
        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
            final int result = 1;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

            }
            return String.join("\n", outputs);
        }
    
        public boolean isUpdated() {
            return newInputs != null && newOutputs != null;
        }
    
        public boolean isDeleted() {
            return isUpdated() && newInputs.length == 0;
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(Arrays.hashCode(inputs), Arrays.hashCode(outputs));
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

            return reading;
        }
    
        public String getPos() {
            return pos;
        }
    
        public boolean isUpdated() {
            return newToken != null;
        }
    
        public boolean isDeleted() {
            return isUpdated() && newToken.length() == 0;
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(pos, reading, segmentation, token);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                        throw new DictionaryException("Mapping file was updated: old=" + oldItem + " : new=" + item);
                    }
                    try {
                        if (!item.isDeleted()) {
                            // update
                            writer.write(item.toLineString());
                            writer.write(Constants.LINE_SEPARATOR);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top