Site Tools

Sidebar

Smart Card Solution

User Manual

JavaCard API Samples

Java Card Specification

Knowledge Sharing

javacard:jcvm:6.8.2.4_implemented_interface_info

6.8.2.4 implemented_interface_info

The implemented_interface_info structure is defined as follows:

The items in the implemented_interface_info structure are defined as follows:

interface

The interface item has the form of a class_ref structure. The class_ref structure is defined as part of the CONSTANT_Classref_info structure ( Section 6.7.1, CONSTANT_Classref). The interface_info structure referenced by the interface item represents an interface implemented by this class.

count

The count item indicates the number of entries in the index[] array.

index[]

The index[] item is an array that maps declarations of interface methods to implementations of those methods in this class. It is a representation of the set of methods declared by the interface and its superinterfaces.

Entries in the index array must be ordered such that the interface method token value ( Section 4.3.7.7, Interface Methods) of the interface method is equal to the index into the array. The interface method token value is assigned to the method within the scope of the interface definition, not within the scope of this class.

The values in the index[] array represent the virtual method tokens ( Section 4.3.7.6, Virtual Methods) of the implementations of the interface methods. The virtual method token values are defined within the scope of the hierarchy of this class.

javacard/jcvm/6.8.2.4_implemented_interface_info.txt · Last modified: 2017/05/13 04:11 (external edit)