Implementing subclass responsibilities for at:ifPresent:ifAbsent: