JML

java.util
Interface Collection

All Known Subinterfaces:
Deque, List, NavigableSet, Queue, Set, SortedSet
All Known Implementing Classes:
AbstractCollection, AbstractList, AbstractSet, ArrayList, HashSet, LinkedHashSet, LinkedList, TreeSet, Vector

public interface Collection


Method Summary
 boolean add(Object)
           
 boolean addAll(Collection)
           
 void clear()
           
 boolean contains(Object)
           
 boolean containsAll(Collection)
           
 boolean equals(Object)
           
 int hashCode()
           
 boolean isEmpty()
           
 Iterator iterator()
           
 boolean remove(Object)
           
 boolean removeAll(Collection)
           
 boolean retainAll(Collection)
           
 int size()
           
 Object[] toArray()
           
 Object[] toArray(Object[])
           
 

Method Detail

add

public boolean add(Object)

addAll

public boolean addAll(Collection)

clear

public void clear()

contains

public boolean contains(Object)

containsAll

public boolean containsAll(Collection)

equals

public boolean equals(Object)

hashCode

public int hashCode()

isEmpty

public boolean isEmpty()

iterator

public Iterator iterator()

remove

public boolean remove(Object)

removeAll

public boolean removeAll(Collection)

retainAll

public boolean retainAll(Collection)

size

public int size()

toArray

public Object[] toArray()

toArray

public Object[] toArray(Object[])

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.