public class CommentableHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static Function<CommentableDto,String> |
COMMENT_FUNCTION |
| Constructor and Description |
|---|
CommentableHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <BeanType extends CommentableDto> |
copyCommentableDto(BeanType source,
BeanType target) |
static <BeanType extends CommentableDto> |
copyCommentableDto(BeanType source,
BeanType target,
org.nuiton.util.beans.Binder<BeanType,BeanType> binder) |
static <BeanType extends CommentableDto> |
filterByComment(Collection<BeanType> $source,
String comment) |
static <BeanType extends CommentableDto> |
newCommentPredicate(String comment) |
static <BeanType extends CommentableDto> |
typeOfCommentableDto() |
static <BeanType extends CommentableDto> |
uniqueIndexByComment(Iterable<BeanType> $source) |
public static final Function<CommentableDto,String> COMMENT_FUNCTION
public static <BeanType extends CommentableDto> Class<BeanType> typeOfCommentableDto()
public static <BeanType extends CommentableDto> void copyCommentableDto(BeanType source, BeanType target)
public static <BeanType extends CommentableDto> void copyCommentableDto(BeanType source, BeanType target, org.nuiton.util.beans.Binder<BeanType,BeanType> binder)
public static <BeanType extends CommentableDto> Predicate<BeanType> newCommentPredicate(String comment)
public static <BeanType extends CommentableDto> List<BeanType> filterByComment(Collection<BeanType> $source, String comment)
public static <BeanType extends CommentableDto> com.google.common.collect.ImmutableMap<String,BeanType> uniqueIndexByComment(Iterable<BeanType> $source)
Copyright © 2008–2017 IRD. All rights reserved.