Record Class IdNonEmptyList<T>

java.lang.Object
java.lang.Record
com.io7m.idstore.model.IdNonEmptyList<T>
Type Parameters:
T - The type of elements
Record Components:
first - The first element
rest - The rest of the elements
All Implemented Interfaces:
Iterable<T>

public record IdNonEmptyList<T>(T first, List<T> rest) extends Record implements Iterable<T>
A non-empty list.