类 Indexer.CollectionIndexingValueRef
java.lang.Object
cn.taketoday.expression.spel.ast.Indexer.CollectionIndexingValueRef
- 所有已实现的接口:
ValueRef
- 封闭类:
- Indexer
-
嵌套类概要
从接口继承的嵌套类/接口 cn.taketoday.expression.spel.ast.ValueRef
ValueRef.NullValueRef, ValueRef.TypedValueHolderValueRef -
字段概要
字段修饰符和类型字段说明private final Collectionprivate final TypeDescriptorprivate final booleanprivate final intprivate final intprivate final TypeConverter -
构造器概要
构造器构造器说明CollectionIndexingValueRef(Collection collection, int index, TypeDescriptor collectionEntryDescriptor, TypeConverter typeConverter, boolean growCollection, int maximumSize) -
方法概要
修饰符和类型方法说明private Constructor<?>getDefaultConstructor(Class<?> type) getValue()Returns the value this ValueRef points to, it should not require expression component re-evaluation.private voidbooleanIndicates whether calling setValue(Object) is supported.voidSets the value this ValueRef points to, it should not require expression component re-evaluation.
-
字段详细资料
-
collection
-
index
private final int index -
collectionEntryDescriptor
-
typeConverter
-
growCollection
private final boolean growCollection -
maximumSize
private final int maximumSize
-
-
构造器详细资料
-
CollectionIndexingValueRef
public CollectionIndexingValueRef(Collection collection, int index, TypeDescriptor collectionEntryDescriptor, TypeConverter typeConverter, boolean growCollection, int maximumSize)
-
-
方法详细资料
-
getValue
从接口复制的说明:ValueRefReturns the value this ValueRef points to, it should not require expression component re-evaluation. -
setValue
从接口复制的说明:ValueRefSets the value this ValueRef points to, it should not require expression component re-evaluation. -
growCollectionIfNecessary
private void growCollectionIfNecessary() -
getDefaultConstructor
-
isWritable
public boolean isWritable()从接口复制的说明:ValueRefIndicates whether calling setValue(Object) is supported.- 指定者:
isWritable在接口中ValueRef- 返回:
- true if setValue() is supported for this value reference.
-