Exemplo n.º 1
0
 /**
  * @param values Values
  * @return List of timestamps
  */
 public static ListValue<Timestamp, TypeList<Timestamp, Type<Timestamp>>> froms(
     final Timestamp[] values) {
   return new ListValue<Timestamp, TypeList<Timestamp, Type<Timestamp>>>(
       values, TypeList.getTimestamp());
 }
Exemplo n.º 2
0
 /**
  * @param values Values
  * @return List of timestamps
  */
 public static ListValue<Timestamp, TypeList<Timestamp, Type<Timestamp>>> froms(
     final Collection<Timestamp> values) {
   return new ListValue<Timestamp, TypeList<Timestamp, Type<Timestamp>>>(
       values.toArray(new Timestamp[values.size()]), TypeList.getTimestamp());
 }