Top Fields Constructors Methods
org.jruby.runtime.marshal

public Class MarshalCache

extends Object
Class Inheritance
Annotations
@Deprecated
since:10.0
forRemoval:true
@SuppressWarnings:removal
Imports
java.io.IOException, java.util.HashMap, .IdentityHashMap, .Map, org.jruby.RubySymbol, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.util.ByteList, org.jruby.util.collections.HashMapInt

Deprecated

for removal since 10.0.

Field Summary

Modifier and TypeField and Description
private final HashMapInt<V>
private final HashMapInt<V>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
public boolean
public void
private int
private int
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

linkCacheback to summary
private final HashMapInt<V> linkCache
symbolCacheback to summary
private final HashMapInt<V> symbolCache

Constructor Detail

MarshalCacheback to summary
public MarshalCache()

Method Detail

isRegisteredback to summary
public boolean isRegistered(IRubyObject value)
isSymbolRegisteredback to summary
public boolean isSymbolRegistered(ByteList sym)
registerback to summary
public void register(IRubyObject value)
registeredIndexback to summary
private int registeredIndex(IRubyObject value)
registeredSymbolIndexback to summary
private int registeredSymbolIndex(ByteList sym)
registerSymbolback to summary
public void registerSymbol(ByteList sym)