T - the type of the value to match withR - the return type of matchpublic final class PatternMatcher<T,R> extends Object
| Constructor and Description |
|---|
PatternMatcher(Case<T,R>... caseValues)
Creates a pattern matcher.
|
Copyright © 2021. All rights reserved.