Examples of fastASetCheckString()


Examples of org.jruby.RubyHash.fastASetCheckString()

        while (it.hasNext()) {
            KeyValuePair<Operand, Operand> pair = (KeyValuePair<Operand, Operand>) it.next();
            IRubyObject key = (IRubyObject) pair.getKey().retrieve(context, self, currScope, currDynScope, temp);
            IRubyObject value = (IRubyObject) pair.getValue().retrieve(context, self, currScope, currDynScope, temp);

            hash.fastASetCheckString(runtime, key, value);
        }

        return hash;
    }
View Full Code Here

Examples of org.jruby.RubyHash.fastASetCheckString()

        // And then the general case; default map size is 16
        RubyHash result = RuntimeHelpers.constructHash(_ruby, field1, value1, field2, value2);
        do {
            RubyObject fieldName = converter.convert(_ruby, jp);
            jp.nextToken();
            result.fastASetCheckString(_ruby, fieldName, deserialize(jp, ctxt));
        } while (jp.nextToken() != JsonToken.END_OBJECT);
        return result;
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.