How to initiate a HashSet with Enumaration Values in Android Studio : I am working with a library with a method with have a HashSet with enumaration parameter, and i ain't able to call that method. I think that question is probably easiest that i think, but i have this problem from two days.
Follow the method in library:

    public int searchCard(HashSet<CardSlotTypeEnum> var1, int var2, OnCardInfoListener var3) {
        if(var2 >= 0 && var3 != null) {
            u.a().a(var1, var2, var3);
            return 0;
        } else {
            return -2;
        }
    }

Follow the enumaration CardSlotTypeEnum:

    public enum CardSlotTypeEnum {
        ICC1,
        ICC2,
        ICC3,
        PSAM1,
        PSAM2,
        PSAM3,
        RF,
        SWIPE,
    }

Follow my code:

    reader = deviceEngine.getCardReader();
    OnCardInfoListener info = new OnCardInfoListener() {};
    HashSet<CardSlotTypeEnum> teste = new HashSet<CardSlotTypeEnum>();

    reader.searchCard(teste,60,info);

I'm having problems to initialize the 'teste' variable, this way was the only that don't are giving some message of error to me, but in this case the 'teste' aren't receiving nothing.

If someone could help me i would stay quite grateful. Thank you.