/** * @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()); }
/** * @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()); }