.class public Lcom/facebook/datasource/SimpleDataSource; .super Lcom/facebook/datasource/AbstractDataSource; .source "SimpleDataSource.java" # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Lcom/facebook/datasource/AbstractDataSource", ";" } .end annotation # direct methods .method private constructor ()V .locals 0 .prologue .local p0, "this":Lcom/facebook/datasource/SimpleDataSource;, "Lcom/facebook/datasource/SimpleDataSource;" invoke-direct {p0}, Lcom/facebook/datasource/AbstractDataSource;->()V return-void .end method .method public static create()Lcom/facebook/datasource/SimpleDataSource; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/facebook/datasource/SimpleDataSource", ";" } .end annotation .prologue new-instance v0, Lcom/facebook/datasource/SimpleDataSource; invoke-direct {v0}, Lcom/facebook/datasource/SimpleDataSource;->()V return-object v0 .end method # virtual methods .method public setFailure(Ljava/lang/Throwable;)Z .locals 1 .param p1, "throwable" # Ljava/lang/Throwable; .prologue .local p0, "this":Lcom/facebook/datasource/SimpleDataSource;, "Lcom/facebook/datasource/SimpleDataSource;" invoke-static {p1}, Lcom/facebook/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Throwable; invoke-super {p0, v0}, Lcom/facebook/datasource/AbstractDataSource;->setFailure(Ljava/lang/Throwable;)Z move-result v0 return v0 .end method .method public setProgress(F)Z .locals 1 .param p1, "progress" # F .prologue .local p0, "this":Lcom/facebook/datasource/SimpleDataSource;, "Lcom/facebook/datasource/SimpleDataSource;" invoke-super {p0, p1}, Lcom/facebook/datasource/AbstractDataSource;->setProgress(F)Z move-result v0 return v0 .end method .method public setResult(Ljava/lang/Object;)Z .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(TT;)Z" } .end annotation .prologue .local p0, "this":Lcom/facebook/datasource/SimpleDataSource;, "Lcom/facebook/datasource/SimpleDataSource;" .local p1, "value":Ljava/lang/Object;, "TT;" invoke-static {p1}, Lcom/facebook/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 const/4 v1, 0x1 invoke-super {p0, v0, v1}, Lcom/facebook/datasource/AbstractDataSource;->setResult(Ljava/lang/Object;Z)Z move-result v0 return v0 .end method .method public setResult(Ljava/lang/Object;Z)Z .locals 1 .param p2, "isLast" # Z .annotation system Ldalvik/annotation/Signature; value = { "(TT;Z)Z" } .end annotation .prologue .local p0, "this":Lcom/facebook/datasource/SimpleDataSource;, "Lcom/facebook/datasource/SimpleDataSource;" .local p1, "value":Ljava/lang/Object;, "TT;" invoke-static {p1}, Lcom/facebook/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 invoke-super {p0, v0, p2}, Lcom/facebook/datasource/AbstractDataSource;->setResult(Ljava/lang/Object;Z)Z move-result v0 return v0 .end method