Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.text.TextUtils;

import java.util.List;
import java.util.Map;

public class Main {

    public static String formetPropsAsTableKey(Map<String, List<String>> selectProps, List<String> keys_order) {
        String props = "";

        for (String key : keys_order) {
            if (selectProps.containsKey(key)) {
                props += ":" + selectProps.get(key).get(0);
            }
        }
        if (!TextUtils.isEmpty(props))
            props = props.substring(1);
        return props;
    }
}