Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java remove element from list

for (Object a : list) {
    if (a.getXXX().equalsIgnoreCase("AAA")) {
        logger.info("this is AAA........should be removed from the list ");
        list.remove(a);
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #remove #element #list
ADD COMMENT
Topic
Name
5+7 =