lundi 29 juin 2020

Builder class for generic type list

I have a class which have a generic type list, I want to set this field using builder pattern, please help me, I am not able to find any suitable content in the internet

Java Class

public class DialogCar<T> implements Parcelable {

    private String type;
    private List<T> selectedValues;
...

please let me know the Builder class for the above java class

Aucun commentaire:

Enregistrer un commentaire