Uses of Class
org.jruby.RubyHash
Packages that use RubyHash
Package
Description
-
Uses of RubyHash in org.jruby
Modifier and TypeClassDescriptionstatic classObligate string-keyed and string-valued hash, used for ENV.static classA Pseudo-hash whose keys and values are required to be Strings.Modifier and TypeMethodDescriptionstatic RubyHashBasicObjectStub.convertToHash(IRubyObject self) RubyBasicObject.convertToHash()Tries to convert this object to a Ruby Hash using the "to_hash" method.RubyHash.convertToHash()static RubyHashRubyGlobal.createGlobalsAndENV(ThreadContext context, GlobalVariables globals, RubyInstanceConfig instanceConfig) static RubyHashRubyData.deconstruct_keys(ThreadContext context, IRubyObject self, IRubyObject keys) RubyHash.delete_ifInternal(ThreadContext context, Block block) rb_hash_delete_ifRubyHash.dupFast(ThreadContext context) A lightweight dup for internal use that does not dispatch to initialize_copy nor rehash the keys.RubyHash.each_keyCommon(ThreadContext context, Block block) rb_hash_each_keyRubyHash.each_pairCommon(ThreadContext context, Block block) rb_hash_each_pairRubyHash.each_pairCommon(ThreadContext context, Block block, boolean oneNine) Deprecated.RubyHash.each_valueCommon(ThreadContext context, Block block) rb_hash_each_valueRubyHash.eachCommon(ThreadContext context, Block block) rb_hash_eachRuby.getENV()RubyHash.initialize_copy(ThreadContext context, IRubyObject other) RubyHash.invert(ThreadContext context) rb_hash_invertRubyHash.merge(ThreadContext context, IRubyObject[] others, Block block) rb_hash_mergeRubyHash.merge(ThreadContext context, IRubyObject other, Block block) Deprecated.RubyHash.merge_bang(ThreadContext context, IRubyObject[] others, Block block) rb_hash_updateRubyHash.merge_bang(ThreadContext context, IRubyObject other, Block block) Deprecated.RubyMatchData.named_captures(ThreadContext context) Deprecated.RubyMatchData.named_captures(ThreadContext context, IRubyObject[] args) static final RubyHashrb_hash_newstatic final RubyHashRubyHash.newHash(Ruby runtime, Map valueMap, IRubyObject defaultValue) rb_hash_newstatic RubyHashRubyHash.newHash(Ruby runtime, IRubyObject key, IRubyObject value) static RubyHashRubyHash.newKwargs(Ruby runtime, String key, IRubyObject value) static final RubyHashRubyHash.newSmallHash(Ruby runtime) rb_hash_newRubyHash.rb_clear()Deprecated.RubyHash.rb_clear(ThreadContext context) rb_hash_clearRubyHash.rehash()Deprecated.RubyHash.rehash(ThreadContext context) rb_hash_rehashRubyHash.rejectInternal(ThreadContext context, Block block) rb_hash_rejectRubyGlobal.CaseInsensitiveStringOnlyRubyHash.replace(ThreadContext context, IRubyObject other) RubyHash.replace(ThreadContext context, IRubyObject other) rb_hash_replaceRubyHash.slice(ThreadContext context, IRubyObject[] args) rb_hash_slicestatic RubyHashRubyData.to_h(ThreadContext context, IRubyObject self, Block block) RubyGlobal.CaseInsensitiveStringOnlyRubyHash.to_h()Deprecated.RubyGlobal.CaseInsensitiveStringOnlyRubyHash.to_h(ThreadContext context, Block block) RubyHash.to_h(ThreadContext context) Deprecated.RubyHash.to_h(ThreadContext context, Block block) static RubyHashRubyNil.to_h(ThreadContext context, IRubyObject recv) RubyStruct.to_h(ThreadContext context) Deprecated.RubyStruct.to_h(ThreadContext context, Block block) protected RubyHashRubyHash.to_h_block(ThreadContext context, Block block) RubyGlobal.StringOnlyRubyHash.to_hash(ThreadContext context) RubyHash.to_hash()Deprecated.RubyHash.to_hash(ThreadContext context) rb_hash_to_hashstatic RubyHashRubyHash.unmarshalFrom(UnmarshalStream input, boolean defaultValue) Deprecated, for removal: This API element is subject to removal in a future version.static RubyHashRubyHash.unmarshalFrom(ThreadContext context, RubyInputStream in, MarshalLoader input, boolean defaultValue) Modifier and TypeMethodDescriptionvoidRubyHash.addAll(ThreadContext context, RubyHash otherHash) static RubyArrayRubyIO.checkExecEnv(ThreadContext context, RubyHash hash) Deprecated.RubyNameError.initializeOptions(IRubyObject[] args, RubyHash options, Block block) RubyNoMethodError.initializeOptions(IRubyObject[] args, RubyHash options, Block block) static voidRubyHash.marshalTo(RubyHash hash, MarshalStream output) Deprecated, for removal: This API element is subject to removal in a future version.static voidRubyHash.marshalTo(ThreadContext context, RubyOutputStream out, RubyHash hash, MarshalDumper output) protected voidRubyHash.replaceExternally(ThreadContext context, RubyHash otherHash) protected voidRubyGlobal.CaseInsensitiveStringOnlyRubyHash.replaceWith(ThreadContext context, RubyHash otherHash) protected voidRubyHash.replaceWith(ThreadContext context, RubyHash otherHash) voidDeprecated.protected IOOptionsRubyIO.updateIOOptionsFromOptions(ThreadContext context, RubyHash options, IOOptions ioOptions) See http://ruby-doc.org/core-1.9.3/IO.html#method-c-new for the format of modes in optionsvoidRubyHash.Visitor.visit(ThreadContext context, RubyHash self, IRubyObject key, IRubyObject value, int index, Object state) abstract voidRubyHash.VisitorWithState.visit(ThreadContext context, RubyHash self, IRubyObject key, IRubyObject value, int index, T state) voidRubyHash.VisitorWithStateI.visit(ThreadContext context, RubyHash self, IRubyObject key, IRubyObject value, int index) Modifier and TypeMethodDescriptionRubyHash.compare(ThreadContext context, RubyHash.VisitorWithState<RubyHash> visitor, IRubyObject other, boolean eql) ModifierConstructorDescriptionPutKeyValueCallback(Ruby runtime, RubyHash result) Deprecated.PutKeyValueCallback(Ruby runtime, RubyHash result, Block block) Deprecated.RubyIO(Ruby runtime, RubyClass cls, ShellLauncher.POpenProcess process, RubyHash options, IOOptions ioOptions) Deprecated. -
Uses of RubyHash in org.jruby.api
Methods in org.jruby.api that return RubyHashModifier and TypeMethodDescriptionstatic RubyHashConvert.castAsHash(ThreadContext context, IRubyObject newValue) Cast the given value to a RubyHash with most basic typeError thrown if the value is not a RubyHash.static RubyHashConvert.castAsHash(ThreadContext context, IRubyObject newValue, String message) Cast the given value to a RubyHash with most basic typeError thrown if the value is not a RubyHash.static RubyHashCreate.newEmptyHash(ThreadContext context) Create a new empty Hash instance.static RubyHashCreate.newHash(ThreadContext context) Create a new Hash instance.static RubyHashCreate.newSmallHash(ThreadContext context) Create a new Hash instance.static RubyHashCreate.newSmallHash(ThreadContext context, IRubyObject key, IRubyObject value) Create a new Hash instance with the given pair, optimized for space. -
Uses of RubyHash in org.jruby.ast.util
Methods in org.jruby.ast.util that return RubyHashModifier and TypeMethodDescriptionstatic RubyHashArgsUtil.extractKeywords(IRubyObject possiblyKeywordArg) Methods in org.jruby.ast.util with parameters of type RubyHashModifier and TypeMethodDescriptionstatic IRubyObjectArgsUtil.extractKeywordArg(ThreadContext context, String keyword, RubyHash opts) Semi-deprecated, kept for compatibility.static IRubyObjectArgsUtil.extractKeywordArg(ThreadContext context, RubyHash options, String validKey) static IRubyObject[]ArgsUtil.extractKeywordArgs(ThreadContext context, RubyHash options, String... validKeys) Check that the given kwargs hash doesn't contain any keys other than those which are given as valid. -
Uses of RubyHash in org.jruby.embed.util
Methods in org.jruby.embed.util that return RubyHashModifier and TypeMethodDescriptionstatic RubyHashCoreConstructors.createHash(Ruby runtime, IRubyObject key, IRubyObject value) static RubyHashCoreConstructors.createHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2) -
Uses of RubyHash in org.jruby.ext.ffi
Fields in org.jruby.ext.ffi declared as RubyHashMethods in org.jruby.ext.ffi that return RubyHashModifier and TypeMethodDescriptionprotected RubyHashEnums.getSymbolMap()protected RubyHashEnums.getTaggedEnums()Methods in org.jruby.ext.ffi with parameters of type RubyHashModifier and TypeMethodDescriptionstatic intUtil.intValue(IRubyObject obj, RubyHash enums) Deprecated. -
Uses of RubyHash in org.jruby.ext.set
Subclasses of RubyHash in org.jruby.ext.set -
Uses of RubyHash in org.jruby.ext.socket
Methods in org.jruby.ext.socket with parameters of type RubyHashModifier and TypeMethodDescriptionRubyTCPSocket.initialize(ThreadContext context, String remoteHost, int remotePort, IRubyObject host, String localHost, int localPort, RubyHash opts) -
Uses of RubyHash in org.jruby.ir.operands
Methods in org.jruby.ir.operands that return RubyHash -
Uses of RubyHash in org.jruby.ir.runtime
Methods in org.jruby.ir.runtime that return RubyHashModifier and TypeMethodDescriptionstatic RubyHashIRRuntimeHelpers.constructHashFromArray(ThreadContext context, IRubyObject[] pairs) static RubyHashIRRuntimeHelpers.dupKwargsHashAndPopulateFromArray(ThreadContext context, RubyHash dupHash, IRubyObject[] pairs) Methods in org.jruby.ir.runtime with parameters of type RubyHashModifier and TypeMethodDescriptionstatic voidIRRuntimeHelpers.checkForExtraUnwantedKeywordArgs(ThreadContext context, StaticScope scope, RubyHash keywordArgs) static RubyHashIRRuntimeHelpers.dupKwargsHashAndPopulateFromArray(ThreadContext context, RubyHash dupHash, IRubyObject[] pairs) -
Uses of RubyHash in org.jruby.ir.targets.indy
Methods in org.jruby.ir.targets.indy that return RubyHashModifier and TypeMethodDescriptionstatic RubyHashHashBootstrap.hash(ThreadContext context, IRubyObject[] pairs) static RubyHashHashBootstrap.kwargsHash(ThreadContext context, RubyHash hash, IRubyObject[] pairs) Methods in org.jruby.ir.targets.indy with parameters of type RubyHashModifier and TypeMethodDescriptionstatic RubyHashHashBootstrap.kwargsHash(ThreadContext context, RubyHash hash, IRubyObject[] pairs) -
Uses of RubyHash in org.jruby.java.proxies
Methods in org.jruby.java.proxies that return RubyHashModifier and TypeMethodDescriptionfinal RubyHashMapJavaProxy.convertToHash()MapJavaProxy.initialize_copy(ThreadContext context, IRubyObject other) rb_hash_initialize_copyMapJavaProxy.invert(ThreadContext context) rb_hash_invertMapJavaProxy.merge(ThreadContext context, IRubyObject[] others, Block block) rb_hash_mergeMapJavaProxy.merge(ThreadContext context, IRubyObject other, Block block) Deprecated.MapJavaProxy.merge_bang(ThreadContext context, IRubyObject[] others, Block block) rb_hash_merge_bangMapJavaProxy.merge_bang(ThreadContext context, IRubyObject other, Block block) Deprecated.MapJavaProxy.rehash(ThreadContext context) rb_hash_rehashMapJavaProxy.replace(ThreadContext context, IRubyObject other) rb_hash_replaceMapJavaProxy.to_hash(ThreadContext context) rb_hash_to_hash -
Uses of RubyHash in org.jruby.javasupport.util
Methods in org.jruby.javasupport.util that return RubyHashModifier and TypeMethodDescriptionstatic RubyHashRuntimeHelpers.constructHash(Ruby runtime, IRubyObject key, IRubyObject value) Deprecated.static RubyHashRuntimeHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2) Deprecated. -
Uses of RubyHash in org.jruby.runtime
Methods in org.jruby.runtime that return RubyHashModifier and TypeMethodDescriptionstatic RubyHashHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1) static RubyHashHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2) static RubyHashHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3) static RubyHashHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3, IRubyObject key4, IRubyObject value4, boolean prepareString4) static RubyHashHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3, IRubyObject key4, IRubyObject value4, boolean prepareString4, IRubyObject key5, IRubyObject value5, boolean prepareString5) static RubyHashHelpers.constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1) static RubyHashHelpers.constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2) static RubyHashHelpers.constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2, IRubyObject key3, IRubyObject value3) static RubyHashHelpers.constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2, IRubyObject key3, IRubyObject value3, IRubyObject key4, IRubyObject value4) static RubyHashHelpers.constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2, IRubyObject key3, IRubyObject value3, IRubyObject key4, IRubyObject value4, IRubyObject key5, IRubyObject value5) Methods in org.jruby.runtime with parameters of type RubyHashModifier and TypeMethodDescriptionstatic booleanHelpers.extractExceptionOnlyArg(ThreadContext context, RubyHash opts) Note: Assumes exception: ... -
Uses of RubyHash in org.jruby.runtime.builtin
Methods in org.jruby.runtime.builtin that return RubyHashModifier and TypeMethodDescriptionIRubyObject.convertToHash()Converts this Ruby object to a Hash. -
Uses of RubyHash in org.jruby.util.io
Methods in org.jruby.util.io with parameters of type RubyHashModifier and TypeMethodDescriptionstatic RubyArrayPopenExecutor.checkExecEnv(ThreadContext context, RubyHash hash, PopenExecutor.ExecArg pathArg) static IRubyObject[]EncodingUtils.openArgsToArgs(Ruby runtime, IRubyObject firstElement, RubyHash options) Deprecated.static IRubyObject[]EncodingUtils.openArgsToArgs(ThreadContext context, IRubyObject firstElement, RubyHash options) Deprecated.