public class HashedAnalyses extends java.lang.Object implements java.lang.Iterable<AbstractAnalysis>
The map is initially populated with SimpleAnalysis instances, which may evolve to SharedAnalysis instances as additional structurally idenmtical AbstractAnalysis instnaces are added.
Constructor and Description |
---|
HashedAnalyses() |
Modifier and Type | Method and Description |
---|---|
AbstractAnalysis |
add(AbstractAnalysis anAnalysis) |
AbstractAnalysis |
addSimpleAnalysis(SimpleAnalysis anAnalysis) |
AbstractAnalysis |
get(AbstractAnalysis childAnalysis) |
static HashedAnalyses |
intersection(HashedAnalyses iHash2Analyses,
HashedAnalyses jHash2Analyses) |
boolean |
isEmpty() |
java.util.Iterator<AbstractAnalysis> |
iterator() |
static <V> void |
printIndented(java.lang.Appendable appendable,
com.google.common.collect.Multimap<java.lang.Integer,V> map,
java.lang.String indentation,
java.lang.String title) |
AbstractAnalysis |
remove(AbstractAnalysis thatAnalysis) |
java.lang.String |
toString() |
@Nullable public static HashedAnalyses intersection(@NonNull HashedAnalyses iHash2Analyses, @NonNull HashedAnalyses jHash2Analyses)
public static <V> void printIndented(@NonNull java.lang.Appendable appendable, @NonNull com.google.common.collect.Multimap<java.lang.Integer,V> map, @NonNull java.lang.String indentation, @NonNull java.lang.String title)
@NonNull public AbstractAnalysis add(@NonNull AbstractAnalysis anAnalysis)
@NonNull public AbstractAnalysis addSimpleAnalysis(@NonNull SimpleAnalysis anAnalysis)
@Nullable public AbstractAnalysis get(@NonNull AbstractAnalysis childAnalysis)
public boolean isEmpty()
@NonNull public java.util.Iterator<AbstractAnalysis> iterator()
iterator
in interface java.lang.Iterable<AbstractAnalysis>
@Nullable public AbstractAnalysis remove(@NonNull AbstractAnalysis thatAnalysis)
public java.lang.String toString()
toString
in class java.lang.Object