| java.lang.Object com.triactive.jdo.test.TestObject
All known Subclasses: com.triactive.jdo.test.views.MinMaxWidgetValues, com.triactive.jdo.test.OwnerWidget, com.triactive.jdo.test.Widget, com.triactive.jdo.test.naming.bar.Collision, com.triactive.jdo.test.WidgetAverages, com.triactive.jdo.test.InverseMapValue, com.triactive.jdo.test.InverseMapFieldTester, com.triactive.jdo.test.KeywordConflict, com.triactive.jdo.test.views.SetWidgetCounts, com.triactive.jdo.test.naming.foo.Collision,
allowNegativeByteValues | public static boolean allowNegativeByteValues(Code) | | |
compareCollection | public static boolean compareCollection(Collection c1, Collection c2)(Code) | | Compares two collections for equality.
Returns true if and only if the two collections contain the same number
of objects and each element of the first collection has exactly one
corresponding element in the second collection that compares equal
according to
TestObject.compareObject .
true if the collections compare equal,false otherwise. |
compareMap | public static boolean compareMap(Map m1, Map m2)(Code) | | Compares two maps.
Returns true if and only if the two maps contain the same number of
entries and each entry of the first map has a corresponding entry in the
second map whose key and value both compare equal according to
TestObject.compareObject .
true if the maps compare equal,false otherwise. |
compareObject | public static boolean compareObject(Object o1, Object o2)(Code) | | Compares two objects for equality.
Returns true if and only if the two objects compare equal to each other.
If the objects are an instance of TestObject the
TestObject.compareTo is
used, which ensures that the object's contents are compared and not just
their JDO ID's.
Otherwise the equals() method is used.
true if the objects compare equal,false otherwise. |
compareTo | abstract public boolean compareTo(Object obj)(Code) | | Indicates whether some other object is "equal to" this one. By comparing
against an original copy of the object, compareTo() can be
used to verify that the object has been written to a database and read
back correctly.
Parameters: obj - the reference object with which to compare true if this object is equal to the obj argument;false otherwise. |
fillRandom | abstract public void fillRandom()(Code) | | |
hashCode | public int hashCode()(Code) | | |
nextBinary | protected byte[] nextBinary(int length)(Code) | | |
nextByte | protected byte nextByte()(Code) | | |
nextCharacter | protected char nextCharacter()(Code) | | |
nextNull | protected boolean nextNull()(Code) | | |
|
|