public static final class PrimitiveUtils.PathCounter
extends java.lang.Object
Constructor and Description |
---|
PathCounter()
Constructs a path counter object.
|
Modifier and Type | Method and Description |
---|---|
int |
getPathCount(Primitive source,
java.lang.String target)
Counts the number of possible paths from the source (parent) primitive to the target (child)
primitive.
|
public int getPathCount(Primitive source, java.lang.String target)
source
- Source (parent) primitive.target
- Target (child) primitive name.java.lang.NullPointerException
- if any of the parameters equals null.