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 delete (ThreadContext context, IRubyObject key)
 
IRubyObject dup (ThreadContext context)
 
IRubyObject each (ThreadContext context, Block block)
 
IRubyObject eq (ThreadContext context, IRubyObject _other)
 
IRubyObject hash (ThreadContext context)
 
IRubyObject hasKey (ThreadContext context, IRubyObject key)
 
IRubyObject index (ThreadContext context, IRubyObject key)
 
IRubyObject indexSet (ThreadContext context, IRubyObject key, IRubyObject value)
 
IRubyObject initialize (ThreadContext context, IRubyObject[] args)
 
IRubyObject inspect ()
 
IRubyObject keys (ThreadContext context)
 
IRubyObject length (ThreadContext context)
 
 RubyMap (Ruby ruby, RubyClass rubyClass)
 
RubyHash toHash (ThreadContext context)
 
IRubyObject values (ThreadContext context)
 

Static Public Member Functions

static void createRubyMap (Ruby runtime)
 

Protected Member Functions

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

Private Member Functions

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

Private Attributes

Descriptors.FieldDescriptor.Type keyType
 
Map< IRubyObject, IRubyObject > table
 
Descriptors.FieldDescriptor.Type valueType
 
IRubyObject valueTypeClass
 

Detailed Description

Definition at line 56 of file RubyMap.java.

Constructor & Destructor Documentation

◆ RubyMap()

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

Definition at line 69 of file RubyMap.java.

Member Function Documentation

◆ build()

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

Definition at line 364 of file RubyMap.java.

◆ clear()

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

Definition at line 269 of file RubyMap.java.

◆ createRubyMap()

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

Definition at line 57 of file RubyMap.java.

◆ deepCopy()

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

Definition at line 347 of file RubyMap.java.

◆ delete()

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

Definition at line 298 of file RubyMap.java.

◆ dup()

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

Definition at line 333 of file RubyMap.java.

◆ each()

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

Definition at line 283 of file RubyMap.java.

◆ eq()

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

Definition at line 191 of file RubyMap.java.

◆ hash()

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

Definition at line 227 of file RubyMap.java.

◆ hasKey()

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

Definition at line 310 of file RubyMap.java.

◆ index()

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

Definition at line 171 of file RubyMap.java.

◆ indexSet()

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

Definition at line 150 of file RubyMap.java.

◆ initialize()

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

Definition at line 105 of file RubyMap.java.

◆ inspect()

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

Definition at line 216 of file RubyMap.java.

◆ keys()

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

Definition at line 247 of file RubyMap.java.

◆ length()

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

Definition at line 321 of file RubyMap.java.

◆ mergeIntoSelf()

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

Definition at line 378 of file RubyMap.java.

◆ needTypeclass()

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

Definition at line 420 of file RubyMap.java.

◆ newThisType()

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

Definition at line 403 of file RubyMap.java.

◆ toHash()

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

Definition at line 342 of file RubyMap.java.

◆ typeCompatible()

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

Definition at line 397 of file RubyMap.java.

◆ values()

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

Definition at line 258 of file RubyMap.java.

Member Data Documentation

◆ keyType

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

Definition at line 430 of file RubyMap.java.

◆ table

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

Definition at line 433 of file RubyMap.java.

◆ valueType

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

Definition at line 431 of file RubyMap.java.

◆ valueTypeClass

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

Definition at line 432 of file RubyMap.java.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:08