Top Description Fields Constructors Methods
org.jboss.jandex

pack-priv Class RecordComponentInfoGenerator

extends AbstractList<RecordComponentInfo>
Class Inheritance
Imports
java.util.AbstractList

A list which wraps RecordComponentInternal objects with a RecordComponentInfo, so that the declaring class' reference can be set. This lazy construction is used to conserve memory usage.

Field Summary

Modifier and TypeField and Description
private final ClassInfo
private final byte[]
private final RecordComponentInternal[]
Inherited from java.util.AbstractList:
modCount

Constructor Summary

AccessConstructor and Description
public
RecordComponentInfoGenerator(ClassInfo clazz, RecordComponentInternal[] recordComponents, byte[] positions)

Method Summary

Modifier and TypeMethod and Description
public RecordComponentInfo
get(int
index of the element to return
i
)

Implements abstract java.util.AbstractList.get.

Implements java.util.List.get.

Returns the element at the specified position in this list.
public int
size()

Implements abstract java.util.AbstractCollection.size.

Implements java.util.List.size, java.util.Collection.size.

Returns the number of elements in this list.
Inherited from java.util.AbstractList:
addaddaddAllclearequalshashCodeindexOfiteratorlastIndexOflistIteratorlistIteratorremoveremoveRangesetsubList

Field Detail

clazzback to summary
private final ClassInfo clazz
positionsback to summary
private final byte[] positions
recordComponentsback to summary
private final RecordComponentInternal[] recordComponents

Constructor Detail

RecordComponentInfoGeneratorback to summary
public RecordComponentInfoGenerator(ClassInfo clazz, RecordComponentInternal[] recordComponents, byte[] positions)

Method Detail

getback to summary
public RecordComponentInfo get(int i)

Implements abstract java.util.AbstractList.get.

Implements java.util.List.get.

Doc from java.util.AbstractList.get.

Returns the element at the specified position in this list.

Parameters
i:int

Doc from java.util.List.get.

index of the element to return

Returns:RecordComponentInfo

Doc from java.util.List.get.

the element at the specified position in this list

Annotations
@Override
sizeback to summary
public int size()

Implements abstract java.util.AbstractCollection.size.

Implements java.util.List.size, java.util.Collection.size.

Doc from java.util.List.size.

Returns the number of elements in this list. If this list contains more than Integer.MAX_VALUE elements, returns Integer.MAX_VALUE.

Returns:int

the number of elements in this list

Annotations
@Override