Top Description Constructors Methods
org.apache.commons.pool2

public abstract Class BaseObject

extends Object
Class Inheritance
Known Direct Subclasses
org.apache.commons.pool2.BaseObjectPool, org.apache.commons.pool2.BasePooledObjectFactory, org.apache.commons.pool2.impl.BaseGenericObjectPool, org.apache.commons.pool2.impl.BaseObjectPoolConfig, org.apache.commons.pool2.BaseKeyedPooledObjectFactory

A base class for common functionality.
Since
2.4.3

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
protected void
toStringAppendFields(final StringBuilder
Field names and values are appended to this object
builder
)

Used by sub-classes to include the fields defined by the sub-class in the toString() output.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Constructor Detail

BaseObjectback to summary
public BaseObject()

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override
toStringAppendFieldsback to summary
protected void toStringAppendFields(final StringBuilder builder)

Used by sub-classes to include the fields defined by the sub-class in the toString() output.

Parameters
builder:StringBuilder

Field names and values are appended to this object