public class PollenServiceFunctions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PollenServiceFunctions.DateChoiceCreator |
static class |
PollenServiceFunctions.ImageChoiceCreator |
static class |
PollenServiceFunctions.PersonToListCreator |
static class |
PollenServiceFunctions.TextChoiceCreator |
static class |
PollenServiceFunctions.VotingListCreator |
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<Choice,String> |
CHOICE_TO_NAME |
static com.google.common.base.Function<ChoiceType,String> |
CHOICE_TYPE_TO_PROPERTY_NAME |
Modifier | Constructor and Description |
---|---|
protected |
PollenServiceFunctions() |
Modifier and Type | Method and Description |
---|---|
static void |
fillChoiceList(List<Choice> choiceList,
int max,
com.google.common.base.Function<Choice,Choice> function) |
static void |
fillVotingList(VotingList votingList,
com.google.common.base.Function<PersonToList,PersonToList> persontoListCreator,
int max) |
static com.google.common.base.Function<Choice,Choice> |
newChoiceCreator(ChoiceType choiceType) |
static PollenServiceFunctions.DateChoiceCreator |
newDateChoiceCreator() |
static PollenServiceFunctions.ImageChoiceCreator |
newImageChoiceCreator() |
static com.google.common.base.Function<PersonToList,PersonToList> |
newPersonToListCreator() |
static PollenServiceFunctions.TextChoiceCreator |
newTextChoiceCreator() |
static com.google.common.base.Function<VotingList,VotingList> |
newVotingListCreator(com.google.common.base.Function<PersonToList,PersonToList> persontoListCreator) |
public static final com.google.common.base.Function<ChoiceType,String> CHOICE_TYPE_TO_PROPERTY_NAME
public static void fillChoiceList(List<Choice> choiceList, int max, com.google.common.base.Function<Choice,Choice> function)
public static void fillVotingList(VotingList votingList, com.google.common.base.Function<PersonToList,PersonToList> persontoListCreator, int max)
public static PollenServiceFunctions.TextChoiceCreator newTextChoiceCreator()
public static PollenServiceFunctions.ImageChoiceCreator newImageChoiceCreator()
public static PollenServiceFunctions.DateChoiceCreator newDateChoiceCreator()
public static com.google.common.base.Function<Choice,Choice> newChoiceCreator(ChoiceType choiceType)
public static com.google.common.base.Function<VotingList,VotingList> newVotingListCreator(com.google.common.base.Function<PersonToList,PersonToList> persontoListCreator)
public static com.google.common.base.Function<PersonToList,PersonToList> newPersonToListCreator()
Copyright © 2009–2014 CodeLutin. All rights reserved.