Skip to main content

Marco Castellani's Library tagged reference   View Popular

13 Jul 09

How to Write Doc Comments for the Javadoc Tool

  • A doc comment is written in HTML and must precede a class, field,
    constructor or method declaration. It is made up of two parts --
    a description followed by block tags. In this example, the block
    tags are @param, @return, and
    @see.
  • An @param tag is "required" (by convention) for every parameter,
    even when the description is
    obvious. The @return tag is required for every method that returns something
    other than void, even if it is redundant with the method description.
    (Whenever possible, find something non-redundant (ideally, more specific) to use
    for the tag comment.)
  • 1 more annotations...
04 Feb 09

String (Java Platform SE 6)

  • The String class represents character strings. All
    string literals in Java programs, such as "abc", are
    implemented as instances of this class.
  • Strings are constant; their values cannot be changed after they
    are created.
  • 4 more annotations...

BufferedReader (Java Platform SE 6)

  • Reads text from a character-input stream, buffering characters so as to
    provide for the efficient reading of characters, arrays, and lines.
  • In general, each read request made of a Reader causes a corresponding
    read request to be made of the underlying character or byte stream. It is
    therefore advisable to wrap a BufferedReader around any Reader whose read()
    operations may be costly, such as FileReaders and InputStreamReaders.
  • 1 more annotations...

ArrayList (Java Platform SE 6)

  • Resizable-array implementation of the List interface. Implements
    all optional list operations, and permits all elements, including
    null. In addition to implementing the List interface,
    this class provides methods to manipulate the size of the array that is
    used internally to store the list. (This class is roughly equivalent to
    Vector, except that it is unsynchronized.)

Collection (Java Platform SE 6)

  • The root interface in the collection hierarchy. A collection
    represents a group of objects, known as its elements. Some
    collections allow duplicate elements and others do not. Some are ordered
    and others unordered. The JDK does not provide any direct
    implementations of this interface: it provides implementations of more
    specific subinterfaces like Set and List. This interface
    is typically used to pass collections around and manipulate them where
    maximum generality is desired.
  • typically implement Collection indirectly through one of its
    subinterfaces

List (Java Platform SE 6)


  • An ordered collection (also known as a sequence). The user of this
    interface has precise control over where in the list each element is
    inserted. The user can access elements by their integer index (position in
    the list), and search for elements in the list.

  • Unlike sets, lists typically allow duplicate elements.

java.util (Java Platform SE 6)

  • Contains the collections framework, legacy collection classes, event model,
    date and time facilities, internationalization, and miscellaneous utility
    classes (a string tokenizer, a random-number generator, and a bit array).
  • Collection<E>
  • 2 more annotations...

java.io (Java Platform SE 6)

  • Provides for system input and output through data streams,
    serialization and the file system.

  • Reads text from a character-input stream, buffering characters so as to
    provide for the efficient reading of characters, arrays, and lines.
  • 4 more annotations...
15 Jan 09

Overview (Java Platform SE 6)

  • Provides for system input and output through data streams,
    serialization and the file system.
  • Contains the collections framework, legacy collection classes, event model,
    date and time facilities, internationalization, and miscellaneous utility
    classes (a string tokenizer, a random-number generator, and a bit array).
1 - 20 of 78 Next › Last »
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo