mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
more with method naming, add XML hasChildren() method
This commit is contained in:
@@ -238,6 +238,12 @@ public class XML implements Serializable {
|
||||
checkChildren();
|
||||
return children.length;
|
||||
}
|
||||
|
||||
|
||||
public boolean hasChildren() {
|
||||
checkChildren();
|
||||
return children.length > 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user