@Override
    protected final void read() {
        lhs = !lhs;
        // every other time, do a read, since the read gets the name & value
        // at once.
        if (isLhs()) {
            assert children != null;
            if (!children.hasNext()) {
                throw new RuntimeException(
                        "Called PairContext.read() too many times!");
            }
            currentChild = children.next();
        }
    }
Creates an iterator over this object's children.
thrift/thrift0.13/src/main/java/com/linecorp/armeria/common/thrift/text/PairContext.java