Class DefaultGrammarSet

java.lang.Object
org.gvsig.expressionevaluator.impl.DefaultGrammarSet
All Implemented Interfaces:
Iterable<org.gvsig.expressionevaluator.Grammar>, org.gvsig.expressionevaluator.GrammarSet, org.gvsig.tools.util.GetItem<org.gvsig.expressionevaluator.Grammar>, org.gvsig.tools.util.GetItemWithSize<org.gvsig.expressionevaluator.Grammar>, org.gvsig.tools.util.GetItemWithSizeAndIterator<org.gvsig.expressionevaluator.Grammar>, org.gvsig.tools.util.IsEmpty, org.gvsig.tools.util.Size, org.gvsig.tools.util.UnmodifiableBasicCollection<org.gvsig.expressionevaluator.Grammar>, org.gvsig.tools.util.UnmodifiableBasicList<org.gvsig.expressionevaluator.Grammar>

public class DefaultGrammarSet extends Object implements org.gvsig.expressionevaluator.GrammarSet
Author:
jjdelcerro
  • Field Summary

    Fields inherited from interface org.gvsig.tools.util.GetItemWithSizeAndIterator

    EMPTY_GETITEMWITHSIZEANDITERATOR

    Fields inherited from interface org.gvsig.tools.util.UnmodifiableBasicList

    EMPTY_UNMODIFIABLEBASICLIST
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(org.gvsig.expressionevaluator.Grammar grammar)
     
    boolean
    contains(org.gvsig.expressionevaluator.Grammar grammar)
     
    org.gvsig.expressionevaluator.Grammar
    get(int i)
     
    org.gvsig.expressionevaluator.Statement
    getApplicableStatement(org.gvsig.expressionevaluator.Statement.StatementContext context)
     
    boolean
     
    boolean
     
    Iterator<org.gvsig.expressionevaluator.Grammar>
     
    int
     
    List<org.gvsig.expressionevaluator.Grammar>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

    • DefaultGrammarSet

      public DefaultGrammarSet()
  • Method Details

    • getApplicableStatement

      public org.gvsig.expressionevaluator.Statement getApplicableStatement(org.gvsig.expressionevaluator.Statement.StatementContext context)
      Specified by:
      getApplicableStatement in interface org.gvsig.expressionevaluator.GrammarSet
    • isReservedWord

      public boolean isReservedWord(String id)
      Specified by:
      isReservedWord in interface org.gvsig.expressionevaluator.GrammarSet
    • contains

      public boolean contains(org.gvsig.expressionevaluator.Grammar grammar)
      Specified by:
      contains in interface org.gvsig.expressionevaluator.GrammarSet
    • add

      public void add(org.gvsig.expressionevaluator.Grammar grammar)
      Specified by:
      add in interface org.gvsig.expressionevaluator.GrammarSet
    • get

      public org.gvsig.expressionevaluator.Grammar get(int i)
      Specified by:
      get in interface org.gvsig.tools.util.GetItem<org.gvsig.expressionevaluator.Grammar>
    • size

      public int size()
      Specified by:
      size in interface org.gvsig.tools.util.Size
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.gvsig.tools.util.IsEmpty
    • toList

      public List<org.gvsig.expressionevaluator.Grammar> toList()
      Specified by:
      toList in interface org.gvsig.tools.util.UnmodifiableBasicList<org.gvsig.expressionevaluator.Grammar>
    • iterator

      public Iterator<org.gvsig.expressionevaluator.Grammar> iterator()
      Specified by:
      iterator in interface Iterable<org.gvsig.expressionevaluator.Grammar>