update2<T, S> static method

void update2<T, S>(
  1. T t,
  2. S s
)

Saves instances t and s after removing, if exists, an instance of type T and an instance of type S.

Implementation

static void update2<T, S>(T t, S s) {
  update<T>(t);
  update<S>(s);
}