samples/differentreturntype/src-api1.0/api/API.java
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:59:27 +0200
changeset 181 81d72f69fa42
parent 180 131332825eab
permissions -rw-r--r--
Incorporating Patrick's changes. I am not reall sure about the changes after the war, it is really 'or' it cannot be 'and'. I will change that when I do the reading through the whole chapter.
     1 package api;
     2 
     3 import javax.swing.Icon;
     4 
     5 public abstract class API {
     6 // BEGIN: theory.binary.differentreturntype.api
     7     public static Icon getIcon() {
     8         return null; // compute something
     9     }
    10 // END: theory.binary.differentreturntype.api
    11 }