.class Lorg/apache/commons/lang3/time/FastDateParser$StrategyAndWidth; .super Ljava/lang/Object; .source "FastDateParser.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lorg/apache/commons/lang3/time/FastDateParser; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "StrategyAndWidth" .end annotation # instance fields .field public final strategy:Lorg/apache/commons/lang3/time/FastDateParser$Strategy; .field public final width:I # direct methods .method public constructor (Lorg/apache/commons/lang3/time/FastDateParser$Strategy;I)V .locals 0 .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 iput-object p1, p0, Lorg/apache/commons/lang3/time/FastDateParser$StrategyAndWidth;->strategy:Lorg/apache/commons/lang3/time/FastDateParser$Strategy; .line 3 iput p2, p0, Lorg/apache/commons/lang3/time/FastDateParser$StrategyAndWidth;->width:I return-void .end method # virtual methods .method public getMaxWidth(Ljava/util/ListIterator;)I .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/ListIterator<", "Lorg/apache/commons/lang3/time/FastDateParser$StrategyAndWidth;", ">;)I" } .end annotation .line 1 iget-object v0, p0, Lorg/apache/commons/lang3/time/FastDateParser$StrategyAndWidth;->strategy:Lorg/apache/commons/lang3/time/FastDateParser$Strategy; invoke-virtual {v0}, Lorg/apache/commons/lang3/time/FastDateParser$Strategy;->isNumber()Z move-result v0 const/4 v1, 0x0 if-eqz v0, :cond_1 invoke-interface {p1}, Ljava/util/ListIterator;->hasNext()Z move-result v0 if-nez v0, :cond_0 goto :goto_0 .line 2 :cond_0 invoke-interface {p1}, Ljava/util/ListIterator;->next()Ljava/lang/Object; move-result-object v0 check-cast v0, Lorg/apache/commons/lang3/time/FastDateParser$StrategyAndWidth; iget-object v0, v0, Lorg/apache/commons/lang3/time/FastDateParser$StrategyAndWidth;->strategy:Lorg/apache/commons/lang3/time/FastDateParser$Strategy; .line 3 invoke-interface {p1}, Ljava/util/ListIterator;->previous()Ljava/lang/Object; .line 4 invoke-virtual {v0}, Lorg/apache/commons/lang3/time/FastDateParser$Strategy;->isNumber()Z move-result p1 if-eqz p1, :cond_1 iget v1, p0, Lorg/apache/commons/lang3/time/FastDateParser$StrategyAndWidth;->width:I :cond_1 :goto_0 return v1 .end method