glossary:interface
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
glossary:interface [2020-12-10 08:40] – old revision restored (2013-08-11 10:51) 95.216.172.175 | glossary:interface [2021-09-02 13:05] – old revision restored (2021-05-11 17:16) 65.21.179.175 | ||
---|---|---|---|
Line 55: | Line 55: | ||
==== Examples ==== | ==== Examples ==== | ||
- | [[http:// | + | |
- | <code java> | + | |
- | public interface Collection< | + | |
- | { | + | |
- | boolean add(E e); | + | |
- | boolean addAll(Collection<? | + | |
- | void clear() | + | |
- | boolean contains(Object o) | + | |
- | ... | + | |
- | } | + | |
- | </ | + | |
==== Alternative Definitions ==== | ==== Alternative Definitions ==== | ||
/*i.e. slightly different definitions for basically the same thing*/ | /*i.e. slightly different definitions for basically the same thing*/ | ||
Line 82: | Line 72: | ||
* In [[Object Pascal]] a [[unit]], i.e. a pas-file, typically contains an interface and an implementation section. The interface section lists the declarations which are visible outside the unit. | * In [[Object Pascal]] a [[unit]], i.e. a pas-file, typically contains an interface and an implementation section. The interface section lists the declarations which are visible outside the unit. | ||
- | |||
- | ---- | ||
- | ===== Discussion ===== | ||
- | |||
- | Discuss this wiki article and the term on the corresponding [[talk: |
glossary/interface.txt · Last modified: 2021-10-20 20:14 by christian