.class public abstract Lcom/google/common/collect/BinaryTreeTraverser; .super Lcom/google/common/collect/TreeTraverser; .source "BinaryTreeTraverser.java" # annotations .annotation build Lcom/google/common/annotations/Beta; .end annotation .annotation build Lcom/google/common/annotations/GwtCompatible; emulated = true .end annotation .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/google/common/collect/BinaryTreeTraverser$InOrderIterator;, Lcom/google/common/collect/BinaryTreeTraverser$PostOrderIterator;, Lcom/google/common/collect/BinaryTreeTraverser$PreOrderIterator; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Lcom/google/common/collect/TreeTraverser", ";" } .end annotation # direct methods .method public constructor ()V .locals 0 .prologue .line 38 invoke-direct {p0}, Lcom/google/common/collect/TreeTraverser;->()V .line 178 return-void .end method .method static synthetic access$000(Ljava/util/LinkedList;Lcom/google/common/base/Optional;)V .locals 0 .prologue .line 38 invoke-static {p0, p1}, Lcom/google/common/collect/BinaryTreeTraverser;->pushIfPresent(Ljava/util/LinkedList;Lcom/google/common/base/Optional;)V return-void .end method .method private static pushIfPresent(Ljava/util/LinkedList;Lcom/google/common/base/Optional;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/LinkedList", ";", "Lcom/google/common/base/Optional", ";)V" } .end annotation .prologue .line 207 invoke-virtual {p1}, Lcom/google/common/base/Optional;->isPresent()Z move-result v0 if-eqz v0, :cond_0 .line 208 invoke-virtual {p1}, Lcom/google/common/base/Optional;->get()Ljava/lang/Object; move-result-object v0 invoke-virtual {p0, v0}, Ljava/util/LinkedList;->addLast(Ljava/lang/Object;)V .line 210 :cond_0 return-void .end method # virtual methods .method public final children(Ljava/lang/Object;)Ljava/lang/Iterable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TT;)", "Ljava/lang/Iterable", ";" } .end annotation .prologue .line 58 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; .line 59 new-instance v0, Lcom/google/common/collect/BinaryTreeTraverser$1; invoke-direct {v0, p0, p1}, Lcom/google/common/collect/BinaryTreeTraverser$1;->(Lcom/google/common/collect/BinaryTreeTraverser;Ljava/lang/Object;)V return-object v0 .end method .method public final inOrderTraversal(Ljava/lang/Object;)Lcom/google/common/collect/FluentIterable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TT;)", "Lcom/google/common/collect/FluentIterable", ";" } .end annotation .prologue .line 169 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; .line 170 new-instance v0, Lcom/google/common/collect/BinaryTreeTraverser$2; invoke-direct {v0, p0, p1}, Lcom/google/common/collect/BinaryTreeTraverser$2;->(Lcom/google/common/collect/BinaryTreeTraverser;Ljava/lang/Object;)V return-object v0 .end method .method public abstract leftChild(Ljava/lang/Object;)Lcom/google/common/base/Optional; .annotation system Ldalvik/annotation/Signature; value = { "(TT;)", "Lcom/google/common/base/Optional", ";" } .end annotation .end method .method postOrderIterator(Ljava/lang/Object;)Lcom/google/common/collect/UnmodifiableIterator; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TT;)", "Lcom/google/common/collect/UnmodifiableIterator", ";" } .end annotation .prologue .line 127 new-instance v0, Lcom/google/common/collect/BinaryTreeTraverser$PostOrderIterator; invoke-direct {v0, p0, p1}, Lcom/google/common/collect/BinaryTreeTraverser$PostOrderIterator;->(Lcom/google/common/collect/BinaryTreeTraverser;Ljava/lang/Object;)V return-object v0 .end method .method preOrderIterator(Ljava/lang/Object;)Lcom/google/common/collect/UnmodifiableIterator; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TT;)", "Lcom/google/common/collect/UnmodifiableIterator", ";" } .end annotation .prologue .line 91 new-instance v0, Lcom/google/common/collect/BinaryTreeTraverser$PreOrderIterator; invoke-direct {v0, p0, p1}, Lcom/google/common/collect/BinaryTreeTraverser$PreOrderIterator;->(Lcom/google/common/collect/BinaryTreeTraverser;Ljava/lang/Object;)V return-object v0 .end method .method public abstract rightChild(Ljava/lang/Object;)Lcom/google/common/base/Optional; .annotation system Ldalvik/annotation/Signature; value = { "(TT;)", "Lcom/google/common/base/Optional", ";" } .end annotation .end method