Scanner Methods

R3_Language

Scanner Methods

The Scanner type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasNext
Checks if there is more processable input. Ignores whitespace.
Public methodHasNext(String)
Checks to see if the next valid input matches the word If success, it is consumed and head is incremented.
Public methodIsNumber
IsNumber function
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrintAll
Prints all tokens of scanner to console
Public methodPrintRest
Prints rest of tokens of scanner to console
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also