Class ExperimentSet
java.lang.Object
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<Experiment>
,Collection<Experiment>
,SequencedCollection<Experiment>
,SequencedSet<Experiment>
,Set<Experiment>
,Experimented
,ScriptData
A container for storing and testing experiments.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasExperiment
(String featureName) boolean
hasExperiment
(Experiment experiment) Methods inherited from class java.util.LinkedHashSet
addFirst, addLast, getFirst, getLast, newLinkedHashSet, removeFirst, removeLast, reversed, spliterator
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, newHashSet, remove, size, toArray, toArray
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
ExperimentSet
-
ExperimentSet
public ExperimentSet()
-
-
Method Details
-
hasExperiment
- Specified by:
hasExperiment
in interfaceExperimented
- Parameters:
experiment
- The experimental feature to test.- Returns:
- Whether this uses the given feature.
-
hasExperiment
- Specified by:
hasExperiment
in interfaceExperimented
- Parameters:
featureName
- The name of the experimental feature to test.- Returns:
- Whether this has a feature with the given name.
-