info.sswap.api.input.impl
Class EnumeratedInputImpl
java.lang.Object
info.sswap.api.input.impl.AbstractInput
info.sswap.api.input.impl.EnumeratedInputImpl
- All Implemented Interfaces:
- EnumeratedInput, Input, java.io.Serializable
public class EnumeratedInputImpl
- extends AbstractInput
- implements EnumeratedInput
- Author:
- Evren Sirin
- See Also:
- Serialized Form
Methods inherited from class info.sswap.api.input.impl.AbstractInput |
genericEqualTo, getDescription, getLabel, getPropertyInput, getType, getValue, isUnrestricted, setDescription, setLabel, setPropertyInput, setValue, toStringLabel |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
values
private final com.google.common.collect.ImmutableSet<InputValue> values
EnumeratedInputImpl
public EnumeratedInputImpl(java.util.Collection<InputValue> values)
accept
public void accept(InputVisitor visitor)
- Visitor function.
- Specified by:
accept
in interface Input
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
getValues
public java.util.Collection<InputValue> getValues()
- Description copied from interface:
EnumeratedInput
- Returns the allowed set of input values for this input.
- Specified by:
getValues
in interface EnumeratedInput
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.