Package org.bson

Class AbstractBsonWriter.Mark

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Mark​()
      Creates a new snapshopt of the current state.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void reset​()
      Resets the AbstractBsonWriter instance that contains this Mark to the state the writer was in when the Mark was created.
      • Methods inherited from class java.lang.Object

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

      • Mark

        protected Mark​()
        Creates a new snapshopt of the current state.
    • Method Detail

      • reset

        protected void reset​()
        Resets the AbstractBsonWriter instance that contains this Mark to the state the writer was in when the Mark was created.