/** * Returns a builder for a property having as value a list of {@code <T>}. The * format of the individual items is the same as for {@linkplain #enumProperty(String, Map)}. * * @param name Name of the property to build * @param nameToValue Map of labels to values. The null key is ignored. * @param <T> Value type of the property * * @return A new builder */ public static <T> GenericCollectionPropertyBuilder<T, List<T>> enumListProperty(String name, Map<String, T> nameToValue) { return enumProperty(name, nameToValue).toList().delim(MultiValuePropertyDescriptor.DEFAULT_DELIMITER); }
/** * Returns a builder for a property having as value a list of integers. The * format of the individual items is the same as for {@linkplain #intProperty(String) intProperty}. * * @param name Name of the property to build * * @return A new builder */ public static GenericCollectionPropertyBuilder<Integer, List<Integer>> intListProperty(String name) { return intProperty(name).toList().delim(MultiValuePropertyDescriptor.DEFAULT_NUMERIC_DELIMITER); }
/** * Returns a builder for a property having as value a list of long integers. The * format of the individual items is the same as for {@linkplain #longIntProperty(String)} longIntProperty}. * * @param name Name of the property to build * * @return A new builder */ public static GenericCollectionPropertyBuilder<Long, List<Long>> longIntListProperty(String name) { return longIntProperty(name).toList().delim(MultiValuePropertyDescriptor.DEFAULT_NUMERIC_DELIMITER); }
/** * Returns a builder for a property having as value a list of decimal numbers. The * format of the individual items is the same as for {@linkplain #doubleProperty(String) doubleProperty}. * * @param name Name of the property to build * * @return A new builder */ public static GenericCollectionPropertyBuilder<Double, List<Double>> doubleListProperty(String name) { return doubleProperty(name).toList().delim(MultiValuePropertyDescriptor.DEFAULT_NUMERIC_DELIMITER); }
/** * Returns a builder for a property having as value a list of {@code <T>}. The * format of the individual items is the same as for {@linkplain #enumProperty(String, Map)}. * * @param name Name of the property to build * @param nameToValue Map of labels to values. The null key is ignored. * @param <T> Value type of the property * * @return A new builder */ public static <T> GenericCollectionPropertyBuilder<T, List<T>> enumListProperty(String name, Map<String, T> nameToValue) { return enumProperty(name, nameToValue).toList().delim(MultiValuePropertyDescriptor.DEFAULT_DELIMITER); }
/** * Returns a builder for a property having as value a list of integers. The * format of the individual items is the same as for {@linkplain #intProperty(String) intProperty}. * * @param name Name of the property to build * * @return A new builder */ public static GenericCollectionPropertyBuilder<Integer, List<Integer>> intListProperty(String name) { return intProperty(name).toList().delim(MultiValuePropertyDescriptor.DEFAULT_NUMERIC_DELIMITER); }
/** * Returns a builder for a property having as value a list of long integers. The * format of the individual items is the same as for {@linkplain #longIntProperty(String)} longIntProperty}. * * @param name Name of the property to build * * @return A new builder */ public static GenericCollectionPropertyBuilder<Long, List<Long>> longIntListProperty(String name) { return longIntProperty(name).toList().delim(MultiValuePropertyDescriptor.DEFAULT_NUMERIC_DELIMITER); }
/** * Returns a builder for a property having as value a list of decimal numbers. The * format of the individual items is the same as for {@linkplain #doubleProperty(String) doubleProperty}. * * @param name Name of the property to build * * @return A new builder */ public static GenericCollectionPropertyBuilder<Double, List<Double>> doubleListProperty(String name) { return doubleProperty(name).toList().delim(MultiValuePropertyDescriptor.DEFAULT_NUMERIC_DELIMITER); }