| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class | |
| private class | |
| private static class | |
| private abstract static class | |
| private abstract static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | RubyHash.
rb_hash_equal |
| public static class | |
| public abstract static class | |
| private static class | |
| public abstract static class | |
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private static final RubyHash. | |
| public static final int | |
| public static final int | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| private int | |
| private static final ThreadLocal | |
| private static final int | |
| private final RubyHash. | |
| private IRubyObject | |
| private static final int | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| private static final AtomicIntegerFieldUpdater | |
| private volatile int | |
| private static final int | |
| private static final RubyHash. | |
| private static final RubyHash. | MarshalDumpVisitor
Deprecated
for removal since 10.0.
|
| private static final RubyHash. | |
| private static final RubyHash. | |
| private static final int | |
| private static final int | |
| private static final RubyHash. | |
| private static final boolean | |
| private static final boolean | |
| private static final int | |
| public static final int[] | |
| public static final RubyHash. | |
| private static final int | |
| private static final RubyHash. | |
| public static final int | |
| pack-priv static final RubyHash. | |
| protected int | |
| private static final int | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| public static final RubyHash. | |
| private RubyHash. | |
| private int | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| private static final RubyHash. | |
| private static final RubyHash. |
| Access | Constructor and Description |
|---|---|
| private | |
| public | |
| public | |
| public | |
| public | |
| public | |
| protected | RubyHash(Ruby runtime, RubyClass metaClass, IRubyObject defaultValue, RubyHash.
|
| pack-priv | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private final void | |
| private final void | |
| private final void | |
| public <T> boolean | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| protected IRubyObject | |
| protected IRubyObject | |
| protected IRubyObject | |
| protected void | appendAssociation(boolean
is the key a symbol keyIsSymbol, ByteList buffer to which to append bytes)Append appropriate characters to indicate association (": " vs " => "). |
| public IRubyObject | aref(IRubyObject key)
Deprecated
for removal. use RubyHash.op_aref instead
Note this is included as a compatibility measure for Mongrel+JRuby |
| public IRubyObject | aset(IRubyObject key, IRubyObject value)
Deprecated
for removal. use RubyHash.op_aset instead
Note this is included as a compatibility measure for AR-JDBC |
| public IRubyObject | |
| private static int | |
| private void | |
| protected final void | |
| private void | |
| public void | clear()
Implements java. Removes all of the mappings from this map (optional operation). |
| public IRubyObject | |
| public IRubyObject | |
| public RubyBoolean | compare(final ThreadContext context, RubyHash.
|
| public IRubyObject | |
| public IRubyObject | |
| private final RaiseException | |
| public boolean | containsKey(Object
key whose presence in this map is to be tested key)Implements java. Returns |
| public boolean | containsValue(Object
value whose presence in this map is to be tested value)Implements java. Returns |
| public RubyHash | convertToHash()
Overrides org. Implements org. Tries to convert this object to a Ruby Hash using the "to_hash" method. |
| private static void | |
| public static IRubyObject | |
| public static RubyClass | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public RubyHash | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public Set | |
| public Set | |
| public Collection | |
| public IRubyObject | dup(ThreadContext
the thread context context)Overrides default org. RubyMethod dup. |
| public RubyHash | dupFast(final ThreadContext context)
A lightweight dup for internal use that does not dispatch to initialize_copy nor rehash the keys. |
| public IRubyObject | |
| public IRubyObject | |
| public RubyHash | |
| public IRubyObject | |
| public RubyHash | |
| public RubyHash | |
| public IRubyObject | |
| public RubyHash | |
| public RubyHash | |
| public RubyBoolean | |
| public RubyBoolean | |
| public Set | entrySet()
Implements java. Returns a |
| public boolean | equals(Object
object to be compared for equality with this map other)Overrides org. Implements java. Compares the specified object with this map for equality. |
| public IRubyObject | |
| public final IRubyObject | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final boolean | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public RubyArray | |
| public IRubyObject | |
| public IRubyObject | |
| public Object | get(Object
the key whose associated value is to be returned key)Implements java. Returns the value to which the specified key is mapped,
or |
| pack-priv final RubyHash. | |
| public IRubyObject | |
| public Class | getJavaClass()
Overrides org. Implements org. Will return the Java interface that most closely can represent this object, when working through Java integration translations. |
| public ClassIndex | getNativeClassIndex()
Overrides org. Implements org. This is overridden in the other concrete Java builtins to provide a fast way to determine what type they are. |
| public RubyBoolean | |
| public RubyBoolean | |
| public RubyBoolean | |
| public boolean | |
| public RubyFixnum | hash(ThreadContext
the current thread context context)Overrides org. Will return the hash code of this object. |
| private boolean | |
| private RubyHash | |
| private static RubyString | |
| protected final int | |
| public boolean | Returns: true if the hash contains the provided keythe native (Ruby) key key)A Java API to test the presence of a (Ruby) key in the Hash |
| private boolean | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public RubyHash | initialize_copy(ThreadContext
the thread context context, IRubyObject the original other)Overrides org. Initializes this object as a copy of the original, that is the parameter to this object. |
| public IRubyObject | inspect(ThreadContext context)
Overrides org. Overrides default org. rb_hash_inspect |
| protected RubyString | |
| private final RubyHash. | |
| protected RubyHash. | |
| private final RubyHash. | |
| protected RubyHash. | |
| protected IRubyObject | |
| protected RubyHash. | |
| private IRubyObject | |
| protected final IRubyObject | |
| private boolean | |
| public IRubyObject | |
| private void | |
| pack-priv final boolean | |
| protected IRubyObject | |
| private void | |
| protected void | internalPutSmall(final IRubyObject key, final IRubyObject value, final boolean checkForExisting)
Deprecated
|
| public RubyHash | |
| public boolean | Returns: true if this object is compared by identity, false otherwiseIs this object compared by identity or not? |
| public boolean | |
| public boolean | |
| private void | |
| private synchronized void | |
| private void | |
| private synchronized void | |
| private void | |
| private <T> void | |
| private static int | |
| private final void | |
| private static int | |
| public IRubyObject | |
| public boolean | |
| public IRubyObject | |
| public RubyArray | |
| public final RubyArray | |
| public Set | |
| public static void | |
| public static void | marshalTo(ThreadContext context, RubyOutputStream out, final RubyHash hash, final MarshalDumper output)
|
| public RubyHash | |
| public RubyHash | |
| public RubyHash | |
| public RubyHash | |
| public void | |
| private static int | |
| private final void | |
| private static int | |
| public static final RubyHash | |
| public static RubyHash | |
| public static final RubyHash | |
| public static RubyHash | |
| public static final RubyHash | |
| public IRubyObject | |
| public IRubyObject | Returns: the value setthe current thread context context, IRubyObject the key key, IRubyObject the value value)Set a key/value pair into this hash. |
| public IRubyObject | |
| protected void | |
| protected void | |
| public IRubyObject | |
| public IRubyObject | op_equal(final ThreadContext context, IRubyObject other)
Overrides org. Implements org. rb_hash_equal |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private boolean | |
| public Object | put(Object
key with which the specified value is to be associated key, Object value to be associated with the specified key value)Implements java. Associates the specified value with the specified key in this map (optional operation). |
| public void | putAll(Map<K, V>
mappings to be stored in this map map)Implements java. Copies all of the mappings from the specified map to this map (optional operation). |
| public IRubyObject | |
| public RubyHash | |
| public RubyHash | |
| public RubyFixnum | |
| public RubyFixnum | |
| public final RubyArray | |
| public final RubyArray | |
| public IRubyObject | |
| public IRubyObject | |
| public RubyHash | |
| public RubyHash | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public RubyHash | |
| public Object | remove(Object
key whose mapping is to be removed from the map key)Implements java. Removes the mapping for a key from this map if it is present (optional operation). |
| public RubyHash | replace(final ThreadContext
key with which the specified value is associated context, IRubyObject value to be associated with the specified key other)Overrides default java. rb_hash_replace |
| protected void | |
| protected void | |
| private final synchronized void | |
| private void | |
| public static IRubyObject | |
| public static IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public void | setComparedByIdentity(boolean
should this object be compared by identity? comparedByIdentity)Sets whether this object is compared by identity or not. |
| public void | |
| public IRubyObject | |
| private static JavaSites. | sites(ThreadContext context)
Hides org. Retrieve the call sites for this class. |
| private static IRubyObject | size(ThreadContext context, RubyHash recv, IRubyObject[] args)
A size method suitable for lambda method reference implementation of |
| public int | |
| public RubyHash | |
| public IRubyObject | |
| public RubyArray | |
| public RubyArray | |
| public RubyHash | |
| public RubyHash | |
| protected RubyHash | |
| public RubyHash | |
| public RubyHash | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public static IRubyObject | |
| public static RubyHash | |
| public static RubyHash | |
| public RubyArray | |
| public Collection | values()
Implements java. Returns a |
| public RubyArray | |
| public <T> void | |
| public <T> void | |
| public final void | |
| private <T> void |