Class AutoExpandArrayTraversalStep<DataType>

  • All Implemented Interfaces:
    TraversalStep<java.util.List<java.lang.Object>,​DataType>

    public class AutoExpandArrayTraversalStep<DataType>
    extends ArrayTraversalStep<DataType>
    Subclass of ArrayTraversalStep that does not care about array index numbers. Instead it will just do an array add on any set. Consequently, get and remove are rather meaningless. This exists, because we need a way in the human readable path, so say that we always want a list value. Example : "tuna.marlin.[]" We want the value of marlin to always be a list, and anytime we set data to marlin, it should just be added to the list.