public Reflecter < T > autoExchange ( ) { if ( ! this . autoExchangeAdd ) { exchange ( Funcs . TO_BOOLEAN , booleanD ) ; exchange ( Funcs . TO_BYTE , byteD ) ; exchange ( Funcs . TO_DOUBLE , doubleD ) ; exchange ( Funcs . TO_FLOAT , floatD ) ; exchange ( Funcs . TO_INTEGER , integerD ) ; exchange ( Funcs . TO_LONG , longD ) ; exchange ( Funcs . TO_SHORT , shortD ) ; exchange ( Funcs . TO_DATE , dateD ) ; exchange ( Funcs . TO_CHARACTER , characterD ) ; exchange ( Funcs . TO_STRING , stringD ) ; exchange ( Funcs . TO_BIGDECIMAL , bigDecimalD ) ; exchange ( Funcs . TO_BIGINTEGER , bigIntegerD ) ; this . autoExchangeAdd = true ; } this . autoExchange = Boolean . TRUE ; return this ; }
Auto exchange when the Field class type is primitive or wrapped primitive or Date