Class Switch<T>

    • Method Detail

      • $switch

        public static <V> Switch<V> $switch​(@NonNull
                                            @NonNull Consumer<Switch.SwitchBuilder<V>> consumer)
        Switch switch.
        Type Parameters:
        V - the type parameter
        Parameters:
        consumer - the consumer
        Returns:
        the switch