标签:NPU shm amt return array key [] bsp put
private static InputToMap loader = (stringStream, b) -> {
String[] array = (String[]) stringStream.map(e -> e.split(":")).toArray();
// WEEKDAY;HOUR;PROGRAMTYPE;NAME
Map<InputToMap.Key, InputToMap.Value> map = new HashMap<>();
InputToMap.Key key =
new InputToMap.Key(InputToMap.Weekday.valueOf(array[0]), Integer.valueOf(array[1]));
InputToMap.Value value = new InputToMap.Value(ProgramType.valueOf(array[2]), array[3]);
return map;
};
标签:NPU shm amt return array key [] bsp put
原文地址:https://www.cnblogs.com/wangjiagang/p/9972694.html