
org.robolectric.res.PreferenceNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of robolectric-resources Show documentation
Show all versions of robolectric-resources Show documentation
An alternative Android testing framework.
package org.robolectric.res;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class PreferenceNode {
private final String name;
private final List attributes;
private final List children = new ArrayList<>();
public PreferenceNode(String name, List attributes) {
this.name = name;
this.attributes = attributes;
}
public String getName() {
return name;
}
public List getAttributes() {
return attributes;
}
public List getChildren() {
return Collections.unmodifiableList(children);
}
public void addChild(PreferenceNode prefNode) {
children.add(prefNode);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy