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

Public Member Functions

IRubyObject clear (ThreadContext context)
 
IRubyObject concat (ThreadContext context, IRubyObject list)
 
IRubyObject dup (ThreadContext context)
 
IRubyObject each (ThreadContext context, Block block)
 
IRubyObject eq (ThreadContext context, IRubyObject other)
 
IRubyObject hash (ThreadContext context)
 
IRubyObject index (ThreadContext context, IRubyObject[] args)
 
IRubyObject indexSet (ThreadContext context, IRubyObject index, IRubyObject value)
 
IRubyObject initialize (ThreadContext context, IRubyObject[] args)
 
IRubyObject length (ThreadContext context)
 
IRubyObject plus (ThreadContext context, IRubyObject list)
 
IRubyObject pop_one (ThreadContext context)
 
IRubyObject push (ThreadContext context, IRubyObject value)
 
IRubyObject replace (ThreadContext context, IRubyObject list)
 
 RubyRepeatedField (Ruby runtime, RubyClass klazz)
 
 RubyRepeatedField (Ruby runtime, RubyClass klazz, Descriptors.FieldDescriptor.Type fieldType, IRubyObject typeClass)
 
IRubyObject toArray (ThreadContext context)
 

Static Public Member Functions

static void createRubyRepeatedField (Ruby runtime)
 

Protected Member Functions

RubyRepeatedField deepCopy (ThreadContext context)
 
IRubyObject get (int index)
 
int size ()
 

Private Member Functions

void checkArrayElementType (ThreadContext context, RubyArray arr)
 
IRubyObject defaultValue (ThreadContext context)
 
int normalizeArrayIndex (IRubyObject index)
 

Private Attributes

Descriptors.FieldDescriptor.Type fieldType
 
RubyArray storage
 
IRubyObject typeClass
 

Detailed Description

Definition at line 46 of file RubyRepeatedField.java.

Constructor & Destructor Documentation

◆ RubyRepeatedField() [1/2]

com.google.protobuf.jruby.RubyRepeatedField.RubyRepeatedField ( Ruby  runtime,
RubyClass  klazz 
)
inline

Definition at line 60 of file RubyRepeatedField.java.

◆ RubyRepeatedField() [2/2]

com.google.protobuf.jruby.RubyRepeatedField.RubyRepeatedField ( Ruby  runtime,
RubyClass  klazz,
Descriptors.FieldDescriptor.Type  fieldType,
IRubyObject  typeClass 
)
inline

Definition at line 64 of file RubyRepeatedField.java.

Member Function Documentation

◆ checkArrayElementType()

void com.google.protobuf.jruby.RubyRepeatedField.checkArrayElementType ( ThreadContext  context,
RubyArray  arr 
)
inlineprivate

Definition at line 391 of file RubyRepeatedField.java.

◆ clear()

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

Definition at line 206 of file RubyRepeatedField.java.

◆ concat()

IRubyObject com.google.protobuf.jruby.RubyRepeatedField.concat ( ThreadContext  context,
IRubyObject  list 
)
inline

Definition at line 253 of file RubyRepeatedField.java.

◆ createRubyRepeatedField()

static void com.google.protobuf.jruby.RubyRepeatedField.createRubyRepeatedField ( Ruby  runtime)
inlinestatic

Definition at line 47 of file RubyRepeatedField.java.

◆ deepCopy()

RubyRepeatedField com.google.protobuf.jruby.RubyRepeatedField.deepCopy ( ThreadContext  context)
inlineprotected

Definition at line 334 of file RubyRepeatedField.java.

◆ defaultValue()

IRubyObject com.google.protobuf.jruby.RubyRepeatedField.defaultValue ( ThreadContext  context)
inlineprivate

Definition at line 351 of file RubyRepeatedField.java.

◆ dup()

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

Definition at line 321 of file RubyRepeatedField.java.

◆ each()

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

Definition at line 302 of file RubyRepeatedField.java.

◆ eq()

IRubyObject com.google.protobuf.jruby.RubyRepeatedField.eq ( ThreadContext  context,
IRubyObject  other 
)
inline

Definition at line 289 of file RubyRepeatedField.java.

◆ get()

IRubyObject com.google.protobuf.jruby.RubyRepeatedField.get ( int  index)
inlineprotected

Definition at line 330 of file RubyRepeatedField.java.

◆ hash()

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

Definition at line 274 of file RubyRepeatedField.java.

◆ index()

IRubyObject com.google.protobuf.jruby.RubyRepeatedField.index ( ThreadContext  context,
IRubyObject[]  args 
)
inline

Definition at line 129 of file RubyRepeatedField.java.

◆ indexSet()

IRubyObject com.google.protobuf.jruby.RubyRepeatedField.indexSet ( ThreadContext  context,
IRubyObject  index,
IRubyObject  value 
)
inline

Definition at line 111 of file RubyRepeatedField.java.

◆ initialize()

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

Definition at line 72 of file RubyRepeatedField.java.

◆ length()

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

Definition at line 218 of file RubyRepeatedField.java.

◆ normalizeArrayIndex()

int com.google.protobuf.jruby.RubyRepeatedField.normalizeArrayIndex ( IRubyObject  index)
inlineprivate

Definition at line 397 of file RubyRepeatedField.java.

◆ plus()

IRubyObject com.google.protobuf.jruby.RubyRepeatedField.plus ( ThreadContext  context,
IRubyObject  list 
)
inline

Definition at line 231 of file RubyRepeatedField.java.

◆ pop_one()

IRubyObject com.google.protobuf.jruby.RubyRepeatedField.pop_one ( ThreadContext  context)
inline

Definition at line 179 of file RubyRepeatedField.java.

◆ push()

IRubyObject com.google.protobuf.jruby.RubyRepeatedField.push ( ThreadContext  context,
IRubyObject  value 
)
inline

Definition at line 166 of file RubyRepeatedField.java.

◆ replace()

IRubyObject com.google.protobuf.jruby.RubyRepeatedField.replace ( ThreadContext  context,
IRubyObject  list 
)
inline

Definition at line 192 of file RubyRepeatedField.java.

◆ size()

int com.google.protobuf.jruby.RubyRepeatedField.size ( )
inlineprotected

Definition at line 347 of file RubyRepeatedField.java.

◆ toArray()

IRubyObject com.google.protobuf.jruby.RubyRepeatedField.toArray ( ThreadContext  context)
inline

Definition at line 309 of file RubyRepeatedField.java.

Member Data Documentation

◆ fieldType

Descriptors.FieldDescriptor.Type com.google.protobuf.jruby.RubyRepeatedField.fieldType
private

Definition at line 407 of file RubyRepeatedField.java.

◆ storage

RubyArray com.google.protobuf.jruby.RubyRepeatedField.storage
private

Definition at line 406 of file RubyRepeatedField.java.

◆ typeClass

IRubyObject com.google.protobuf.jruby.RubyRepeatedField.typeClass
private

Definition at line 408 of file RubyRepeatedField.java.


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


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