I have a ArrayList with custom objects. I want to search inside this ArrayList for Strings.
The class for the objects look like this:
public class Da
The easy way is to make a for where you verify if the atrrtibute name of the custom object have the desired string
for
name
for(Datapoint d : dataPointList){ if(d.getName() != null && d.getName().contains(search)) //something here }
I think this helps you.