public static <First, Second, Third> MutableTriple<Third, Second, First> invert(
            final MutableTriple<First, Second, Third> triple) {
        return new MutableTriple<Third, Second, First>(triple.getThird(), triple.getSecond(), triple.getFirst());
    }
public static < First , Second , Third > MutableTriple < Third , Second , First > invert ( final MutableTriple < First , Second , Third > triple ) { return new MutableTriple < Third , Second , First > ( triple . getThird ( ) , triple . getSecond ( ) , triple . getFirst ( ) ) ; }
@param triple will be inverted.
@return a new triple with inverted first and third values.
@param <First> type of first value.
@param <Second> type of second value.
@param <Third> type of third value.