added JVectorAdapter class