User Tools

Site Tools


glossary:interface

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
glossary:interface [2013-08-11 10:51]
christian +talk
glossary:interface [2020-12-10 08:40]
95.216.172.175 old revision restored (2013-06-14 15:39)
Line 55: Line 55:
  
 ==== Examples ==== ==== Examples ====
-[[http://docs.oracle.com/javase/7/docs/api/|java.util.Collection<E>]]: +
-<code java> +
-public interface Collection<E> extends Iterable<E>  +
-+
-    boolean add(E e); +
-    boolean addAll(Collection<? extends E> c) +
-    void clear() +
-    boolean contains(Object o) +
-    ... +
-+
-</code>+
 ==== 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|talk page]]. 
glossary/interface.txt · Last modified: 2021-02-02 00:26 by 95.216.157.202