adds a case that returns the given result when this switcher is executed on an object equal to the given one . concode_field_sep Result<T> result concode_elem_sep Matcher<?> matcher concode_elem_sep List<Case<T>> cases concode_elem_sep Result<T> defaultResult concode_elem_sep T value concode_elem_sep AbstractClosure closure concode_field_sep List<T> execAll concode_elem_sep Switcher<T> setDefault concode_elem_sep Switcher<T> setDefault concode_elem_sep boolean matches concode_elem_sep T exec concode_elem_sep T exec concode_elem_sep T exec concode_elem_sep T exec concode_elem_sep T exec
Switcher < T > function ( Object arg0 , T arg1 ) { return addCase ( equalTo ( arg0 ) , arg1 ) ; }