public final class FSize extends ObjectPool.Poolable
| Modifier and Type | Field and Description |
|---|---|
float |
height |
float |
width |
NO_OWNER| Constructor and Description |
|---|
FSize() |
FSize(float width,
float height) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static FSize |
getInstance(float width,
float height) |
int |
hashCode() |
protected ObjectPool.Poolable |
instantiate() |
static void |
recycleInstance(FSize instance) |
static void |
recycleInstances(java.util.List<FSize> instances) |
java.lang.String |
toString() |
protected ObjectPool.Poolable instantiate()
instantiate in class ObjectPool.Poolablepublic static FSize getInstance(float width, float height)
public static void recycleInstance(FSize instance)
public static void recycleInstances(java.util.List<FSize> instances)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object