Home » commons-lang-2.4-src » org.apache.commons » lang » builder »

org.apache.commons.lang.builder

Abstract Classes:

ToStringStyle  

Controls String formatting for ToStringBuilder

code | html

Classes:

CompareToBuilder   Assists in implementing java.lang.Comparable#compareTo(Object) methods.  code | html
CompareToBuilderTest.TestObject     code | html
CompareToBuilderTest.TestSubObject     code | html
CompareToBuilderTest.TestTransientSubObject     code | html
EqualsBuilder  

Assists in implementing Object#equals(Object) methods.

This class provides methods to build a good equals method for any class. 

code | html
EqualsBuilderTest.TestACanEqualB     code | html
EqualsBuilderTest.TestBCanEqualA     code | html
EqualsBuilderTest.TestEmptySubObject     code | html
EqualsBuilderTest.TestObject     code | html
EqualsBuilderTest.TestSubObject     code | html
EqualsBuilderTest.TestTSubObject     code | html
EqualsBuilderTest.TestTSubObject2     code | html
EqualsBuilderTest.TestTTLeafObject     code | html
EqualsBuilderTest.TestTTSubObject     code | html
HashCodeBuilder  

Assists in implementing Object#hashCode() methods. 

code | html
HashCodeBuilderAndEqualsBuilderTest.AllTransientFixture     code | html
HashCodeBuilderAndEqualsBuilderTest.SubAllTransientFixture     code | html
HashCodeBuilderAndEqualsBuilderTest.SubTestFixture     code | html
HashCodeBuilderAndEqualsBuilderTest.TestFixture     code | html
HashCodeBuilderTest.TestObject     code | html
HashCodeBuilderTest.TestSubObject     code | html
ReflectionToStringBuilder  

Assists in implementing Object#toString() methods using reflection. 

code | html
StandardToStringStyle  

Works with ToStringBuilder to create a toString.

This class is intended to be used as a singleton. 

code | html
ToStringBuilder  

Assists in implementing Object#toString() methods.

This class enables a good and consistent toString() to be built for any class or object. 

code | html
ToStringBuilderTest.InheritedReflectionStaticFieldsFixture   Test fixture for ReflectionToStringBuilder.toString() for statics.  code | html
ToStringBuilderTest.Outer     code | html
ToStringBuilderTest.Outer.Inner     code | html
ToStringBuilderTest.ReflectionStaticFieldsFixture   Tests ReflectionToStringBuilder.toString() for statics.  code | html
ToStringBuilderTest.ReflectionTestCycleA   A reflection test fixture.  code | html
ToStringBuilderTest.ReflectionTestCycleB   A reflection test fixture.  code | html
ToStringBuilderTest.ReflectionTestFixtureA     code | html
ToStringBuilderTest.ReflectionTestFixtureB     code | html
ToStringBuilderTest.SelfInstanceTwoVarsReflectionTestFixture     code | html
ToStringBuilderTest.SelfInstanceVarReflectionTestFixture     code | html
ToStringBuilderTest.SimpleReflectionStaticFieldsFixture   Test fixture for ReflectionToStringBuilder.toString() for statics.  code | html
ToStringBuilderTest.SimpleReflectionTestFixture   A reflection test fixture.  code | html
ToStringStyle.DefaultToStringStyle  

Default ToStringStyle.

This is an inner class rather than using StandardToStringStyle to ensure its immutability.

 
code | html
ToStringStyle.MultiLineToStringStyle  

ToStringStyle that outputs on multiple lines.

This is an inner class rather than using StandardToStringStyle to ensure its immutability.

 
code | html
ToStringStyle.NoFieldNameToStringStyle  

ToStringStyle that does not print out the field names.

This is an inner class rather than using StandardToStringStyle to ensure its immutability. 

code | html
ToStringStyle.ShortPrefixToStringStyle  

ToStringStyle that prints out the short class name and no identity hashcode.

This is an inner class rather than using StandardToStringStyle to ensure its immutability.

 
code | html
ToStringStyle.SimpleToStringStyle  

ToStringStyle that does not print out the classname, identity hashcode, content start or field name.

This is an inner class rather than using StandardToStringStyle to ensure its immutability.

 
code | html
ToStringStyleTest.ToStringStyleImpl     code | html

All Test Cases:

BuilderTestSuite   Test suite for the Lang Builder package.  code | html
CompareToBuilderTest   Unit tests org.apache.commons.lang.builder.CompareToBuilder code | html
DefaultToStringStyleTest   Unit tests org.apache.commons.lang.builder.DefaultToStringStyleTest code | html
EqualsBuilderTest   Unit tests org.apache.commons.lang.builder.EqualsBuilder code | html
HashCodeBuilderAndEqualsBuilderTest   Tests org.apache.commons.lang.builder.HashCodeBuilder and org.apache.commons.lang.builder.EqualsBuilderTest to insure that equal objects must have equal hash codes.  code | html
HashCodeBuilderTest   Unit tests org.apache.commons.lang.builder.HashCodeBuilder code | html
MultiLineToStringStyleTest   Unit tests org.apache.commons.lang.builder.MultiLineToStringStyleTest code | html
NoFieldNamesToStringStyleTest   Unit tests org.apache.commons.lang.builder.NoFieldNamesToStringStyleTest code | html
ShortPrefixToStringStyleTest   Unit tests org.apache.commons.lang.builder.ToStringStyle.SHORT_PREFIX_STYLE code | html
SimpleToStringStyleTest   Unit tests org.apache.commons.lang.builder.SimpleToStringStyleTest code | html
StandardToStringStyleTest   Unit tests org.apache.commons.lang.builder.ToStringStyle code | html
ToStringBuilderTest   Unit tests for org.apache.commons.lang.builder.ToStringBuilder code | html
ToStringStyleTest   Test case for ToStringStyle.  code | html