Source code: Allocator/FreeMemStrategy.java
1 // FreeMemStrategy.java, created Mon Nov 25 6:52:59 2002 by laudney
2 // Copyright (C) 2001-3 laudney <laudney@acm.org>
3 // Licensed under the terms of the GNU LGPL; see COPYING for details.
4 package Allocator;
5
6 import java.util.Collection;
7
8 /**
9 * FreeMemStrategy
10 *
11 * @author laudney <laudney@acm.org>
12 * @version $Id: FreeMemStrategy.java,v 1.4 2003/05/12 10:04:52 joewhaley Exp $
13 */
14 public interface FreeMemStrategy {
15 public void addCollection(Collection c);
16 public void addFreeMem(MemUnit unit);
17 public MemUnit getFreeMem(int size);
18 }