public class Lists extends Object
| Constructor and Description |
|---|
Lists() |
| Modifier and Type | Method and Description |
|---|---|
static <V> boolean |
addNotContains(List<V> list,
int index,
V value)
Add the value to the list if it is not empty and not already in the list.
|
static <V> boolean |
addNotContains(List<V> list,
V value)
Add the value to the list if it is not empty and not already in the list.
|
static <V> boolean |
addNotEmpty(List<V> list,
int index,
V value)
Add the value to the list if it is not empty.
|
static <V> boolean |
addNotEmpty(List<V> list,
V value)
Add the value to the list if it is not empty.
|
public static <V> boolean addNotContains(List<V> list, int index, V value)
list - value - public static <V> boolean addNotContains(List<V> list, V value)
list - value - public static <V> boolean addNotEmpty(List<V> list, int index, V value)
list - value - public static <V> boolean addNotEmpty(List<V> list, V value)
list - value - Copyright © 2015 Revolution Systems Inc.. All rights reserved.