/** * Maps the given {@code t} to it's corresponding {@code Adaptable} using the {@link TopicPath.Channel#TWIN Twin} * channel. * * @param t the object to map. * @return the mapped adaptable. * @throws NullPointerException if {@code t} is {@code null}. */ default Adaptable toAdaptable(final T t) { return toAdaptable(t, TopicPath.Channel.TWIN); }
/** * Maps the given {@code t} to it's corresponding {@code Adaptable} using the {@link TopicPath.Channel#TWIN Twin} * channel. * * @param t the object to map. * @return the mapped adaptable. * @throws NullPointerException if {@code t} is {@code null}. */ default Adaptable toAdaptable(final T t) { return toAdaptable(t, TopicPath.Channel.TWIN); }