com.sun.tools.javac.file
Class JavacFileManager.ByteBufferCache

java.lang.Object
  extended by com.sun.tools.javac.file.JavacFileManager.ByteBufferCache
Enclosing class:
JavacFileManager

private static class JavacFileManager.ByteBufferCache
extends java.lang.Object

A single-element cache of direct byte buffers.


Field Summary
private  java.nio.ByteBuffer cached
           
 
Constructor Summary
private JavacFileManager.ByteBufferCache()
           
 
Method Summary
(package private)  java.nio.ByteBuffer get(int capacity)
           
(package private)  void put(java.nio.ByteBuffer x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cached

private java.nio.ByteBuffer cached
Constructor Detail

JavacFileManager.ByteBufferCache

private JavacFileManager.ByteBufferCache()
Method Detail

get

java.nio.ByteBuffer get(int capacity)

put

void put(java.nio.ByteBuffer x)