Class StashBuffer$


  • public class StashBuffer$
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static StashBuffer$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      StashBuffer$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> StashBuffer<T> create​(int capacity)
      Create an empty message buffer.
      • Methods inherited from class java.lang.Object

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

      • MODULE$

        public static final StashBuffer$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • StashBuffer$

        public StashBuffer$()
    • Method Detail

      • create

        public <T> StashBuffer<T> create​(int capacity)
        Create an empty message buffer.

        Parameters:
        capacity - the buffer can hold at most this number of messages
        Returns:
        an empty message buffer