|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public enum WrkMastExecuteType { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | DEVP_NO_CRN_THREE(3,"DEVP_NO_CRN_THREE", linearSmallToBig(1,3)), | 
|---|
|  |  |  | DEVP_NO_CRN_FOUR(4,"DEVP_NO_CRN_FOUR", linearSmallToBig(1,3)), | 
|---|
|  |  |  | DEVP_NO_CRN_FIVE(5,"DEVP_NO_CRN_FIVE", linearSmallToBig(1,3)) | 
|---|
|  |  |  | DEVP_NO_CRN_THREE(3, "DEVP_NO_CRN_THREE", linearSmallToBig(nonlinearSmallToBig(new Integer[]{261}),255,257)), | 
|---|
|  |  |  | DEVP_NO_CRN_FOUR(4,"DEVP_NO_CRN_FOUR", linearSmallToBig(nonlinearSmallToBig(new Integer[]{260}),246,248)), | 
|---|
|  |  |  | DEVP_NO_CRN_FIVE(5,"DEVP_NO_CRN_FIVE", linearSmallToBig(nonlinearSmallToBig(new Integer[]{259}),237,239)) | 
|---|
|  |  |  | ; | 
|---|
|  |  |  | private final Integer id; | 
|---|
|  |  |  | private final String code; | 
|---|
|  |  |  | 
|---|
|  |  |  | return new ArrayList<>(Arrays.asList(sites)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private static List<Integer> linearSmallToBig(Integer smallSta,Integer bigSta){ | 
|---|
|  |  |  | List<Integer> integers = new ArrayList<>(); | 
|---|
|  |  |  | private static List<Integer> linearSmallToBig(List<Integer> integers,Integer smallSta,Integer bigSta){ | 
|---|
|  |  |  | for (int i = smallSta;i<bigSta;i++){ | 
|---|
|  |  |  | integers.add(i); | 
|---|
|  |  |  | } | 
|---|