public final class Explanation
extends
Modifier and Type | Method and Description |
---|---|
boolean |
o) |
|
getDescription()
A description of this explanation node.
|
Explanation[] |
getDetails()
The sub-nodes of this explanation node.
|
|
getValue()
The value assigned to this explanation node.
|
int |
hashCode() |
boolean |
isMatch()
Indicates whether or not this Explanation models a match.
|
static Explanation |
value,
description,
<Explanation> details)
Create a new explanation for a match.
|
static Explanation |
value,
description,
Explanation... details)
Create a new explanation for a match.
|
static Explanation |
description,
<Explanation> details)
Create a new explanation for a document which does not match.
|
static Explanation |
description,
Explanation... details)
Create a new explanation for a document which does not match.
|
|
toString()
Render an explanation as text.
|
public static value, description, <Explanation> details)
value
- the contribution to the score of the documentdescription
- how value
was computeddetails
- sub explanations that contributed to this explanationpublic static value, description, Explanation... details)
value
- the contribution to the score of the documentdescription
- how value
was computeddetails
- sub explanations that contributed to this explanationpublic static description, <Explanation> details)
public static description, Explanation... details)
public boolean isMatch()
public getValue()
public getDescription()
public Explanation[] getDetails()
public toString()
in class
public boolean equals( o)
in class
public int hashCode()
in class
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.