it.auties.whatsapp.model.signal.session.SessionBuilder Maven / Gradle / Ivy
package it.auties.whatsapp.model.signal.session;
public class SessionBuilder {
private java.util.concurrent.ConcurrentHashMap.KeySetView states;
public SessionBuilder() {
states = java.util.concurrent.ConcurrentHashMap.newKeySet();
}
public SessionBuilder states(java.util.concurrent.ConcurrentHashMap.KeySetView states) {
this.states = states;
return this;
}
public it.auties.whatsapp.model.signal.session.Session build() {
return new it.auties.whatsapp.model.signal.session.Session(states);
}
}