Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for group (0.15 sec)

  1. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

      private static final class TestObject {
        final int group;
        final int item;
    
        TestObject(int group, int item) {
          this.group = group;
          this.item = item;
        }
    
        @Override
        public String toString() {
          return MoreObjects.toStringHelper("TestObject")
              .add("group", group)
              .add("item", item)
              .toString();
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

      private static final class TestObject {
        final int group;
        final int item;
    
        TestObject(int group, int item) {
          this.group = group;
          this.item = item;
        }
    
        @Override
        public String toString() {
          return MoreObjects.toStringHelper("TestObject")
              .add("group", group)
              .add("item", item)
              .toString();
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/RelationshipTester.java

        groups.add(ImmutableList.copyOf(group));
        return this;
      }
    
      public void test() {
        for (int groupNumber = 0; groupNumber < groups.size(); groupNumber++) {
          ImmutableList<T> group = groups.get(groupNumber);
          for (int itemNumber = 0; itemNumber < group.size(); itemNumber++) {
            // check related items in same group
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        try {
          tester.testEquals();
        } catch (AssertionFailedError e) {
          assertErrorMessage(e, "foo [group 1, item 1] must be Object#equals to bar [group 1, item 2]");
          return;
        }
        fail("should failed because of unequal objects in the same equality group");
      }
    
      public void testTransitivityBrokenAcrossEqualityGroups() {
        EqualsTester tester =
            new EqualsTester()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java

      /**
       * Returns the {@link Executor} that will be used to run this service. Subclasses may override
       * this method to use a custom {@link Executor}, which may configure its worker thread with a
       * specific name, thread group or priority. The returned executor's {@link
       * Executor#execute(Runnable) execute()} method is called when this service is started and
       * stopped, and should return promptly.
       */
      protected Executor executor() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 13:59:28 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

    import java.util.List;
    
    /**
     * Tester for {@link Equivalence} relationships between groups of objects.
     *
     * <p>To use, create a new {@link EquivalenceTester} and add equivalence groups where each group
     * contains objects that are supposed to be equal to each other. Objects of different groups are
     * expected to be unequal. For example:
     *
     * <pre>{@code
     * EquivalenceTester.of(someStringEquivalence)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     *       groups and the items within equality groups are numbered starting from 1. When either a
     *       constructor argument or an equal object is provided, that becomes group 1.
     * </ul>
     *
     * @author Jim McMaster
     * @author Jige Yu
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class EqualsTester {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

      /**
       * Returns the {@link Executor} that will be used to run this service. Subclasses may override
       * this method to use a custom {@link Executor}, which may configure its worker thread with a
       * specific name, thread group or priority. The returned executor's {@link
       * Executor#execute(Runnable) execute()} method is called when this service is started, and should
       * return promptly.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/EqualsTester.java

     *       groups and the items within equality groups are numbered starting from 1. When either a
     *       constructor argument or an equal object is provided, that becomes group 1.
     * </ul>
     *
     * @author Jim McMaster
     * @author Jige Yu
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class EqualsTester {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

    import java.util.List;
    
    /**
     * Tester for {@link Equivalence} relationships between groups of objects.
     *
     * <p>To use, create a new {@link EquivalenceTester} and add equivalence groups where each group
     * contains objects that are supposed to be equal to each other. Objects of different groups are
     * expected to be unequal. For example:
     *
     * <pre>{@code
     * EquivalenceTester.of(someStringEquivalence)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4K bytes
    - Viewed (0)
Back to top