Class PlacementListToken

    • Constructor Detail

      • PlacementListToken

        public PlacementListToken()
    • Method Detail

      • parseContent

        protected boolean parseContent​(java.io.StreamTokenizer st)
                                throws java.io.IOException
        Description copied from class: SGFToken
        Subclasses must read all of the content and the final closing bracket. This is cool because all tokens end with a closing bracket anyway, which tells them when to stop reading. That's why there isn't a symmetrical read and validate (int)']' in the parse method, above.
        Overrides:
        parseContent in class PlacementToken
        Parameters:
        st - - The SGF stream from which characters can be read.
        Throws:
        java.io.IOException
      • getPoints

        public java.util.Iterator<Point> getPoints()
      • getPoints2

        public java.util.List<Point> getPoints2()