Ulysses is a novel by James Joyce. The complete book was first published in 1922, although parts of it had appeared earlier. It was an early example of "stream of consciousness" writing. This attempts to give the written equivalent of the character's thought processes, either in a loose interior monologue (see below), or in connection to his or her actions. Stream-of-consciousness writing is usually regarded as a special form of interior monologue.