Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for isUpdated (0.06 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

        public String getInput() {
            return input;
        }
    
        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);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

            }
            return String.join("\n", inputs);
        }
    
        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);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

            if (outputs == null) {
                return StringUtil.EMPTY;
            }
            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() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

        public String getReading() {
            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);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                item = newItem;
            }
    
            public CharMappingItem write(final CharMappingItem oldItem) {
                try {
                    if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) {
                        writer.write(oldItem.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
                        return oldItem;
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                }
                item = newItem;
            }
    
            public KuromojiItem write(final KuromojiItem oldItem) {
                try {
                    if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) {
                        writer.write(oldItem.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
                        return oldItem;
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                }
                item = newItem;
            }
    
            public SynonymItem write(final SynonymItem oldItem) {
                try {
                    if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) {
                        writer.write(oldItem.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
                        return oldItem;
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                }
                item = newItem;
            }
    
            public ProtwordsItem write(final ProtwordsItem oldItem) {
                try {
                    if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) {
                        writer.write(oldItem.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
                        return oldItem;
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top