com.github.tonivade.purefun.Mappable Maven / Gradle / Ivy
/*
* Copyright (c) 2018-2021, Antonio Gabriel Muñoz Conejo
* Distributed under the terms of the MIT License
*/
package com.github.tonivade.purefun;
public interface Mappable extends Kind {
Mappable map(Function1 super A, ? extends R> mapper);
@SuppressWarnings("unchecked")
static Mappable narrowK(Kind kind) {
return (Mappable) kind;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy