@Override
 public void addInt(int value) {
   holder.value = value;
   writer.write(holder);
 }
示例#2
0
 public static TimeHolder getTimeHolder(int value) {
   TimeHolder holder = new TimeHolder();
   holder.value = value;
   return holder;
 }