dk.deepthought.sidious.explanation
Class Explanation
java.lang.Object
dk.deepthought.sidious.explanation.Explanation
@Immutable
public class Explanation
- extends java.lang.Object
Value object for abstracting explanations from the pathfinding algorithm.
- Author:
- Deepthought
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
entries
private final java.util.Collection<ExplanationEntry> entries
- The entries of this.
Explanation
public Explanation(java.util.Collection<ExplanationEntry> entries)
- Constructor.
- Parameters:
entries
- the entries
getEntries
public java.util.Collection<ExplanationEntry> getEntries()
- Gets a defensive copy of the entries of this.
- Returns:
- the entries
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © Deepthought Development - All Rights Reserved.