Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 327 for getId (0.02 seconds)

  1. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            }
        }
    
        // Test getId method
        @Test
        public void test_getId() {
            // Test normal ID
            TestSearchLogEvent event = new TestSearchLogEvent("test-id-123", 1L, "search");
            assertEquals("test-id-123", event.getId());
    
            // Test ID change
            event.setId("new-id-456");
            assertEquals("new-id-456", event.getId());
    
            // Test null ID
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

    public class FlatRepositoryLayout implements ArtifactRepositoryLayout {
    
        private static final char ARTIFACT_SEPARATOR = '-';
    
        private static final char GROUP_SEPARATOR = '.';
    
        @Override
        public String getId() {
            return "flat";
        }
    
        @Override
        public String pathOf(Artifact artifact) {
            ArtifactHandler artifactHandler = artifact.getArtifactHandler();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            }
            return result;
        }
    
        public static String getLayout(ArtifactRepository repo) {
            try {
                return repo.getLayout().getId();
            } catch (LinkageError e) {
                /*
                 * NOTE: getId() was added in 3.x and is as such not implemented by plugins compiled against 2.x APIs.
                 */
                String className = repo.getLayout().getClass().getSimpleName();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 04 18:33:16 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java

        /**
         * Field id
         */
        private String id;
    
        /**
         * Field phases
         */
        private Map<String, LifecyclePhase> lifecyclePhases;
    
        /**
         * Method getId
         */
        public String getId() {
            return this.id;
        }
    
        /**
         * Method getLifecyclePhases
         */
        public Map<String, LifecyclePhase> getLifecyclePhases() {
            return this.lifecyclePhases;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        public void test_getId() {
            // Test getId method inherited from DictionaryItem
            ProtwordsItem item1 = new ProtwordsItem(0, "word");
            assertEquals(0, item1.getId());
    
            ProtwordsItem item2 = new ProtwordsItem(999, "word");
            assertEquals(999, item2.getId());
    
            ProtwordsItem item3 = new ProtwordsItem(-1, "word");
            assertEquals(-1, item3.getId());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemMerger.java

         */
        public static SuggestItem merge(final SuggestItem item1, final SuggestItem item2) {
            if (!item1.getId().equals(item2.getId())) {
                throw new IllegalArgumentException("Item id is mismatch.");
            }
    
            final SuggestItem mergedItem = new SuggestItem();
    
            mergedItem.setId(item1.getId());
            mergedItem.setText(item1.getText());
    
            // Merge readings
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java

            // Same text should produce same ID regardless of other fields
            assertEquals(item1.getId(), item2.getId());
        }
    
        @Test
        public void test_getId_differentTextDifferentId() {
            String[] text1 = { "test1" };
            String[][] readings1 = { { "reading" } };
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Jan 17 05:10:37 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

                return "";
            } else if (result.getEffectiveModel() != null) {
                return result.getEffectiveModel().getId();
            } else if (result.getRawModel() != null) {
                return result.getRawModel().getId();
            } else if (result.getFileModel() != null) {
                return result.getFileModel().getId();
            } else {
                return "";
            }
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

        /**
         * Get the ID of this lifecycle, for identification in the mojo
         * descriptor.
         *
         * @return String
         */
        public String getId() {
            return this.id;
        } // -- String getId()
    
        /**
         * Method getPhases.
         *
         * @return List
         */
        public java.util.List<Phase> getPhases() {
            if (this.phases == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            return releases;
        }
    
        @Override
        public String getKey() {
            return getId();
        }
    
        @Override
        public String toString() {
            StringBuilder sb = new StringBuilder(256);
    
            sb.append("      id: ").append(getId()).append(LS);
            sb.append("      url: ").append(getUrl()).append(LS);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
Back to Top