Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package org.litesoft.GWT.client.ui.inspection;

public abstract class NthWidgetSelector implements WidgetSelector {
    private Integer mNth;
    private int mFound = -1;

    protected NthWidgetSelector( Integer pNth ) {
        mNth = pNth;
    }

    protected boolean foundNth( boolean pAcceptable ) {
        if ( !pAcceptable ) {
            return false;
        }
        mFound++;
        return (mNth == null) || (mFound == mNth);
    }
}

Commits for litesoft/trunk/Java/GWT/Client/src/org/litesoft/GWT/client/ui/inspection/NthWidgetSelector.java

Diff revisions: vs.
Revision Author Commited Message
948 Diff Diff GeorgeS picture GeorgeS Sat 07 Jun, 2014 23:42:39 +0000

Jusefuls Formatter Updated to New Code Format

610 GeorgeS picture GeorgeS Mon 12 Mar, 2012 00:54:00 +0000