Class Sentence


  • public class Sentence
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Sentence()  
      Sentence​(java.util.ArrayList<Unit> sentence)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(Unit unit)  
      Unit get​(int i)  
      java.util.ArrayList<Unit> getUnits()  
      int size()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Sentence

        public Sentence​(java.util.ArrayList<Unit> sentence)
      • Sentence

        public Sentence()
    • Method Detail

      • add

        public void add​(Unit unit)
      • get

        public Unit get​(int i)
      • getUnits

        public java.util.ArrayList<Unit> getUnits()
      • size

        public int size()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object