public class PersonFluent<A extends PersonFluent<A>> extends BaseFluent<A>
_visitables| Constructor and Description |
|---|
PersonFluent() |
PersonFluent(Person instance) |
| Modifier and Type | Method and Description |
|---|---|
A |
addAllToNumbers(Collection<Integer> items) |
A |
addToNumbers(Integer... items) |
A |
addToNumbers(int index,
Integer item) |
protected void |
copyInstance(Person instance) |
boolean |
equals(Object o) |
String |
getFirstName() |
String |
getLastName() |
int[] |
getNumbers() |
boolean |
hasFirstName() |
int |
hashCode() |
boolean |
hasLastName() |
boolean |
hasNumbers() |
A |
removeAllFromNumbers(Collection<Integer> items) |
A |
removeFromNumbers(Integer... items) |
A |
setToNumbers(int index,
Integer item) |
String |
toString() |
A |
withFirstName(String firstName) |
A |
withLastName(String lastName) |
A |
withNumbers(int... numbers) |
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOfpublic PersonFluent()
public PersonFluent(Person instance)
protected void copyInstance(Person instance)
public String getFirstName()
public boolean hasFirstName()
public String getLastName()
public boolean hasLastName()
public A withNumbers(int... numbers)
public int[] getNumbers()
public A addAllToNumbers(Collection<Integer> items)
public A removeAllFromNumbers(Collection<Integer> items)
public boolean hasNumbers()
public boolean equals(Object o)
equals in class BaseFluent<A extends PersonFluent<A>>public int hashCode()
hashCode in class BaseFluent<A extends PersonFluent<A>>Copyright © 2023. All rights reserved.