public class ColorMomentImageHashStateVertexFactory extends StateVertexFactory
Object.hashCode() and
Object.equals(Object) function based on the visual hash of the web page's screenshot.| Constructor and Description |
|---|
ColorMomentImageHashStateVertexFactory() |
| Modifier and Type | Method and Description |
|---|---|
ColorMomentImageHash |
getColorMomentImageHash() |
double |
getColorMomentImageHashMaxRaw() |
StateVertex |
newStateVertex(int id,
String url,
String name,
String dom,
String strippedDom,
EmbeddedBrowser browser)
Defines a State.
|
String |
toString() |
createIndexpublic ColorMomentImageHashStateVertexFactory()
public StateVertex newStateVertex(int id, String url, String name, String dom, String strippedDom, EmbeddedBrowser browser)
StateVertexFactorynewStateVertex in class StateVertexFactoryurl - the current url of the statename - the name of the statedom - the current DOM tree of the browserstrippedDom - the stripped dom by the OracleComparatorspublic double getColorMomentImageHashMaxRaw()
public ColorMomentImageHash getColorMomentImageHash()
Copyright © 2007–2019. All rights reserved.