Examples of any()


Examples of com.redhat.ceylon.compiler.java.language.IntArray.IntArrayIterable.any()

        }
        BetweenPred between3And4 = new BetweenPred(3,4);
        Assert.assertTrue(zero_ten.any(between3And4));
        Assert.assertTrue(zero_five.any(between3And4));
        Assert.assertFalse(five_ten.any(between3And4));
        Assert.assertFalse(zero.any(between3And4));
        Assert.assertFalse(ten.any(between3And4));

        // contains
        Assert.assertTrue(zero_ten.contains(ceylon.language.Integer.instance(0)));
        Assert.assertTrue(zero_ten.contains(ceylon.language.Integer.instance(10)));
View Full Code Here

Examples of com.volantis.testtools.mock.method.Occurrences.any()

        return this;
    }

    public void any() {
        Occurrences occurrences = getOccurences();
        occurrences.any();
    }

    public void atLeast(int minimum) {
        Occurrences occurrences = getOccurences();
        occurrences.atLeast(minimum);
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.observation.filter.FilterBuilder.any()

            throws ExecutionException, InterruptedException, RepositoryException {
        assumeTrue(observationManager instanceof ObservationManagerImpl);
        ObservationManagerImpl oManager = (ObservationManagerImpl) observationManager;
        ExpectationListener listener = new ExpectationListener();
        FilterBuilder builder = new FilterBuilder();
        builder.condition(builder.any(
                builder.path(TEST_PATH + "/a/b"),
                builder.path(TEST_PATH + "/x/y")));
        oManager.addEventListener(listener, builder.build());

        Node testNode = getNode(TEST_PATH);
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.observation.filter.FilterBuilder.any()

            throws ExecutionException, InterruptedException, RepositoryException {
        assumeTrue(observationManager instanceof ObservationManagerImpl);
        ObservationManagerImpl oManager = (ObservationManagerImpl) observationManager;
        ExpectationListener listener = new ExpectationListener();
        FilterBuilder builder = new FilterBuilder();
        builder.condition(builder.any(
                builder.path(TEST_PATH + "/a/b"),
                builder.path(TEST_PATH + "/x/y")));
        oManager.addEventListener(listener, builder.build());

        Node testNode = getNode(TEST_PATH);
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.observation.filter.FilterBuilder.any()

            .includeSessionLocal(!noLocal)
            .includeClusterExternal(!noExternal)
            .includeClusterLocal(!noInternal)
            .condition(filterBuilder.all(
                    filterBuilder.all(excludeConditions),
                    filterBuilder.any(includeConditions),
                    filterBuilder.deleteSubtree(),
                    filterBuilder.moveSubtree(),
                    filterBuilder.eventType(eventTypes),
                    filterBuilder.uuid(Selectors.PARENT, uuids),
                    filterBuilder.nodeType(Selectors.PARENT, validateNodeTypeNames(nodeTypeName)),
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.observation.filter.FilterBuilder.any()

            throws ExecutionException, InterruptedException, RepositoryException {
        assumeTrue(observationManager instanceof JackrabbitObservationManager);
        ObservationManagerImpl oManager = (ObservationManagerImpl) observationManager;
        ExpectationListener listener = new ExpectationListener();
        FilterBuilder builder = new FilterBuilder();
        builder.condition(builder.any(
                builder.path(TEST_PATH + "/a/b"),
                builder.path(TEST_PATH + "/x/y")));
        oManager.addEventListener(listener, builder.build());

        Node testNode = getNode(TEST_PATH);
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.observation.filter.FilterBuilder.any()

            throws ExecutionException, InterruptedException, RepositoryException {
        assumeTrue(observationManager instanceof ObservationManagerImpl);
        ObservationManagerImpl oManager = (ObservationManagerImpl) observationManager;
        ExpectationListener listener = new ExpectationListener();
        FilterBuilder builder = new FilterBuilder();
        builder.condition(builder.any(
                builder.path(TEST_PATH + "/a/b"),
                builder.path(TEST_PATH + "/x/y")));
        oManager.addEventListener(listener, builder.build());

        Node testNode = getNode(TEST_PATH);
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.observation.filter.FilterBuilder.any()

            throws ExecutionException, InterruptedException, RepositoryException {
        assumeTrue(observationManager instanceof ObservationManagerImpl);
        ObservationManagerImpl oManager = (ObservationManagerImpl) observationManager;
        ExpectationListener listener = new ExpectationListener();
        FilterBuilder builder = new FilterBuilder();
        builder.condition(builder.any(
                builder.path(TEST_PATH + "/a/b"),
                builder.path(TEST_PATH + "/x/y")));
        oManager.addEventListener(listener, builder.build());

        Node testNode = getNode(TEST_PATH);
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.observation.filter.FilterBuilder.any()

            throws ExecutionException, InterruptedException, RepositoryException {
        assumeTrue(observationManager instanceof ObservationManagerImpl);
        ObservationManagerImpl oManager = (ObservationManagerImpl) observationManager;
        ExpectationListener listener = new ExpectationListener();
        FilterBuilder builder = new FilterBuilder();
        builder.condition(builder.any(
                builder.path(TEST_PATH + "/a/b"),
                builder.path(TEST_PATH + "/x/y")));
        oManager.addEventListener(listener, builder.build());

        Node testNode = getNode(TEST_PATH);
View Full Code Here

Examples of org.jclouds.compute.domain.TemplateBuilder.any()

         System.err.println(t.getMessage());
         return null;
      }

      TemplateBuilder builder = service.templateBuilder();
      builder.any();
      if (smallest) {
         builder.smallest();
      }
      if (fastest) {
         builder.fastest();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.