@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;
 }