.class final Lio/reactivex/internal/functions/Functions$TimestampFunction; .super Ljava/lang/Object; .source "Functions.java" # interfaces .implements Lio/reactivex/functions/Function; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lio/reactivex/internal/functions/Functions; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x18 name = "TimestampFunction" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lio/reactivex/functions/Function<", "TT;", "Lio/reactivex/schedulers/Timed<", "TT;>;>;" } .end annotation # instance fields .field final scheduler:Lio/reactivex/Scheduler; .field final unit:Ljava/util/concurrent/TimeUnit; # direct methods .method constructor (Ljava/util/concurrent/TimeUnit;Lio/reactivex/Scheduler;)V .locals 0 .line 519 invoke-direct {p0}, Ljava/lang/Object;->()V .line 520 iput-object p1, p0, Lio/reactivex/internal/functions/Functions$TimestampFunction;->unit:Ljava/util/concurrent/TimeUnit; .line 521 iput-object p2, p0, Lio/reactivex/internal/functions/Functions$TimestampFunction;->scheduler:Lio/reactivex/Scheduler; return-void .end method # virtual methods .method public apply(Ljava/lang/Object;)Lio/reactivex/schedulers/Timed; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "(TT;)", "Lio/reactivex/schedulers/Timed<", "TT;>;" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/lang/Exception; } .end annotation .line 526 new-instance v0, Lio/reactivex/schedulers/Timed; iget-object v1, p0, Lio/reactivex/internal/functions/Functions$TimestampFunction;->scheduler:Lio/reactivex/Scheduler; iget-object v2, p0, Lio/reactivex/internal/functions/Functions$TimestampFunction;->unit:Ljava/util/concurrent/TimeUnit; invoke-virtual {v1, v2}, Lio/reactivex/Scheduler;->now(Ljava/util/concurrent/TimeUnit;)J move-result-wide v1 iget-object v3, p0, Lio/reactivex/internal/functions/Functions$TimestampFunction;->unit:Ljava/util/concurrent/TimeUnit; invoke-direct {v0, p1, v1, v2, v3}, Lio/reactivex/schedulers/Timed;->(Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)V return-object v0 .end method .method public bridge synthetic apply(Ljava/lang/Object;)Ljava/lang/Object; .locals 0 .annotation system Ldalvik/annotation/Throws; value = { Ljava/lang/Exception; } .end annotation .line 514 invoke-virtual {p0, p1}, Lio/reactivex/internal/functions/Functions$TimestampFunction;->apply(Ljava/lang/Object;)Lio/reactivex/schedulers/Timed; move-result-object p1 return-object p1 .end method