KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > bytes > TCByteBufferFactoryIF


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.bytes;
5
6 /**
7  * Interface for TCByteBufferFactory instances
8  *
9  * @author teck
10  */

11 interface TCByteBufferFactoryIF {
12   TCByteBuffer getInstance(int capacity, boolean direct);
13   
14   TCByteBuffer wrap(byte[] data);
15 }
Popular Tags