Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,926 for add (0.01 sec)

  1. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

              @Subscribe
              public void eat(Object food) {
                objectEvents.add(food);
              }
            };
    
        List<Comparable<?>> compEvents = new ArrayList<>();
        Object compCatcher =
            new Object() {
              @Subscribe
              public void eat(Comparable<?> food) {
                compEvents.add(food);
              }
            };
        bus.register(stringCatcher);
        bus.register(objCatcher);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. README.md

    Enable debug logging for detailed troubleshooting:
    
    ```java
    // Add to your logging configuration
    logger.debug.org.codelibs.fess.suggest=DEBUG
    ```
    
    ## Contributing
    
    1. Fork the repository
    2. Create a feature branch: `git checkout -b feature/amazing-feature`
    3. Follow coding standards: `mvn formatter:format`
    4. Add tests for new functionality
    5. Ensure all tests pass: `mvn test`
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  3. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            Map<String, Object> source;
            while ((source = reader.read()) != null) {
                assertTrue(source.get("field1").toString().startsWith("test"));
                valueSet.add(source.get("field1").toString());
                count++;
            }
            assertEquals(num, count);
            assertEquals(num, valueSet.size());
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         *            the type of the array elements
         * @param array
         *            the array. Must not be {@literal null}
         * @param obj
         *            the object to add
         * @return a new array with the object appended
         */
        public static <T> T[] add(final T[] array, final T obj) {
            assertArgumentNotNull("array", array);
    
            final int length = array.length;
            @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java

        public void neitherOverriddenNorAnnotated(Object o) {
          neitherOverriddenNorAnnotatedEvents.add(o);
        }
    
        public void overriddenInSubclassNowhereAnnotated(Object o) {
          overriddenInSubclassNowhereAnnotatedEvents.add(o);
        }
    
        public void overriddenAndAnnotatedInSubclass(Object o) {
          overriddenAndAnnotatedInSubclassEvents.add(o);
        }
      }
    
      static class SubClass extends SuperClass {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

         * Initializes the list if it doesn't exist.
         *
         * @param duplicateHost the duplicate host rule to add
         */
        public void add(final DuplicateHost duplicateHost) {
            if (duplicateHostList == null) {
                duplicateHostList = new ArrayList<>();
            }
            duplicateHostList.add(duplicateHost);
        }
    
        /**
         * Converts a URL using all configured duplicate host rules.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherSetWithDifferentElements() {
        Collection<E> elements = getSampleElements(getNumElements() - 1);
        elements.add(getSubjectGenerator().samples().e3());
    
        assertFalse(
            "A Set should not equal another Set containing different elements.",
            getSet().equals(MinimalSet.from(elements)));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherSetWithDifferentElements() {
        Collection<E> elements = getSampleElements(getNumElements() - 1);
        elements.add(getSubjectGenerator().samples().e3());
    
        assertFalse(
            "A Set should not equal another Set containing different elements.",
            getSet().equals(MinimalSet.from(elements)));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

        for (int i = 0; i < equalityGroup.length; i++) {
          Object element = equalityGroup[i];
          if (element == null) {
            throw new NullPointerException("at index " + i);
          }
          list.add(element);
        }
        equalityGroups.add(list);
        return this;
      }
    
      /** Run tests on equals method, throwing a failure on an invalid test */
      @CanIgnoreReturnValue
      public EqualsTester testEquals() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. cmd/xl-storage-disk-id-check.go

    			if opts.UndoWrite {
    				p.storage.setWriteAttribute(p.totalWrites.Add(^uint64(0)))
    				return
    			}
    
    			if fi.Deleted {
    				// Delete markers are a write operation not a permanent delete.
    				p.storage.setWriteAttribute(p.totalWrites.Add(1))
    				return
    			}
    
    			p.storage.setDeleteAttribute(p.totalDeletes.Add(1))
    		}
    	}()
    
    	w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 34.5K bytes
    - Viewed (0)
Back to top