public class DHashStateVertexImpl extends StateVertexImpl
INDEX_ID| Constructor and Description |
|---|
DHashStateVertexImpl(int id,
String name,
String dom,
String dHashVisual)
Creates a current state without an url and the stripped dom equals the dom.
|
DHashStateVertexImpl(int id,
String url,
String name,
String dom,
String strippedDom,
String dHashVisual)
Defines a State.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
String |
getDHashVisual() |
int |
hashCode() |
String |
toString() |
getCandidateElements, getDist, getDistToNearestState, getDocument, getDom, getId, getName, getNearestState, getStrippedDom, getUrl, hasNearDuplicate, inThreshold, setDistToNearestState, setElementsFound, setHasNearDuplicate, setNearestStatepublic DHashStateVertexImpl(int id,
String name,
String dom,
String dHashVisual)
name - the name of the statedom - the current DOM tree of the browserpublic DHashStateVertexImpl(int id,
String url,
String name,
String dom,
String strippedDom,
String dHashVisual)
url - the current url of the statename - the name of the statedom - the current DOM tree of the browserstrippedDom - the stripped dom by the OracleComparatorspublic int hashCode()
hashCode in class StateVertexImplpublic boolean equals(Object object)
equals in class StateVertexImplpublic String toString()
toString in class StateVertexImplpublic String getDHashVisual()
Copyright © 2007–2019. All rights reserved.