Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
26
apk_decompiled/sources/com/google/firebase/events/Event.java
Normal file
26
apk_decompiled/sources/com/google/firebase/events/Event.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package com.google.firebase.events;
|
||||
|
||||
import com.google.firebase.components.Preconditions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public class Event<T> {
|
||||
private final T payload;
|
||||
private final Class<T> type;
|
||||
|
||||
public Event(Class<T> cls, T t2) {
|
||||
this.type = (Class) Preconditions.checkNotNull(cls);
|
||||
this.payload = (T) Preconditions.checkNotNull(t2);
|
||||
}
|
||||
|
||||
public T getPayload() {
|
||||
return this.payload;
|
||||
}
|
||||
|
||||
public Class<T> getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return String.format("Event{type: %s, payload: %s}", this.type, this.payload);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user