class TaskStateSnapshot implements CompositeStateHandle {

	public boolean hasState() {
		for (OperatorSubtaskState operatorSubtaskState : subtaskStatesByOperatorID.values()) {
			if (operatorSubtaskState != null && operatorSubtaskState.hasState()) {
				return true;
			}
		}
		return false;
	}

	public  TaskStateSnapshot();
	public  TaskStateSnapshot(int size);
	public  TaskStateSnapshot(Map<OperatorID, OperatorSubtaskState> subtaskStatesByOperatorID);

}