public void setCachedData ( Array cacheData , boolean isMetadata ) { if ( ( cacheData != null ) && ( cacheData . getElementType ( ) != getDataType ( ) . getPrimitiveClassType ( ) ) ) throw new IllegalArgumentException ( "setCachedData type=" + cacheData . getElementType ( ) + " incompatible with variable type=" + getDataType ( ) ) ; this . cache . data = cacheData ; this . isMetadata = isMetadata ; this . cache . cachingSet = true ; this . cache . isCaching = true ; }
Set the data cache