类 SeriesUtil


  • public class SeriesUtil
    extends Object
    作者:
    Yaqiang Wang
    • 构造器详细资料

      • SeriesUtil

        public SeriesUtil()
    • 方法详细资料

      • getIndices

        public static Object[] getIndices​(List<Object> index,
                                          org.meteoinfo.ndarray.Array labels)
        Get indices
        参数:
        index - Index array
        labels - Labels
        返回:
        Indices
      • getIndices

        public static Object[] getIndices​(org.meteoinfo.ndarray.Array index,
                                          org.meteoinfo.ndarray.Array labels)
        Get indices
        参数:
        index - Index array
        labels - Labels
        返回:
        Indices
      • getIndices

        public static Object[] getIndices​(List<Object> index,
                                          List<Object> labels)
        Get indices
        参数:
        index - Index array
        labels - Labels
        返回:
        Indices
      • getIndices

        public static Object[] getIndices​(List<Object> index,
                                          Object label)
        Get indices
        参数:
        index - Index array
        label - Label
        返回:
        Indices
      • subList

        public static List subList​(List list,
                                   List<Integer> index)
        Sub list by index
        参数:
        list - The list
        index - The index
        返回:
        Result list
      • fillKeyList

        public static org.meteoinfo.ndarray.Array fillKeyList​(org.meteoinfo.ndarray.Array data,
                                                              List<Integer> rrdata)
        Fill key list
        参数:
        data - Valid data array
        rrdata - Result data flags
        返回:
        Result data array with same length as key list