Class PathKey
- java.lang.Object
-
- com._1c.g5.v8.dt.form.service.datapath.PathKey
-
public class PathKey extends Object
Wrapper on theAbstractDataPath
withObject.hashCode()
andObject.equals(Object)
operations for use in HashMap (HashSet).- See Also:
#isEqualDataPath(AbstractDataPath, AbstractDataPath)
-
-
Constructor Summary
Constructors Constructor Description PathKey(AbstractDataPath path)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Delegates compare operation to the #isEqualDataPath(AbstractDataPath, AbstractDataPath) method, applied to wrapped path.AbstractDataPath
getPath()
int
hashCode()
Returns the hash code from thepath.getSegments()
joined using'|'
symbol.
-
-
-
Constructor Detail
-
PathKey
public PathKey(AbstractDataPath path)
Constructor.- Parameters:
path
- - a wrapped path
-
-
Method Detail
-
hashCode
public int hashCode()
Returns the hash code from thepath.getSegments()
joined using'|'
symbol.
-
equals
public boolean equals(Object obj)
Delegates compare operation to the #isEqualDataPath(AbstractDataPath, AbstractDataPath) method, applied to wrapped path.
-
getPath
public AbstractDataPath getPath()
- Returns:
- the path
-
-