public class PcTargetHostsUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
logger
The logger.
|
Constructor and Description |
---|
PcTargetHostsUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
getNodeListFromStringLineSeperateOrSpaceSeperate(java.lang.String listStr,
boolean removeDuplicate)
Gets the node list from string line seperate or space seperate.
|
static int |
removeDuplicateNodeList(java.util.List<java.lang.String> list)
Removes the duplicate node list.
|
public static java.util.List<java.lang.String> getNodeListFromStringLineSeperateOrSpaceSeperate(java.lang.String listStr, boolean removeDuplicate)
listStr
- the list strremoveDuplicate
- the remove duplicatepublic static int removeDuplicateNodeList(java.util.List<java.lang.String> list)
list
- the list