Rename more occurrances of writeToString to printObject.

parent d7e85ee7
......@@ -180,7 +180,7 @@ public abstract class AbstractArray extends LispObject implements java.io.Serial
public abstract void fill(LispObject obj);
public String writeToString(int[] dimv)
public String printObject(int[] dimv)
{
StringBuilder sb = new StringBuilder();
LispThread thread = LispThread.currentThread();
......
......@@ -83,7 +83,7 @@ public abstract class AbstractString extends AbstractVector
public abstract void setCharAt(int index, char c);
public final String writeToString(int beginIndex, int endIndex)
public final String printObject(int beginIndex, int endIndex)
{
if (beginIndex < 0)
......@@ -112,7 +112,7 @@ public abstract class AbstractString extends AbstractVector
@Override
public String printObject()
{
return writeToString(0, length());
return printObject(0, length());
}
public String toString() {
......
......@@ -235,7 +235,7 @@ public final class ComplexArray extends AbstractArray
@Override
public String printObject()
{
return writeToString(dimv);
return printObject(dimv);
}
@Override
......
......@@ -231,7 +231,7 @@ public final class ComplexArray_UnsignedByte32 extends AbstractArray
@Override
public String printObject()
{
return writeToString(dimv);
return printObject(dimv);
}
......
......@@ -233,7 +233,7 @@ public final class ComplexArray_UnsignedByte8 extends AbstractArray
// Not reached.
return null;
}
return writeToString(dimv);
return printObject(dimv);
}
......
......@@ -321,7 +321,7 @@ public final class SimpleArray_T extends AbstractArray
@Override
public String printObject()
{
return writeToString(dimv);
return printObject(dimv);
}
@Override
......
......@@ -298,7 +298,7 @@ public final class SimpleArray_UnsignedByte16 extends AbstractArray
// Not reached.
return null;
}
return writeToString(dimv);
return printObject(dimv);
}
public AbstractArray adjustArray(int[] dimv, LispObject initialElement,
......
......@@ -288,7 +288,7 @@ public final class SimpleArray_UnsignedByte32 extends AbstractArray
// Not reached.
return null;
}
return writeToString(dimv);
return printObject(dimv);
}
public AbstractArray adjustArray(int[] dimv, LispObject initialElement,
......
......@@ -285,7 +285,7 @@ public final class SimpleArray_UnsignedByte8 extends AbstractArray
// Not reached.
return null;
}
return writeToString(dimv);
return printObject(dimv);
}
public AbstractArray adjustArray(int[] dimv, LispObject initialElement,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment