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.ArrayList;

import java.util.List;

public class Main {
    public static List<String> getValues(String prop) {
        List<String> values = new ArrayList<>();
        String[] split = TextUtils.split(prop, ":");
        if (split.length > 1) {
            for (int i = 1; i < split.length; i++) {
                values.add(split[i]);
            }
        }
        return values;
    }
}