Java Matrix Transform transformMutiParamTableToList(String[] mutiParamTable)

Here you can find the source of transformMutiParamTableToList(String[] mutiParamTable)

Description

transform Muti Param Table To List

License

Open Source License

Declaration

public static List<Map<String, String>> transformMutiParamTableToList(String[] mutiParamTable) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Main {
    public static List<Map<String, String>> transformMutiParamTableToList(String[] mutiParamTable) {
        List<Map<String, String>> levelsSelectedList = new ArrayList<Map<String, String>>();
        if (mutiParamTable != null) {
            for (int i = 0; i < mutiParamTable.length; i++) {
                Map<String, String> map = new HashMap<String, String>();
                map.put("id", mutiParamTable[i]);
                levelsSelectedList.add(map);
            }//from  w  ww  .  j a  va2 s  .  c  o m
        }
        return levelsSelectedList;
    }
}

Related

  1. transformPoint3D(float matrix4x4[], float point3D[], float result3D[])