Uses of Interface
io.github.ai4ci.abm.TestResult
Packages that use TestResult
-
Uses of TestResult in io.github.ai4ci.abm
Classes in io.github.ai4ci.abm that implement TestResultMethods in io.github.ai4ci.abm that return types with arguments of type TestResultModifier and TypeMethodDescriptiondefault Stream<TestResult>
PersonHistory.getHistoricalTests
(int limit) ImmutablePersonState.getLastResult()
Most recent test with a result, so excluding pending results.default Optional<TestResult>
PersonState.getLastResult()
Most recent test with a result, so excluding pending results.ImmutablePersonState.getLastTest()
Most recent (relevant) test whether or not there is a result.default Optional<TestResult>
PersonState.getLastTest()
Most recent (relevant) test whether or not there is a result.default Stream<TestResult>
PersonState.getRecentRuleOutTests()
All the tests done in the last incubation period.ImmutablePersonHistory.getResults()
The collection of possibly still relevant test results for an individual that generate a result on this day, regardless of when they were taken.default List<TestResult>
PersonHistory.getResults()
The collection of possibly still relevant test results for an individual that generate a result on this day, regardless of when they were taken.ImmutablePersonHistory.getResultsBySampleDate()
The list of tests taken on this day, indexed by the delay until the results are available.default List<List<TestResult>>
PersonHistory.getResultsBySampleDate()
The list of tests taken on this day, indexed by the delay until the results are available.default Stream<TestResult>
PersonHistory.getResultsBySampleDate
(int time) default Stream<TestResult>
PersonHistory.getStillRelevantTests()
All the tests done in the last presumed infectious perioddefault Stream<TestResult>
PersonState.getStillRelevantTests()
All the tests done in the last presumed infectious periodcom.google.common.collect.ImmutableList<TestResult>
ImmutablePersonHistory.getTodaysTests()
The list of tests taken on this day.PersonHistory.getTodaysTests()
The list of tests taken on this day.static Optional<TestResult>
TestResult.resultFrom
(PersonTemporalState testee, TestResult.Type type) Methods in io.github.ai4ci.abm with parameters of type TestResultModifier and TypeMethodDescriptionImmutablePersonHistory.Builder.addTodaysTest
(TestResult element) Adds one element totodaysTests
list.ImmutablePersonHistory.Builder.addTodaysTests
(TestResult... elements) Adds elements totodaysTests
list.static ImmutableTestResult
ImmutableTestResult.copyOf
(TestResult instance) Creates an immutable copy of aTestResult
value.ImmutableTestResult.Builder.from
(TestResult instance) Fill a builder with attribute values from the providedTestResult
instance.final ImmutablePersonHistory
ImmutablePersonHistory.withTodaysTests
(TestResult... elements) Copy the current immutable object with elements that replace the content oftodaysTests
.Method parameters in io.github.ai4ci.abm with type arguments of type TestResultModifier and TypeMethodDescriptionImmutablePersonHistory.Builder.addAllTodaysTests
(Iterable<? extends TestResult> elements) Adds elements totodaysTests
list.ImmutablePersonHistory.Builder.setTodaysTests
(Iterable<? extends TestResult> elements) Sets or replaces all elements fortodaysTests
list.final ImmutablePersonHistory
ImmutablePersonHistory.withTodaysTests
(Iterable<? extends TestResult> elements) Copy the current immutable object with elements that replace the content oftodaysTests
. -
Uses of TestResult in io.github.ai4ci.abm.mechanics
Methods in io.github.ai4ci.abm.mechanics that return TestResultModifier and TypeMethodDescriptionstatic TestResult
StateUtils.doLFT
(ImmutablePersonHistory.Builder builder, PersonState person) do a LFT test.static TestResult
StateUtils.doPCR
(ImmutablePersonHistory.Builder builder, PersonState person) do a PCR test.