.class public final Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId; .super Ljava/lang/Object; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "MediaPeriodId" .end annotation # instance fields .field public final adGroupIndex:I .field public final adIndexInAdGroup:I .field public final periodIndex:I .field public final windowSequenceNumber:J # direct methods .method public constructor (I)V .locals 2 const-wide/16 v0, -0x1 .line 40 invoke-direct {p0, p1, v0, v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->(IJ)V return-void .end method .method public constructor (IIIJ)V .locals 0 .line 50 invoke-direct {p0}, Ljava/lang/Object;->()V iput p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->periodIndex:I iput p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->adGroupIndex:I iput p3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->adIndexInAdGroup:I iput-wide p4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->windowSequenceNumber:J return-void .end method .method public constructor (IJ)V .locals 6 const/4 v2, -0x1 const/4 v3, -0x1 move-object v0, p0 move v1, p1 move-wide v4, p2 .line 45 invoke-direct/range {v0 .. v5}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->(IIIJ)V return-void .end method # virtual methods .method public final copyWithPeriodIndex(I)Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId; .locals 7 iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->periodIndex:I if-ne v0, p1, :cond_0 move-object v0, p0 goto :goto_0 .line 61 :cond_0 new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId; iget v3, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->adGroupIndex:I iget v4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->adIndexInAdGroup:I iget-wide v5, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->windowSequenceNumber:J move-object v1, v0 move v2, p1 invoke-direct/range {v1 .. v6}, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->(IIIJ)V :goto_0 return-object v0 .end method .method public final equals(Ljava/lang/Object;)Z .locals 6 .param p1 # Ljava/lang/Object; .annotation build Landroidx/annotation/Nullable; .end annotation .end param const/4 v0, 0x1 if-ne p0, p1, :cond_0 return v0 :cond_0 const/4 v1, 0x0 if-eqz p1, :cond_3 .line 74 invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v2 const-class v3, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId; if-eq v3, v2, :cond_1 goto :goto_1 .line 78 :cond_1 check-cast p1, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId; iget v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->periodIndex:I .line 79 iget v3, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->periodIndex:I if-ne v2, v3, :cond_2 iget v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->adGroupIndex:I iget v3, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->adGroupIndex:I if-ne v2, v3, :cond_2 iget v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->adIndexInAdGroup:I iget v3, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->adIndexInAdGroup:I if-ne v2, v3, :cond_2 iget-wide v2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->windowSequenceNumber:J iget-wide v4, p1, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->windowSequenceNumber:J cmp-long p1, v2, v4 if-nez p1, :cond_2 goto :goto_0 :cond_2 move v0, v1 :goto_0 return v0 :cond_3 :goto_1 return v1 .end method .method public final hashCode()I .locals 3 const/16 v0, 0x20f iget v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->periodIndex:I add-int/2addr v0, v1 mul-int/lit8 v0, v0, 0x1f iget v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->adGroupIndex:I add-int/2addr v0, v1 mul-int/lit8 v0, v0, 0x1f iget v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->adIndexInAdGroup:I add-int/2addr v0, v1 mul-int/lit8 v0, v0, 0x1f iget-wide v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->windowSequenceNumber:J long-to-int v1, v1 add-int/2addr v0, v1 return v0 .end method .method public final isAd()Z .locals 2 iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/MediaSource$MediaPeriodId;->adGroupIndex:I const/4 v1, -0x1 if-eq v0, v1, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method