Class Buffer

  • public class Buffer
    extends Object
    A simple thread safe buffer.
    Justin Deoliveira, The Open Planning Project
    • Constructor Summary

      Constructor Description
      Buffer​(int size)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      Object get()  
      void put​(Object object)  
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Buffer

        public Buffer()
      • Buffer

        public Buffer​(int size)
    • Method Detail

      • put

        public void put​(Object object)
      • get

        public Object get()
      • close

        public void close()