// Source code example for "A Practical Introduction // to Data Structures and Algorithm Analysis" // by Clifford A. Shaffer, Prentice Hall, 1998. // Copyright 1998 by Clifford A. Shaffer public class MemHandle { // A memory block access handle for the // memory manager private int pos; // Position of data in memory MemHandle(int inpos) { pos = inpos; } // Constructor // Return position for handle within memory pool. // This should be restricted to access from MemManager. int getPos() { return pos; } }