Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
com.google.protobuf.jruby.RubyMap Class Reference
Inheritance diagram for com.google.protobuf.jruby.RubyMap:
Inheritance graph
[legend]

Public Member Functions

IRubyObject clear (ThreadContext context)
 
IRubyObject clear (ThreadContext context)
 
IRubyObject delete (ThreadContext context, IRubyObject key)
 
IRubyObject delete (ThreadContext context, IRubyObject key)
 
IRubyObject dup (ThreadContext context)
 
IRubyObject dup (ThreadContext context)
 
IRubyObject each (ThreadContext context, Block block)
 
IRubyObject each (ThreadContext context, Block block)
 
IRubyObject eq (ThreadContext context, IRubyObject _other)
 
IRubyObject eq (ThreadContext context, IRubyObject _other)
 
IRubyObject hash (ThreadContext context)
 
IRubyObject hash (ThreadContext context)
 
IRubyObject hasKey (ThreadContext context, IRubyObject key)
 
IRubyObject hasKey (ThreadContext context, IRubyObject key)
 
IRubyObject index (ThreadContext context, IRubyObject key)
 
IRubyObject index (ThreadContext context, IRubyObject key)
 
IRubyObject indexSet (ThreadContext context, IRubyObject key, IRubyObject value)
 
IRubyObject indexSet (ThreadContext context, IRubyObject key, IRubyObject value)
 
IRubyObject initialize (ThreadContext context, IRubyObject[] args)
 
IRubyObject initialize (ThreadContext context, IRubyObject[] args)
 
IRubyObject inspect ()
 
IRubyObject inspect ()
 
IRubyObject keys (ThreadContext context)
 
IRubyObject keys (ThreadContext context)
 
IRubyObject length (ThreadContext context)
 
IRubyObject length (ThreadContext context)
 
 RubyMap (Ruby ruby, RubyClass rubyClass)
 
 RubyMap (Ruby ruby, RubyClass rubyClass)
 
RubyHash toHash (ThreadContext context)
 
RubyHash toHash (ThreadContext context)
 
IRubyObject values (ThreadContext context)
 
IRubyObject values (ThreadContext context)
 

Static Public Member Functions

static void createRubyMap (Ruby runtime)
 
static void createRubyMap (Ruby runtime)
 

Protected Member Functions

List< DynamicMessagebuild (ThreadContext context, RubyDescriptor descriptor)
 
List< DynamicMessagebuild (ThreadContext context, RubyDescriptor descriptor, int depth)
 
IRubyObject deepCopy (ThreadContext context)
 
IRubyObject deepCopy (ThreadContext context)
 
RubyMap mergeIntoSelf (final ThreadContext context, IRubyObject hashmap)
 
RubyMap mergeIntoSelf (final ThreadContext context, IRubyObject hashmap)
 
boolean typeCompatible (RubyMap other)
 
boolean typeCompatible (RubyMap other)
 

Private Member Functions

boolean needTypeclass (Descriptors.FieldDescriptor.Type type)
 
boolean needTypeclass (FieldDescriptor.Type type)
 
RubyMap newThisType (ThreadContext context)
 
RubyMap newThisType (ThreadContext context)
 
RubyHash singleLevelHash (ThreadContext context)
 

Private Attributes

Descriptors.FieldDescriptor.Type keyType
 
FieldDescriptor.Type keyType
 
boolean keyTypeIsString = false
 
Map< IRubyObject, IRubyObject > table
 
Descriptors.FieldDescriptor.Type valueType
 
FieldDescriptor.Type valueType
 
IRubyObject valueTypeClass
 

Detailed Description

Definition at line 56 of file bloaty/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMap.java.

Constructor & Destructor Documentation

◆ RubyMap() [1/2]

com.google.protobuf.jruby.RubyMap.RubyMap ( Ruby  ruby,
RubyClass  rubyClass 
)
inline

◆ RubyMap() [2/2]

com.google.protobuf.jruby.RubyMap.RubyMap ( Ruby  ruby,
RubyClass  rubyClass 
)
inline

Member Function Documentation

◆ build() [1/2]

List<DynamicMessage> com.google.protobuf.jruby.RubyMap.build ( ThreadContext  context,
RubyDescriptor  descriptor 
)
inlineprotected

◆ build() [2/2]

List<DynamicMessage> com.google.protobuf.jruby.RubyMap.build ( ThreadContext  context,
RubyDescriptor  descriptor,
int  depth 
)
inlineprotected

◆ clear() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMap.clear ( ThreadContext  context)
inline

◆ clear() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMap.clear ( ThreadContext  context)
inline

◆ createRubyMap() [1/2]

static void com.google.protobuf.jruby.RubyMap.createRubyMap ( Ruby  runtime)
inlinestatic

◆ createRubyMap() [2/2]

static void com.google.protobuf.jruby.RubyMap.createRubyMap ( Ruby  runtime)
inlinestatic

◆ deepCopy() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMap.deepCopy ( ThreadContext  context)
inlineprotected

