Lines Matching defs:other
115 * database and default values for all other parameters.
137 * @param other The other configuration.
139 public SQLiteDatabaseConfiguration(SQLiteDatabaseConfiguration other) {
140 if (other == null) {
141 throw new IllegalArgumentException("other must not be null.");
144 this.path = other.path;
145 this.label = other.label;
146 updateParametersFrom(other);
151 * from the other configuration object.
153 * @param other The object from which to copy the parameters.
155 public void updateParametersFrom(SQLiteDatabaseConfiguration other) {
156 if (other == null) {
157 throw new IllegalArgumentException("other must not be null.");
159 if (!path.equals(other.path)) {
160 throw new IllegalArgumentException("other configuration must refer to "
164 openFlags = other.openFlags;
165 maxSqlCacheSize = other.maxSqlCacheSize;
166 locale = other.locale;
167 foreignKeyConstraintsEnabled = other.foreignKeyConstraintsEnabled;
169 customFunctions.addAll(other.customFunctions);
170 lookasideSlotSize = other.lookasideSlotSize;
171 lookasideSlotCount = other.lookasideSlotCount;
172 idleConnectionTimeoutMs = other.idleConnectionTimeoutMs;