Class StatusUtils

    • Constructor Detail

      • StatusUtils

        public StatusUtils()
    • Method Detail

      • getIndicesWithStatusGe

        protected static java.util.List<java.lang.Integer> getIndicesWithStatusGe​(java.util.List<StatusWithIndex> statuses,
                                                                                  Status threshold)
        Retrieves the indices with a status >= the given threshold.
        Parameters:
        statuses -
        threshold -
        Returns:
      • toListWithIndices

        protected static java.util.List<StatusWithIndex> toListWithIndices​(java.util.List<Status> statuses)
        Converts a list of Status to a list of StatusWithIndex, using the position in the array as the index.
        Parameters:
        statuses -
        Returns: