Examples of items()


Examples of churchillobjects.rss4j.RssChannel.items()

        XPath xpath = XPathFactory.newInstance().newXPath();
        String instructionExpression = "/automatedInstallation/instructions/instructionSet";

        while (repos.hasMoreElements()) {
            RssChannel repo = (RssChannel) repos.nextElement();
            Enumeration repoItems = repo.items();

            while (repoItems.hasMoreElements()) {
                RssChannelItem item = (RssChannelItem) repoItems.nextElement();

                RssJbnPatch patch = item.getJbnPatch();
View Full Code Here

Examples of de.danet.an.workflow.api.RangeAccess.items()

        iter.remove();
        FilterCriterion filter = new AndOperation
            (new NotOperation(new PropertyEquality("key", o1)),
             new NotOperation(new PropertyEquality("key", o2)));
        RangeAccess ra = pdir.processes(filter, new DescendingOrder("key"));
        List procs = ra.items(0, 10);
        Iterator i1 = refList.iterator();
        Iterator i2 = procs.iterator();
        for (int i = 0; i < 11; i++) {
            WfProcess p1 = (WfProcess)i1.next();
            WfProcess p2 = (WfProcess)i2.next();
View Full Code Here

Examples of de.danet.an.workflow.api.RangeAccess.items()

        for (int i = 0; i < 11; i++) {
            WfProcess p1 = (WfProcess)i1.next();
            WfProcess p2 = (WfProcess)i2.next();
            assertTrue (p1.key().equals(p2.key()));
        }
        procs = ra.items(11, 15);
        i2 = procs.iterator();
        for (int i = 0; i < 4; i++) {
            WfProcess p1 = (WfProcess)i1.next();
            WfProcess p2 = (WfProcess)i2.next();
            assertTrue (p1.key().equals(p2.key()));
View Full Code Here

Examples of javax.microedition.pim.ContactList.items()

        Vector found = new Vector();
        Enumeration e;
        int iElement = 0;
        try {
            e = contactList.items();
            while( e.hasMoreElements() ) {
                if( !isSorted && iElement == maxReturn ) {
                    break;
                }
View Full Code Here

Examples of javax.microedition.pim.EventList.items()

            } else {
                final Enumeration en;
                if (list.maxCategories() != 0) {
                    en = list.itemsByCategory("TV");
                } else {
                    en = list.items();
                }
                long startTime = TimeProcessorImpl.createDateByMinutes(programme.startMinutes).getTime();
                for (; en.hasMoreElements();) {
                    final Event event = (Event) en.nextElement();
                    if (event.getDate(Event.START, Event.ATTR_NONE) == startTime
View Full Code Here

Examples of javax.microedition.pim.ToDoList.items()

        Vector found = new Vector();
        Enumeration e;
        int iElement = 0;
        try {
            e = taskList.items();
            while( e.hasMoreElements() ) {
                ToDo t = (ToDo) e.nextElement();
                TaskObject task = new TaskObject( t );
                if( testable != null ) {
                    if( testable.test( task ) ) {
View Full Code Here

Examples of net.rim.blackberry.api.pdap.BlackBerryMemoList.items()

        Vector found = new Vector();
        Enumeration e;
        int iElement = 0;
        try {
            e = memoList.items();
            while( e.hasMoreElements() ) {
                BlackBerryMemo m = (BlackBerryMemo) e.nextElement();
                MemoObject memo = new MemoObject( m );
                if( testable != null ) {
                    if( testable.test( memo ) ) {
View Full Code Here

Examples of org.eclipse.swtbot.swt.finder.widgets.SWTBotCombo.items()

    touchAndSubmit(null);
    SWTBotShell pushDialog = openPushDialog();

    SWTBotCombo destinationCombo = pushDialog.bot().comboBox();
    String[] items = destinationCombo.items();
    for (int i = 0; i < items.length; i++) {
      if (items[i].startsWith(destination))
        destinationCombo.setSelection(i);
    }
View Full Code Here

Examples of org.elasticsearch.action.bulk.BulkResponse.items()

                .add(client1.prepareDelete().setIndex("test").setType("type1").setId("1"))
                .add(client1.prepareIndex().setIndex("test").setType("type1").setSource("{ xxx }")) // failure
                .execute().actionGet();

        assertThat(bulkResponse.hasFailures(), equalTo(true));
        assertThat(bulkResponse.items().length, equalTo(5));

        assertThat(bulkResponse.items()[0].isFailed(), equalTo(false));
        assertThat(bulkResponse.items()[0].opType(), equalTo("index"));
        assertThat(bulkResponse.items()[0].index(), equalTo(getConcreteIndexName()));
        assertThat(bulkResponse.items()[0].type(), equalTo("type1"));
View Full Code Here

Examples of org.elasticsearch.action.bulk.BulkResponse.items()

                .execute().actionGet();

        assertThat(bulkResponse.hasFailures(), equalTo(true));
        assertThat(bulkResponse.items().length, equalTo(5));

        assertThat(bulkResponse.items()[0].isFailed(), equalTo(false));
        assertThat(bulkResponse.items()[0].opType(), equalTo("index"));
        assertThat(bulkResponse.items()[0].index(), equalTo(getConcreteIndexName()));
        assertThat(bulkResponse.items()[0].type(), equalTo("type1"));
        assertThat(bulkResponse.items()[0].id(), equalTo("1"));
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.