◆ deepCopy() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMap.deepCopy ( ThreadContext  context)
inlineprotected

◆ delete() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMap.delete ( ThreadContext  context,
IRubyObject  key 
)
inline

◆ delete() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMap.delete ( ThreadContext  context,
IRubyObject  key 
)
inline

◆ dup() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMap.dup ( ThreadContext  context)
inline

◆ dup() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMap.dup ( ThreadContext  context)
inline

◆ each() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMap.each ( ThreadContext  context,
Block  block 
)
inline

◆ each() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMap.each ( ThreadContext  context,
Block  block 
)
inline

◆ eq() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMap.eq ( ThreadContext  context,
IRubyObject  _other 
)
inline

◆ eq() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMap.eq ( ThreadContext  context,
IRubyObject  _other 
)
inline

◆ hash() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMap.hash ( ThreadContext  context)
inline

◆ hash() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMap.hash ( ThreadContext  context)
inline

◆ hasKey() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMap.hasKey ( ThreadContext  context,
IRubyObject  key 
)
inline

◆ hasKey() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMap.hasKey ( ThreadContext  context,
IRubyObject  key 
)
inline

◆ index() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMap.index ( ThreadContext  context,
IRubyObject  key 
)
inline

◆ index() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMap.index ( ThreadContext  context,
IRubyObject  key 
)
inline

◆ indexSet() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMap.indexSet ( ThreadContext  context,
IRubyObject  key,
IRubyObject  value 
)
inline

◆ indexSet() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMap.indexSet ( ThreadContext  context,
IRubyObject  key,
IRubyObject  value 
)
inline

◆ initialize() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMap.initialize ( ThreadContext  context,
IRubyObject[]  args 
)
inline

◆ initialize() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMap.initialize ( ThreadContext  context,
IRubyObject[]  args 
)
inline

◆ inspect() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMap.inspect ( )
inline

◆ inspect() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMap.inspect ( )
inline

◆ keys() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMap.keys ( ThreadContext  context)
inline

◆ keys() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMap.keys ( ThreadContext  context)
inline

◆ length() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMap.length ( ThreadContext  context)
inline

◆ length() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMap.length ( ThreadContext  context)
inline

◆ mergeIntoSelf() [1/2]

RubyMap com.google.protobuf.jruby.RubyMap.mergeIntoSelf ( final ThreadContext  context,
IRubyObject  hashmap 
)
inlineprotected

◆ mergeIntoSelf() [2/2]

RubyMap com.google.protobuf.jruby.RubyMap.mergeIntoSelf ( final ThreadContext  context,
IRubyObject  hashmap 
)
inlineprotected

◆ needTypeclass() [1/2]

boolean com.google.protobuf.jruby.RubyMap.needTypeclass ( Descriptors.FieldDescriptor.Type  type)
inlineprivate

◆ needTypeclass() [2/2]

boolean com.google.protobuf.jruby.RubyMap.needTypeclass ( FieldDescriptor.Type  type)
inlineprivate

◆ newThisType() [1/2]

RubyMap com.google.protobuf.jruby.RubyMap.newThisType ( ThreadContext  context)
inlineprivate

◆ newThisType() [2/2]

RubyMap com.google.protobuf.jruby.RubyMap.newThisType ( ThreadContext  context)
inlineprivate

◆ singleLevelHash()

RubyHash com.google.protobuf.jruby.RubyMap.singleLevelHash ( ThreadContext  context)
inlineprivate

◆ toHash() [1/2]

RubyHash com.google.protobuf.jruby.RubyMap.toHash ( ThreadContext  context)
inline

◆ toHash() [2/2]

RubyHash com.google.protobuf.jruby.RubyMap.toHash ( ThreadContext  context)
inline

◆ typeCompatible() [1/2]

boolean com.google.protobuf.jruby.RubyMap.typeCompatible ( RubyMap  other)
inlineprotected

◆ typeCompatible() [2/2]

boolean com.google.protobuf.jruby.RubyMap.typeCompatible ( RubyMap  other)
inlineprotected

◆ values() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMap.values ( ThreadContext  context)
inline

◆ values() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMap.values ( ThreadContext  context)
inline

Member Data Documentation

◆ keyType [1/2]

Descriptors.FieldDescriptor.Type com.google.protobuf.jruby.RubyMap.keyType
private

◆ keyType [2/2]

FieldDescriptor.Type com.google.protobuf.jruby.RubyMap.keyType
private

◆ keyTypeIsString

boolean com.google.protobuf.jruby.RubyMap.keyTypeIsString = false
private

◆ table

Map< IRubyObject, IRubyObject > com.google.protobuf.jruby.RubyMap.table
private

◆ valueType [1/2]

Descriptors.FieldDescriptor.Type com.google.protobuf.jruby.RubyMap.valueType
private

◆ valueType [2/2]

FieldDescriptor.Type com.google.protobuf.jruby.RubyMap.valueType
private

◆ valueTypeClass

IRubyObject com.google.protobuf.jruby.RubyMap.valueTypeClass
private

The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:08