Encog.MathUtil.LIBSVM.SupportClass.Tokenizer.HasMoreTokens C# (CSharp) Method

HasMoreTokens() public method

Determines if there are more tokens to return from the source string
public HasMoreTokens ( ) : bool
return bool
            public bool HasMoreTokens()
            {
                //keeping the current pos
                long pos = currentPos;

                try
                {
                    NextToken();
                }
                catch (ArgumentOutOfRangeException)
                {
                    return false;
                }
                finally
                {
                    currentPos = pos;
                }
                return true;
            }
        }