alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (TestPosition.out)

This example Java source code file (TestPosition.out) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

doc_comment\:first, erroneous, identifier\:second, illegalstateexception, link, param:@param, return\:\@return, since\:\@since, start_element\:, text, text:description, text\:first, text\:some, throws\:\@throws

The TestPosition.out Java example source code

valid:
DOC_COMMENT:First sentence.
     *
     * <p>Description with {@link java.io.InputStream link}
     *
     * @param first description
     * @param second description
     * @return whatever
     * @throws IllegalStateException why?
     * @since 1.15
     * @see java.util.List
TEXT:First sentence.
START_ELEMENT:<p>
TEXT:Description with!trailing-whitespace!
LINK:{@link java.io.InputStream link}
REFERENCE:java.io.InputStream
TEXT:link
PARAM:@param first description
IDENTIFIER:first
TEXT:description
PARAM:@param second description
IDENTIFIER:second
TEXT:description
RETURN:@return whatever
TEXT:whatever
THROWS:@throws IllegalStateException why?
REFERENCE:IllegalStateException
TEXT:why?
SINCE:@since 1.15
TEXT:1.15
SEE:@see java.util.List
REFERENCE:java.util.List
erroneous:
DOC_COMMENT:First sentence.
     *
     * <p>Description with {@link}, {@link java.util.List}, {@link
     *
     * @param
     * @param second
     * @return
     * @throws
     * @throws IllegalStateException
     * @since
     * @see
TEXT:First sentence.
START_ELEMENT:<p>
TEXT:Description with!trailing-whitespace!
LINK:{@link}
TEXT:,!trailing-whitespace!
LINK:{@link java.util.List}
REFERENCE:java.util.List
TEXT:,!trailing-whitespace!
ERRONEOUS:{@link
ERRONEOUS:@param
PARAM:@param second
IDENTIFIER:second
RETURN:@return
ERRONEOUS:@throws
THROWS:@throws IllegalStateException
REFERENCE:IllegalStateException
SINCE:@since
ERRONEOUS:@see
withWhiteSpaces:
DOC_COMMENT:First sentence.
     *
     * <p>Description with {@link    }, {@link java.util.List#add(   int   )},
     * {@link java.util.List#add(   int   ) some   text   with   whitespaces}, {@link
     *
     * @param     first
     * @param     second   some   text   with trailing whitespace
     * @return      some   return
     * @throws      java.lang.IllegalStateException
     * @throws   java.lang.IllegalStateException some     text
TEXT:First sentence.
START_ELEMENT:<p>
TEXT:Description with!trailing-whitespace!
LINK:{@link    }
TEXT:,!trailing-whitespace!
LINK:{@link java.util.List#add(   int   )}
REFERENCE:java.util.List#add(   int   )
TEXT:,
     *!trailing-whitespace!
LINK:{@link java.util.List#add(   int   ) some   text   with   whitespaces}
REFERENCE:java.util.List#add(   int   )
TEXT:some   text   with   whitespaces
TEXT:,!trailing-whitespace!
ERRONEOUS:{@link
PARAM:@param     first
IDENTIFIER:first
PARAM:@param     second   some   text   with trailing whitespace
IDENTIFIER:second
TEXT:some   text   with trailing whitespace
RETURN:@return      some   return
TEXT:some   return
THROWS:@throws      java.lang.IllegalStateException
REFERENCE:java.lang.IllegalStateException
THROWS:@throws   java.lang.IllegalStateException some     text
REFERENCE:java.lang.IllegalStateException
TEXT:some     text

Other Java examples (source code examples)

Here is a short list of links related to this Java TestPosition.out source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.