.class public final Lcom/vungle/ads/internal/util/CollectionsConcurrencyUtil; .super Ljava/lang/Object; .source "SourceFile" # static fields .field public static final INSTANCE:Lcom/vungle/ads/internal/util/CollectionsConcurrencyUtil; # direct methods .method static constructor ()V .locals 1 new-instance v0, Lcom/vungle/ads/internal/util/CollectionsConcurrencyUtil; invoke-direct {v0}, Lcom/vungle/ads/internal/util/CollectionsConcurrencyUtil;->()V sput-object v0, Lcom/vungle/ads/internal/util/CollectionsConcurrencyUtil;->INSTANCE:Lcom/vungle/ads/internal/util/CollectionsConcurrencyUtil; return-void .end method .method private constructor ()V .locals 0 .line 5 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static final declared-synchronized addToSet(Ljava/util/HashSet;Ljava/lang/String;)V .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/HashSet<", "Ljava/lang/String;", ">;", "Ljava/lang/String;", ")V" } .end annotation const-class v0, Lcom/vungle/ads/internal/util/CollectionsConcurrencyUtil; monitor-enter v0 :try_start_0 const-string v1, "hashset" invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v1, "set" invoke-static {p1, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 15 invoke-virtual {p0, p1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 .line 16 monitor-exit v0 return-void :catchall_0 move-exception p0 monitor-exit v0 throw p0 .end method .method public static final declared-synchronized getNewHashSet(Ljava/util/HashSet;)Ljava/util/HashSet; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/HashSet<", "Ljava/lang/String;", ">;)", "Ljava/util/HashSet<", "Ljava/lang/String;", ">;" } .end annotation const-class v0, Lcom/vungle/ads/internal/util/CollectionsConcurrencyUtil; monitor-enter v0 .line 9 :try_start_0 new-instance v1, Ljava/util/HashSet; invoke-direct {v1, p0}, Ljava/util/HashSet;->(Ljava/util/Collection;)V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 monitor-exit v0 return-object v1 :catchall_0 move-exception p0 monitor-exit v0 throw p0 .end method