if (myPutSocketTextWriter == null){ myLogger.error("socket wasn't initialized"); return null; }
    public double[] get() {        initialize();        myLogger.debug("get method");        double[] receivedDoubleVector = null;        try {            myLogger.debug("sending GET request: ");            myGetSocketTextWriter.write(GET_REQUEST + "\n");            myGetSocketTextWriter.flush();            myLogger.debug("getting vector length");            int vectorLength = myGetSocketDataInputStream.readInt();            receivedDoubleVector = new double[vectorLength];            for (int i = 0; i < receivedDoubleVector.length; i++) {                receivedDoubleVector[i] = myGetSocketDataInputStream                        .readDouble();                myLogger.debug("getting double: " + receivedDoubleVector[i]);            }        } catch (IOException e) {            myLogger.error(e);            myLogger.error("Had problems sending doubles to server");        }        return receivedDoubleVector;    }