| |
---|
| | } |
---|
| | |
---|
| | public ResourceHierarchy(ResourceHierarchy parent, Expression parameterExp, Type resourceStateType) { |
---|
| | this.parent = parent; |
---|
| | if (this.children == null) this.children = new HashSet<>(); |
---|
| | this.resourceName = null; |
---|
| | this.numParameters = 1; |
---|
| | this.resourceStateType = resourceStateType; |
---|
| | if (parent != null) { |
---|
| |
---|
| | } |
---|
| | |
---|
| | public ResourceHierarchy(ResourceHierarchy parent, int numParameters, Type resourceStateType) { |
---|
| | this.parent = parent; |
---|
| | if (this.children == null) this.children = new HashSet<>(); |
---|
| | this.resourceName = null; |
---|
| | this.numParameters = numParameters; |
---|
| | this.resourceStateType = resourceStateType; |
---|
| | if (parent != null) { |
---|
| |
---|
| | |