In addition to appending , you can “ prepend ” content so that it is inserted before the existing content rather than after it .
除了附加以外,您还可以“前置”内容,即在已有内容的前面而不是末尾插入新内容。
A simple approach to this is to just generate a random number when a thread is spawned and prepend that number to all output lines .
为此,一种简单的方法就是仅在派生某个线程时才生成一个随机数,并将该随机数追加到所有输出行上。
The only tricky aspect is that it can either append or prepend the entry , or add the entry either at the top or the bottom .
唯一复杂的方面是记录可以附加在后面或插到前面,或者添加到顶部或底部。
For example , the unified messaging server will prepend the Number1 to a call that is placed from the United States and is destined for the United states .
例如,统一消息服务器会将数字1置于发出方和接收方均位于美国的呼叫的开头。
To follow the JavaBeans convention , I convert the first letter of the property name to uppercase , then prepend get to construct the read method name and set to construct the write method name .