Code example for List

Methods: iterator

0
        return actions.size();
    } 
 
    @Implementation 
    public Iterator<String> actionsIterator() {
        return actions.iterator();
    } 
 
    @Implementation 
    public boolean matchAction(String action) {
        return actions.contains(action);
    } 
 
    @Implementation 
    public void addDataAuthority(String host, String port) {
        authoritites.add(new IntentFilter.AuthorityEntry(host, port));
    } 
 
    @Implementation 
    public final  IntentFilter.AuthorityEntry getDataAuthority(int index) {
        return authoritites.get(index);