@Generated(value="com.spotify.dataenum.processor.DataEnumProcessor") public abstract class MostThings<T> extends Object
MostThings_dataenum| Modifier and Type | Class and Description |
|---|---|
static class |
MostThings.Collections |
static class |
MostThings.NullableParameter |
static class |
MostThings.ReferencesOther |
static class |
MostThings.SimpleTypes |
static class |
MostThings.TypeParameter<T> |
public static <T> MostThings<T> simpleTypes(@Nonnull String s, @Nonnull Integer i, int unboxed)
MostThings.SimpleTypes (see MostThings_dataenum.SimpleTypes(java.lang.String, java.lang.Integer, int) for source)public static <T> MostThings<T> collections(@Nonnull Set<String> set, @Nonnull List<Boolean> list)
public static <T> MostThings<T> typeParameter(@Nonnull T thing)
MostThings.TypeParameter (see MostThings_dataenum.TypeParameter(T) for source)public static <T> MostThings<T> referencesOther(@Nonnull Other other)
public static <T> MostThings<T> nullableParameter(@Nullable String maybeNull)
MostThings.NullableParameter (see MostThings_dataenum.NullableParameter(java.lang.String) for source)public final boolean isSimpleTypes()
public final boolean isCollections()
public final boolean isTypeParameter()
public final boolean isReferencesOther()
public final boolean isNullableParameter()
public final MostThings.SimpleTypes asSimpleTypes()
public final MostThings.Collections asCollections()
public final MostThings.TypeParameter<T> asTypeParameter()
public final MostThings.ReferencesOther asReferencesOther()
public final MostThings.NullableParameter asNullableParameter()
public abstract void match(@Nonnull Consumer<MostThings.SimpleTypes> simpleTypes, @Nonnull Consumer<MostThings.Collections> collections, @Nonnull Consumer<MostThings.TypeParameter<T>> typeParameter, @Nonnull Consumer<MostThings.ReferencesOther> referencesOther, @Nonnull Consumer<MostThings.NullableParameter> nullableParameter)
public abstract <R_> R_ map(@Nonnull Function<MostThings.SimpleTypes,R_> simpleTypes, @Nonnull Function<MostThings.Collections,R_> collections, @Nonnull Function<MostThings.TypeParameter<T>,R_> typeParameter, @Nonnull Function<MostThings.ReferencesOther,R_> referencesOther, @Nonnull Function<MostThings.NullableParameter,R_> nullableParameter)
Copyright © 2023. All rights reserved.