/** * Type-safe way to get the second object of this {@link Tuple}. * * @return The second object, cast to the correct type. */ @SuppressWarnings("unchecked") public T2 getT2() { return (T2) get(1); }
/** * Type-safe way to get the second object of this {@link Tuple}. * * @return The second object, cast to the correct type. */ @SuppressWarnings("unchecked") public T2 getT2() { return (T2) get(1); }