Class CollectionFieldExpressionValidator.WalkerContext

java.lang.Object
org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.WalkerContext
Enclosing class:
CollectionFieldExpressionValidator

public class CollectionFieldExpressionValidator.WalkerContext
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.Object current  
    protected int index  
    protected java.lang.Object previous  
    protected int size  
  • Constructor Summary

    Constructors 
    Constructor Description
    WalkerContext​(int size)  
  • Method Summary

    Modifier and Type Method Description
    void addCurrent​(java.lang.Object current)  
    java.lang.Object getCurrent()  
    int getIndex()  
    java.lang.Object getPrevious()  
    int getSize()  
    boolean isEmpty()  
    boolean isFirst()  
    boolean isLast()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • size

      protected final int size
    • index

      protected int index
    • current

      protected java.lang.Object current
    • protected java.lang.Object previous
  • Constructor Details

  • Method Details

    • addCurrent

      public void addCurrent​(java.lang.Object current)
    • getCurrent

      public java.lang.Object getCurrent()
    • getIndex

      public int getIndex()
    • getPrevious

      public java.lang.Object getPrevious()
    • getSize

      public int getSize()
    • isEmpty

      public boolean isEmpty()
    • isFirst

      public boolean isFirst()
    • isLast

      public boolean isLast()