public static class DiagnosticFrequencyMap.Unlimited extends Object implements DiagnosticFrequencyMap
DiagnosticFrequencyMap.Limited, DiagnosticFrequencyMap.Unlimited| Modifier and Type | Method and Description |
|---|---|
boolean |
add(org.eclipse.emf.common.util.Diagnostic diagnostic)
Add a diagnostic.
|
void |
addDiagnosticFilter(Predicate<? super org.eclipse.emf.common.util.Diagnostic> filter)
Add a predicate that matches diagnostics that should be collected.
|
void |
appendTo(Collection<? super org.eclipse.emf.common.util.Diagnostic> diagnostics)
Append the diagnostics that I have collected, in decreasing severity order,
to a collection of
diagnostics. |
void |
clear()
Remove all diagnostics and histogram counts.
|
int |
getDiscardedSeverity()
Query the greatest severity of diagnostics that had to be discarded because the
map filled up.
|
boolean |
isEmpty()
Queries whether I am empty of any diagnostics.
|
boolean |
isFull()
Queries whether I am full to capacity, unable to accept any more diagnostics.
|
Iterator<org.eclipse.emf.common.util.Diagnostic> |
iterator() |
int |
size()
Queries the number of diagnostics that I contain.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAll, limitedTo, unlimitedforEach, spliteratorpublic void clear()
DiagnosticFrequencyMapclear in interface DiagnosticFrequencyMappublic int size()
DiagnosticFrequencyMapsize in interface DiagnosticFrequencyMappublic boolean isEmpty()
DiagnosticFrequencyMapisEmpty in interface DiagnosticFrequencyMaptrue I have no diagnostics; false, otherwisepublic boolean isFull()
DiagnosticFrequencyMapisFull in interface DiagnosticFrequencyMaptrue if I have reached my limit of diagnostics; false, otherwisepublic int getDiscardedSeverity()
DiagnosticFrequencyMapgetDiscardedSeverity in interface DiagnosticFrequencyMapDiagnostic.OK if no diagnostics were discardedpublic boolean add(org.eclipse.emf.common.util.Diagnostic diagnostic)
DiagnosticFrequencyMapadd in interface DiagnosticFrequencyMapdiagnostic - a diagnostic to addtrue if it was added; false, otherwise, for example if I am fullpublic void addDiagnosticFilter(Predicate<? super org.eclipse.emf.common.util.Diagnostic> filter)
DiagnosticFrequencyMapfilters (overall, it's a conjunction).addDiagnosticFilter in interface DiagnosticFrequencyMapfilter - a predicate matching diagnostics to acceptpublic void appendTo(Collection<? super org.eclipse.emf.common.util.Diagnostic> diagnostics)
DiagnosticFrequencyMapdiagnostics.appendTo in interface DiagnosticFrequencyMapdiagnostics - a collection of diagnostics to append toCopyright © 2019. All rights reserved.