01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: //
09: //
10: //
11: //
12:
13: package de.uka.ilkd.key.logic.sort;
14:
15: public interface CollectionSort extends Sort {
16:
17: Sort elementSort();
18:
19: /**
20: * @return the sorts of the predecessors of this sort
21: */
22: SetOfSort extendsSorts();
23:
24: /**
25: * @return an object of this class with elementSort().equals(p),
26: * or null if such an object cannot be constructed (as p is an
27: * incompatible sort)
28: */
29: Sort cloneFor(Sort p);
30:
31: }
|