@Generated(value="com.github.sviperll.adt4j.GenerateValueClassForVisitorProcessor") @ParametersAreNonnullByDefault public class User<E extends Object & Comparable<E>> extends Object implements Comparable<User<E>>
| Modifier | Constructor and Description |
|---|---|
protected |
User(User<E> implementation) |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(UserVisitor<E,R> visitor) |
int |
compareTo(User<E> that) |
boolean |
equals(Object thatObject) |
static <E extends Object & Comparable<E>> |
factory() |
GroupName |
groupName() |
int |
hashCode() |
UserKey |
key() |
ComparableList<E> |
list() |
String |
name() |
String |
toString() |
static <E extends Object & Comparable<E>> |
valueOf(UserKey key,
ComparableList<E> list,
String name,
GroupName groupName) |
User<E> |
withGroupName(GroupName newValue) |
User<E> |
withName(String newValue) |
@Nonnull public static <E extends Object & Comparable<E>> User<E> valueOf(@Nonnull UserKey key, @Nonnull ComparableList<E> list, @Nonnull String name, @Nonnull GroupName groupName)
public final <R> R accept(UserVisitor<E,R> visitor)
@Nonnull public final ComparableList<E> list()
public final int compareTo(User<E> that)
compareTo in interface Comparable<User<E extends Object & Comparable<E>>>@Nonnull public static <E extends Object & Comparable<E>> UserVisitor<E,User<E>> factory()
Copyright © 2015. All rights reserved.