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 revisionPrevious revision
Next revisionBoth sides next revision
glossary:interface [2013-06-14 15:39] – better structure and enhanced description christianglossary:interface [2013-06-14 15:47] – [Examples] christian
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*/
glossary/interface.txt · Last modified: 2021-10-20 20:14 by christian