public static Vec extractTrueVec ( Vec b ) { while ( b instanceof VecPaired ) b = ( ( VecPaired ) b ) . getVector ( ) ; return b ; }
This method is used assuming multiple VecPaired are used together . The implementation of the vector may have logic to handle the case that the other vector is of the same type . This will go through every layer of VecPaired to return the final base vector .