cc.plural.jsonij.jpath
Class SimpleIndexPredicate

java.lang.Object
  extended by cc.plural.jsonij.jpath.Component
      extended by cc.plural.jsonij.jpath.PredicateComponent
          extended by cc.plural.jsonij.jpath.SimpleIndexPredicate

public class SimpleIndexPredicate
extends PredicateComponent


Field Summary
static int LAST_INDEX
           
 
Constructor Summary
SimpleIndexPredicate()
           
SimpleIndexPredicate(int index)
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Value> evaluate(List<Value> values, List<Value> results)
           
 int getIndex()
           
 int hashCode()
           
 boolean isLast()
           
 void setIndex(int index)
           
 void setLast()
           
 
Methods inherited from class cc.plural.jsonij.jpath.Component
evaluate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LAST_INDEX

public static final int LAST_INDEX
Constructor Detail

SimpleIndexPredicate

public SimpleIndexPredicate()

SimpleIndexPredicate

public SimpleIndexPredicate(int index)
Method Detail

isLast

public boolean isLast()

setLast

public void setLast()

getIndex

public int getIndex()

setIndex

public void setIndex(int index)

evaluate

public List<Value> evaluate(List<Value> values,
                            List<Value> results)
Specified by:
evaluate in class Component

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012. All Rights Reserved.