Skip to content

Where the type parameter goes

A utility swaps two elements of any list. It has no state.

Should the type parameter be on the class or on the method?