public class StringChoice extends ClosedChoice<String>
Represents closed choice of strings.
Constructor and Description |
---|
StringChoice(String value)
Initializes a new instance of the
StringChoice class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicates whether the current object is equal to another object of the same type.
|
int |
hashCode()
Returns a hash code for this instance.
|
equals, toString
public StringChoice(String value)
Initializes a new instance of the StringChoice
class.
value
- The value.public boolean equals(Object obj)
Indicates whether the current object is equal to another object of the same type.
equals
in interface com.aspose.ms.System.IEquatable<ClosedChoice<String>>
equals
in class ClosedChoice<String>
obj
- An object to compare with this object.obj
parameter; otherwise, false.public int hashCode()
Returns a hash code for this instance.
hashCode
in class ClosedChoice<String>
Copyright © 2017. All rights reserved.