类 Indexer.CollectionIndexingValueRef

java.lang.Object
cn.taketoday.expression.spel.ast.Indexer.CollectionIndexingValueRef
所有已实现的接口:
ValueRef
封闭类:
Indexer

private class Indexer.CollectionIndexingValueRef extends Object implements ValueRef
  • 字段详细资料

    • collection

      private final Collection collection
    • index

      private final int index
    • collectionEntryDescriptor

      private final TypeDescriptor collectionEntryDescriptor
    • typeConverter

      private final TypeConverter 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

      public TypedValue getValue()
      从接口复制的说明: ValueRef
      Returns the value this ValueRef points to, it should not require expression component re-evaluation.
      指定者:
      getValue 在接口中 ValueRef
      返回:
      the value
    • setValue

      public void setValue(@Nullable Object newValue)
      从接口复制的说明: ValueRef
      Sets the value this ValueRef points to, it should not require expression component re-evaluation.
      指定者:
      setValue 在接口中 ValueRef
      参数:
      newValue - the new value
    • growCollectionIfNecessary

      private void growCollectionIfNecessary()
    • getDefaultConstructor

      @Nullable private Constructor<?> getDefaultConstructor(Class<?> type)
    • isWritable

      public boolean isWritable()
      从接口复制的说明: ValueRef
      Indicates whether calling setValue(Object) is supported.
      指定者:
      isWritable 在接口中 ValueRef
      返回:
      true if setValue() is supported for this value reference.