Record Class SyWindowSetChanged
java.lang.Object
java.lang.Record
com.io7m.jsycamore.api.windows.SyWindowSetChanged
- Record Components:
newSet- The new window setchanges- The set of changes
public record SyWindowSetChanged(SyWindowSet newSet, List<SyWindowEventType> changes)
extends Record
An event indicating that the window set changed.
-
Constructor Summary
ConstructorsConstructorDescriptionSyWindowSetChanged(SyWindowSet newSet, List<SyWindowEventType> changes) An event indicating that the window set changed. -
Method Summary
Modifier and TypeMethodDescriptionchanges()Returns the value of thechangesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.newSet()Returns the value of thenewSetrecord component.Apply a function to the current window set, yielding a new window set change.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SyWindowSetChanged
An event indicating that the window set changed.- Parameters:
newSet- The new window setchanges- The set of changes
-
-
Method Details
-
then
Apply a function to the current window set, yielding a new window set change.- Parameters:
f- A function- Returns:
- The window set change
-
withoutChanges
- Returns:
- This window set without the list of associated changes
-
toString
-
hashCode
-
equals
Indicates 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). -
newSet
-
changes
-