|
Hibernate example source code file (DefaultableListImpl.java)
The Hibernate DefaultableListImpl.java source codepackage org.hibernate.test.usercollection.parameterized; import java.util.ArrayList; /** * Implementation of our specialized collection contract * * @author Holger Brands * @author Steve Ebersole */ public class DefaultableListImpl extends ArrayList implements DefaultableList { private String defaultValue; public DefaultableListImpl() { } public DefaultableListImpl(int anticipatedSize) { super( anticipatedSize + ( int ) Math.ceil( anticipatedSize * .75f ) ); } public String getDefaultValue() { return defaultValue; } public void setDefaultValue(String defaultValue) { this.defaultValue = defaultValue; } } Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate DefaultableListImpl.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.