/** * For convenience because the size of the collections is typically 0 or 1. Null values are translated into empty * Collections. */ public OperatorSubtaskState( @Nullable OperatorStateHandle managedOperatorState, @Nullable OperatorStateHandle rawOperatorState, @Nullable KeyedStateHandle managedKeyedState, @Nullable KeyedStateHandle rawKeyedState) { this( singletonOrEmptyOnNull(managedOperatorState), singletonOrEmptyOnNull(rawOperatorState), singletonOrEmptyOnNull(managedKeyedState), singletonOrEmptyOnNull(rawKeyedState)); }
/** * For convenience because the size of the collections is typically 0 or 1. Null values are translated into empty * Collections. */ public OperatorSubtaskState( @Nullable OperatorStateHandle managedOperatorState, @Nullable OperatorStateHandle rawOperatorState, @Nullable KeyedStateHandle managedKeyedState, @Nullable KeyedStateHandle rawKeyedState) { this( singletonOrEmptyOnNull(managedOperatorState), singletonOrEmptyOnNull(rawOperatorState), singletonOrEmptyOnNull(managedKeyedState), singletonOrEmptyOnNull(rawKeyedState)); }
/** * For convenience because the size of the collections is typically 0 or 1. Null values are translated into empty * Collections. */ public OperatorSubtaskState( @Nullable OperatorStateHandle managedOperatorState, @Nullable OperatorStateHandle rawOperatorState, @Nullable KeyedStateHandle managedKeyedState, @Nullable KeyedStateHandle rawKeyedState) { this( singletonOrEmptyOnNull(managedOperatorState), singletonOrEmptyOnNull(rawOperatorState), singletonOrEmptyOnNull(managedKeyedState), singletonOrEmptyOnNull(rawKeyedState)); }