@ SuppressWarnings ( "unchecked" ) public static < U > Tuple < U > of ( Object red , Object black , Object redCopy ) { return new Tuple <> ( ( U ) red , ( U ) black , ( U ) redCopy ) ; }
Factory method that turns three untyped values into a typed tuple .