INNER CODE UNIT · Java

setState

mongodb/mongo-java-driver · bson/src/main/org/bson/AbstractBsonReader.java:77

    protected void setState(final State newState) {
        state = newState;
    }

    /**
     * Sets the field name for the key/value pair being read.
     *
     * @param newName the field name
     */
    protected void setCurrentName(final String newName) {
        currentName = newName;
    }

    /**
     * Closes the reader.
     */
    public void close() {
        closed = true;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…