public class UnmarshalCache
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<IRubyObject> |
links |
private Ruby |
runtime |
private java.util.List<RubySymbol> |
symbols |
| Constructor and Description |
|---|
UnmarshalCache(Ruby runtime) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLinkType(int c) |
private IRubyObject |
linkedByIndex(int index) |
IRubyObject |
readLink(UnmarshalStream input,
int type) |
void |
register(IRubyObject value) |
private java.util.List |
selectCache(IRubyObject value) |
private RubySymbol |
symbolByIndex(int index) |
private final Ruby runtime
private final java.util.List<IRubyObject> links
private final java.util.List<RubySymbol> symbols
public UnmarshalCache(Ruby runtime)
public void register(IRubyObject value)
private java.util.List selectCache(IRubyObject value)
public boolean isLinkType(int c)
public IRubyObject readLink(UnmarshalStream input, int type) throws java.io.IOException
java.io.IOExceptionprivate IRubyObject linkedByIndex(int index)
private RubySymbol symbolByIndex(int index)