Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for isEven (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/IterablesTest.java

                    return (n & 1) == 0; // isEven()
                  }
                }));
        assertEquals(newArrayList("1", "3", "5"), list);
        assertFalse(
            removeIf(
                transformed,
                new Predicate<Integer>() {
                  @Override
                  public boolean apply(Integer n) {
                    return (n & 1) == 0; // isEven()
                  }
                }));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(expected, actual);
      }
    
      @GwtIncompatible // unreasonably slow
      public void testFilterUsingIteratorTester() {
        final List<Integer> list = asList(1, 2, 3, 4, 5);
        final Predicate<Integer> isEven =
            new Predicate<Integer>() {
              @Override
              public boolean apply(Integer integer) {
                return integer % 2 == 0;
              }
            };
        new IteratorTester<Integer>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(expected, actual);
      }
    
      @GwtIncompatible // unreasonably slow
      public void testFilterUsingIteratorTester() {
        final List<Integer> list = asList(1, 2, 3, 4, 5);
        final Predicate<Integer> isEven =
            new Predicate<Integer>() {
              @Override
              public boolean apply(Integer integer) {
                return integer % 2 == 0;
              }
            };
        new IteratorTester<Integer>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

                "four", 4,
                "five", 5,
                "six", 6,
                "seven", 7),
            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
            4,
            "five",
            5,
            "six",
            6,
            "seven",
            7);
        assertMapEquals(
            ImmutableBiMap.of(
                "one", 1,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                "four", 4,
                "five", 5,
                "six", 6,
                "seven", 7),
            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
            4,
            "five",
            5,
            "six",
            6,
            "seven",
            7);
        assertMapEquals(
            ImmutableMap.of(
                "one", 1,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                "four", 4,
                "five", 5,
                "six", 6,
                "seven", 7),
            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
            4,
            "five",
            5,
            "six",
            6,
            "seven",
            7);
        assertMapEquals(
            ImmutableMap.of(
                "one", 1,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  7. istioctl/pkg/install/k8sversion/version_test.go

    	}
    	versionInvalid1 = &version.Info{
    		Major:      "1",
    		Minor:      "7",
    		GitVersion: "v1.invalid.7",
    	}
    	versionInvalid2 = &version.Info{
    		Major:      "one",
    		Minor:      "seven",
    		GitVersion: "one.seven",
    	}
    )
    
    func TestExtractKubernetesVersion(t *testing.T) {
    	cases := []struct {
    		version  *version.Info
    		expected int
    		errMsg   error
    		isValid  bool
    	}{
    		{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 30 21:50:50 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

    The commit messages that accompany your code changes are an important piece of documentation. Please follow these guidelines when creating commits:
    
    * [Write good commit messages.](https://cbea.ms/git-commit/#seven-rules)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Nov 05 15:15:33 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        return ImmutableList.copyOf(SORTED_NUMBER_NAMES.subList(i, j));
      }
    
      private static final ImmutableList<String> NUMBER_NAMES =
          ImmutableList.of("one", "two", "three", "four", "five", "six", "seven");
    
      private static final ImmutableList<String> SORTED_NUMBER_NAMES =
          Ordering.<String>natural().immutableSortedCopy(NUMBER_NAMES);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/bootstrap.min.js.map

    Collapse._getTargetFromElement(element),\n        [element]\n      )\n    })\n\n    return parent\n  }\n\n  _addAriaAndCollapsedClass(element, triggerArray) {\n    const isOpen = $(element).hasClass(CLASS_NAME_SHOW)\n\n    if (triggerArray.length) {\n      $(triggerArray)\n        .toggleClass(CLASS_NAME_COLLAPSED, !isOpen)\n        .attr('aria-expanded', isOpen)\n    }\n  }\n\n  // Static\n  static _getTargetFromElement(element) {\n    const selector = Util.getSelectorFromElement(element)\n    return selector ?...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 180.9K bytes
    - Viewed (0)
Back to top