Uses of Class
org.jruby.RubyHash
Packages that use RubyHash
Package
Description
-
Uses of RubyHash in org.jruby
Modifier and TypeClassDescriptionstatic class
Obligate string-keyed and string-valued hash, used for ENV.static class
A Pseudo-hash whose keys and values are required to be Strings.Modifier and TypeMethodDescriptionstatic RubyHash
BasicObjectStub.convertToHash
(IRubyObject self) RubyBasicObject.convertToHash()
Tries to convert this object to a Ruby Hash using the "to_hash" method.RubyHash.convertToHash()
static RubyHash
RubyGlobal.createGlobalsAndENV
(ThreadContext context, GlobalVariables globals, RubyInstanceConfig instanceConfig) static RubyHash
RubyData.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 RubyHash
rb_hash_newstatic final RubyHash
RubyHash.newHash
(Ruby runtime, Map valueMap, IRubyObject defaultValue) rb_hash_newstatic RubyHash
RubyHash.newHash
(Ruby runtime, IRubyObject key, IRubyObject value) static RubyHash
RubyHash.newKwargs
(Ruby runtime, String key, IRubyObject value) static final RubyHash
RubyHash.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 RubyHash
RubyData.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 RubyHash
RubyNil.to_h
(ThreadContext context, IRubyObject recv) RubyStruct.to_h
(ThreadContext context) Deprecated.RubyStruct.to_h
(ThreadContext context, Block block) protected RubyHash
RubyHash.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 RubyHash
RubyHash.unmarshalFrom
(UnmarshalStream input, boolean defaultValue) Deprecated, for removal: This API element is subject to removal in a future version.static RubyHash
RubyHash.unmarshalFrom
(ThreadContext context, RubyInputStream in, MarshalLoader input, boolean defaultValue) Modifier and TypeMethodDescriptionvoid
RubyHash.addAll
(ThreadContext context, RubyHash otherHash) static RubyArray
RubyIO.checkExecEnv
(ThreadContext context, RubyHash hash) Deprecated.RubyNameError.initializeOptions
(IRubyObject[] args, RubyHash options, Block block) RubyNoMethodError.initializeOptions
(IRubyObject[] args, RubyHash options, Block block) static void
RubyHash.marshalTo
(RubyHash hash, MarshalStream output) Deprecated, for removal: This API element is subject to removal in a future version.static void
RubyHash.marshalTo
(ThreadContext context, RubyOutputStream out, RubyHash hash, MarshalDumper output) protected void
RubyHash.replaceExternally
(ThreadContext context, RubyHash otherHash) protected void
RubyGlobal.CaseInsensitiveStringOnlyRubyHash.replaceWith
(ThreadContext context, RubyHash otherHash) protected void
RubyHash.replaceWith
(ThreadContext context, RubyHash otherHash) void
Deprecated.protected IOOptions
RubyIO.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 optionsvoid
RubyHash.Visitor.visit
(ThreadContext context, RubyHash self, IRubyObject key, IRubyObject value, int index, Object state) abstract void
RubyHash.VisitorWithState.visit
(ThreadContext context, RubyHash self, IRubyObject key, IRubyObject value, int index, T state) void
RubyHash.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 RubyHash
Convert.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 RubyHash
Convert.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 RubyHash
Create.newEmptyHash
(ThreadContext context) Create a new empty Hash instance.static RubyHash
Create.newHash
(ThreadContext context) Create a new Hash instance.static RubyHash
Create.newSmallHash
(ThreadContext context) Create a new Hash instance.static RubyHash
Create.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 RubyHash
ArgsUtil.extractKeywords
(IRubyObject possiblyKeywordArg) Methods in org.jruby.ast.util with parameters of type RubyHashModifier and TypeMethodDescriptionstatic IRubyObject
ArgsUtil.extractKeywordArg
(ThreadContext context, String keyword, RubyHash opts) Semi-deprecated, kept for compatibility.static IRubyObject
ArgsUtil.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 RubyHash
CoreConstructors.createHash
(Ruby runtime, IRubyObject key, IRubyObject value) static RubyHash
CoreConstructors.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 RubyHash
Enums.getSymbolMap()
protected RubyHash
Enums.getTaggedEnums()
Methods in org.jruby.ext.ffi with parameters of type RubyHashModifier and TypeMethodDescriptionstatic int
Util.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 RubyHash
IRRuntimeHelpers.constructHashFromArray
(ThreadContext context, IRubyObject[] pairs) static RubyHash
IRRuntimeHelpers.dupKwargsHashAndPopulateFromArray
(ThreadContext context, RubyHash dupHash, IRubyObject[] pairs) Methods in org.jruby.ir.runtime with parameters of type RubyHashModifier and TypeMethodDescriptionstatic void
IRRuntimeHelpers.checkForExtraUnwantedKeywordArgs
(ThreadContext context, StaticScope scope, RubyHash keywordArgs) static RubyHash
IRRuntimeHelpers.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 RubyHash
HashBootstrap.hash
(ThreadContext context, IRubyObject[] pairs) static RubyHash
HashBootstrap.kwargsHash
(ThreadContext context, RubyHash hash, IRubyObject[] pairs) Methods in org.jruby.ir.targets.indy with parameters of type RubyHashModifier and TypeMethodDescriptionstatic RubyHash
HashBootstrap.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 RubyHash
MapJavaProxy.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 RubyHash
RuntimeHelpers.constructHash
(Ruby runtime, IRubyObject key, IRubyObject value) Deprecated.static RubyHash
RuntimeHelpers.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 RubyHash
Helpers.constructHash
(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1) static RubyHash
Helpers.constructHash
(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2) static RubyHash
Helpers.constructHash
(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3) static RubyHash
Helpers.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 RubyHash
Helpers.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 RubyHash
Helpers.constructSmallHash
(Ruby runtime, IRubyObject key1, IRubyObject value1) static RubyHash
Helpers.constructSmallHash
(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2) static RubyHash
Helpers.constructSmallHash
(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2, IRubyObject key3, IRubyObject value3) static RubyHash
Helpers.constructSmallHash
(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2, IRubyObject key3, IRubyObject value3, IRubyObject key4, IRubyObject value4) static RubyHash
Helpers.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 boolean
Helpers.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 RubyArray
PopenExecutor.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.