182 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			182 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public final Landroidx/car/app/navigation/model/Lane;
 | |
| .super Ljava/lang/Object;
 | |
| .source "Lane.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/MemberClasses;
 | |
|     value = {
 | |
|         Landroidx/car/app/navigation/model/Lane$a;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field private final mDirections:Ljava/util/List;
 | |
|     .annotation build Landroidx/annotation/Keep;
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Ljava/util/List<",
 | |
|             "Landroidx/car/app/navigation/model/LaneDirection;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     .line 4
 | |
|     invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/car/app/navigation/model/Lane;->mDirections:Ljava/util/List;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Ljava/util/List;)V
 | |
|     .locals 0
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Ljava/util/List<",
 | |
|             "Landroidx/car/app/navigation/model/LaneDirection;",
 | |
|             ">;)V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-static {p1}, Landroidx/car/app/utils/a;->b(Ljava/util/List;)Ljava/util/List;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     iput-object p1, p0, Landroidx/car/app/navigation/model/Lane;->mDirections:Ljava/util/List;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public a()Ljava/util/List;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "()",
 | |
|             "Ljava/util/List<",
 | |
|             "Landroidx/car/app/navigation/model/LaneDirection;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/car/app/navigation/model/Lane;->mDirections:Ljava/util/List;
 | |
| 
 | |
|     invoke-static {v0}, Landroidx/car/app/utils/a;->a(Ljava/util/List;)Ljava/util/List;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public equals(Ljava/lang/Object;)Z
 | |
|     .locals 1
 | |
|     .param p1    # Ljava/lang/Object;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     if-ne p0, p1, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     return p1
 | |
| 
 | |
|     .line 1
 | |
|     :cond_0
 | |
|     instance-of v0, p1, Landroidx/car/app/navigation/model/Lane;
 | |
| 
 | |
|     if-nez v0, :cond_1
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     return p1
 | |
| 
 | |
|     .line 2
 | |
|     :cond_1
 | |
|     check-cast p1, Landroidx/car/app/navigation/model/Lane;
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Landroidx/car/app/navigation/model/Lane;->mDirections:Ljava/util/List;
 | |
| 
 | |
|     iget-object p1, p1, Landroidx/car/app/navigation/model/Lane;->mDirections:Ljava/util/List;
 | |
| 
 | |
|     invoke-static {v0, p1}, Ljava/util/Objects;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     return p1
 | |
| .end method
 | |
| 
 | |
| .method public hashCode()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/car/app/navigation/model/Lane;->mDirections:Ljava/util/List;
 | |
| 
 | |
|     invoke-static {v0}, Ljava/util/Objects;->hashCode(Ljava/lang/Object;)I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public toString()Ljava/lang/String;
 | |
|     .locals 3
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     const-string v0, "[direction count: "
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {v0}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     iget-object v1, p0, Landroidx/car/app/navigation/model/Lane;->mDirections:Ljava/util/List;
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     invoke-interface {v1}, Ljava/util/List;->size()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     const-string v2, "]"
 | |
| 
 | |
|     invoke-static {v0, v1, v2}, Landroid/support/v4/media/c;->a(Ljava/lang/StringBuilder;ILjava/lang/String;)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 |