java.lang.Object
java.lang.Record
com.github.sormuras.bach.project.ProjectSpaces
- All Implemented Interfaces:
- Project.Component,- Iterable<ProjectSpace>
public record ProjectSpaces(List<ProjectSpace> values)
extends Record
implements Project.Component, Iterable<ProjectSpace>
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionProjectSpaces(List<ProjectSpace> values) Creates an instance of aProjectSpacesrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.iterator()final StringtoString()Returns a string representation of this record class.tweakModule(DeclaredModule.Tweak tweak) values()Returns the value of thevaluesrecord component.with(ProjectSpace value) withSpace(String name, ProjectSpace.Operator operator) withSpace(String name, Set<String> parents, ProjectSpace.Operator operator) Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
ProjectSpacesCreates an instance of aProjectSpacesrecord class.- Parameters:
- values- the value for the- valuesrecord component
 
 
- 
- 
Method Details- 
find
- 
iterator- Specified by:
- iteratorin interface- Iterable<ProjectSpace>
 
- 
with
- 
withSpace
- 
withSpace
- 
tweakModule
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodeReturns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
valuesReturns the value of thevaluesrecord component.- Returns:
- the value of the valuesrecord component
 
 
-