All Downloads are FREE. Search and download functionalities are using the official Maven repository.

in.ashwanthkumar.slack.webhook.util.Lists Maven / Gradle / Ivy

There is a newer version: 0.0.10
Show newest version
package in.ashwanthkumar.slack.webhook.util;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Lists {
    public static  List of(T... elements) {
        if(elements == null) return new ArrayList();
        else return Arrays.asList(elements);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy