Created
August 21, 2018 18:50
-
-
Save mearns/3fa16b67b75fc21043c543110e047c89 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.function.Consumer; | |
import java.util.function.Supplier; | |
public class CheckBox { | |
private Consumer<Boolean> mutable = this::setState; | |
private Supplier<Boolean> readOnlyView = this::getState; | |
/* ... */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment