Here you can find the source of isNonEmptyArray(List
Parameter | Description |
---|---|
value | a value to validate |
public static boolean isNonEmptyArray(List<String> value)
//package com.java2s; //License from project: Open Source License import java.util.List; public class Main { /**/* w w w . j a v a 2s. c o m*/ * Used for parameter validation * @param value a value to validate * @return true if parameter valid, otherwise false */ public static boolean isNonEmptyArray(List<String> value) { return value != null && !value.isEmpty(); } }