public class GenderRatio extends Object implements Serializable, Comparable<GenderRatio>
| Modifier and Type | Field and Description |
|---|---|
static GenderRatio |
empty |
short |
value |
| Constructor and Description |
|---|
GenderRatio(short value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(GenderRatio o) |
boolean |
equals(Object arg0) |
int |
hashCode() |
boolean |
isAllFemale() |
boolean |
isAllMale() |
boolean |
isEmpty() |
static GenderRatio |
of(String value) |
String |
toString() |
public static final GenderRatio empty
public final short value
public boolean isAllMale()
public boolean isAllFemale()
public static GenderRatio of(String value)
public boolean isEmpty()
public int compareTo(GenderRatio o)
compareTo in interface Comparable<GenderRatio>Copyright © 2005–2018 The OpenURP Software. All rights reserved.