org.refcodes.properties.Properties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of refcodes-properties Show documentation
Show all versions of refcodes-properties Show documentation
This artifact provides means to read configuration data from various
different locations such as properties from JAR files, file system
files or remote HTTP addresses or GIT repositories.
The newest version!
// /////////////////////////////////////////////////////////////////////////////
// REFCODES.ORG
// =============================================================================
// This code is copyright (c) by Siegfried Steiner, Munich, Germany, distributed
// on an "AS IS" BASIS WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, and licen-
// sed under the following (see "http://en.wikipedia.org/wiki/Multi-licensing")
// licenses:
// =============================================================================
// GNU General Public License, v3.0 ("http://www.gnu.org/licenses/gpl-3.0.html")
// together with the GPL linking exception applied; as being applied by the GNU
// Classpath ("http://www.gnu.org/software/classpath/license.html")
// =============================================================================
// Apache License, v2.0 ("http://www.apache.org/licenses/TEXT-2.0")
// =============================================================================
// Please contact the copyright holding author(s) of the software artifacts in
// question for licensing issues not being covered by the above listed licenses,
// also regarding commercial licensing models or regarding the compatibility
// with other open source licenses.
// /////////////////////////////////////////////////////////////////////////////
package org.refcodes.properties;
import java.util.Collection;
import java.util.Map;
import java.util.regex.Pattern;
import org.refcodes.data.Annotator;
import org.refcodes.data.Delimiter;
import org.refcodes.data.Text;
import org.refcodes.struct.CanonicalMap;
import org.refcodes.struct.PathMap;
import org.refcodes.struct.Property;
import org.refcodes.struct.Relation;
import org.refcodes.struct.Table;
/**
* The {@link Properties} are a https://www.metacodes.proization of the
* {@link Table}. Properties represent a collection of {@link String} key and
* {@link String} value pairs as properties usually occur in pure text form, to
* be converted to the required data types. For this reason, the
* {@link Properties} interface provides additional conversion methods.
*/
public interface Properties extends CanonicalMap {
// /////////////////////////////////////////////////////////////////////////
// MUTATOR:
// /////////////////////////////////////////////////////////////////////////
String DEFAULT_COMMENT = "Generated by <" + Text.REFCODES_ORG + "> (http://www.refcodes.org)";
// /////////////////////////////////////////////////////////////////////////
// BUILDER:
// /////////////////////////////////////////////////////////////////////////
/**
* {@inheritDoc}
*/
@Override
default boolean containsValue( Object value ) {
return values().contains( value );
}
/**
* Returns the default path annotator as of {@link Annotator#JAVA}.
* {@inheritDoc}
*/
@Override
default char getAnnotator() {
return ANNOTATOR;
}
/**
* Returns the default path delimiter as of {@link Delimiter#PATH}.
* {@inheritDoc}
*/
@Override
default char getDelimiter() {
return DELIMITER;
}
/**
* {@inheritDoc}
*/
@Override
default Properties getDir( Collection> aPathElements ) {
return getDir( toPath( aPathElements ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties getDir( Object aPath ) {
return getDir( toPath( aPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties getDir( Object... aPathElements ) {
return getDir( toPath( aPathElements ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties getDir( String aPath ) {
return retrieveFrom( aPath );
}
/**
* {@inheritDoc}
*/
@Override
default Properties getDir( String... aPathElements ) {
return getDir( toPath( aPathElements ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties getDirAt( Collection> aPathElements, int aIndex ) {
return getDirAt( toPath( aPathElements ), aIndex );
}
/**
* {@inheritDoc}
*/
@Override
default Properties getDirAt( int aIndex ) {
return getDirAt( getRootPath(), aIndex );
}
/**
* {@inheritDoc}
*/
@Override
default Properties getDirAt( Object aPath, int aIndex ) {
return getDirAt( toPath( aPath ), aIndex );
}
/**
* {@inheritDoc}
*/
@Override
default Properties getDirAt( Object[] aPathElements, int aIndex ) {
return getDirAt( toPath( aPathElements ), aIndex );
}
/**
* {@inheritDoc}
*/
@Override
default Properties getDirAt( String aPath, int aIndex ) {
return retrieveFrom( toPath( aPath, Integer.toString( aIndex ) ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties getDirAt( String[] aPathElements, int aIndex ) {
return getDirAt( toPath( aPathElements ), aIndex );
}
/**
* {@inheritDoc}
*/
@Override
default Properties[] getDirs( Collection> aPathElements ) {
return getDirs( toPath( aPathElements ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties[] getDirs( Object aPath ) {
return getDirs( toPath( aPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties[] getDirs( Object... aPathElements ) {
return getDirs( toPath( aPathElements ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties[] getDirs( String aPath ) {
final Properties[] theDirs;
if ( isIndexDir( aPath ) ) {
final int[] theIndexes = getDirIndexes( aPath );
theDirs = new Properties[theIndexes[theIndexes.length - 1] + 1];
for ( int i : theIndexes ) {
theDirs[theIndexes[i]] = getDirAt( aPath, theIndexes[i] );
}
}
else {
theDirs = new Properties[] { getDir( aPath ) };
}
return theDirs;
}
/**
* {@inheritDoc}
*/
@Override
default Properties[] getDirs( String... aPathElements ) {
return getDirs( toPath( aPathElements ) );
}
/**
* {@inheritDoc}
*/
@Override
default Class getType() {
return String.class;
}
/**
* {@inheritDoc}
*/
@Override
default Properties query( Collection> aQueryElements ) {
return query( toPath( aQueryElements ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties query( Object... aQueryElements ) {
return query( toPath( aQueryElements ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties query( Pattern aRegExp ) {
return new PropertiesImpl( CanonicalMap.super.query( aRegExp ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties query( String aPathQuery ) {
return new PropertiesImpl( CanonicalMap.super.query( aPathQuery ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties query( String... aQueryElements ) {
return query( toPath( aQueryElements ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryBetween( Collection> aFromPath, Collection> aPathQuery, Collection> aToPath ) {
return queryBetween( toPath( aFromPath ), toPath( aPathQuery ), toPath( aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryBetween( Object aFromPath, Object aPathQuery, Object aToPath ) {
return queryBetween( toPath( aFromPath ), toPath( aPathQuery ), toPath( aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryBetween( Object[] aFromPath, Object[] aPathQuery, Object[] aToPath ) {
return queryBetween( toPath( aFromPath ), toPath( aPathQuery ), toPath( aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryBetween( String aPathQuery, String aFromPath, String aToPath ) {
return new PropertiesImpl( CanonicalMap.super.queryBetween( aPathQuery, aFromPath, aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryBetween( String[] aFromPath, String[] aPathQuery, String[] aToPath ) {
return queryBetween( toPath( aFromPath ), toPath( aPathQuery ), toPath( aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryFrom( Collection> aPathQuery, Collection> aFromPath ) {
return queryFrom( toPath( aPathQuery ), toPath( aFromPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryFrom( Object aPathQuery, Object aFromPath ) {
return queryFrom( toPath( aPathQuery ), toPath( aFromPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryFrom( Object[] aPathQuery, Object[] aFromPath ) {
return queryFrom( toPath( aPathQuery ), toPath( aFromPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryFrom( Pattern aRegExp, String aFromPath ) {
return new PropertiesImpl( CanonicalMap.super.queryFrom( aRegExp, aFromPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryFrom( String aPathQuery, String aFromPath ) {
return new PropertiesImpl( CanonicalMap.super.queryFrom( aPathQuery, aFromPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryFrom( String[] aPathQuery, String[] aFromPath ) {
return queryFrom( toPath( aPathQuery ), toPath( aFromPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryTo( Collection> aPathQuery, String aToPath ) {
return queryTo( toPath( aPathQuery ), toPath( aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryTo( Object aPathQuery, String aToPath ) {
return queryTo( toPath( aPathQuery ), toPath( aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryTo( Object[] aPathQuery, String aToPath ) {
return queryTo( toPath( aPathQuery ), toPath( aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryTo( Pattern aRegExp, String aToPath ) {
return new PropertiesImpl( CanonicalMap.super.queryTo( aRegExp, aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryTo( String aPathQuery, String aToPath ) {
return new PropertiesImpl( CanonicalMap.super.queryTo( aPathQuery, aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties queryTo( String[] aPathQuery, String aToPath ) {
return queryTo( toPath( aPathQuery ), toPath( aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties retrieveBetween( Collection> aFromPath, Collection> aToPath ) {
return retrieveBetween( toPath( aFromPath ), toPath( aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties retrieveBetween( Object aFromPath, Object aToPath ) {
return retrieveBetween( toPath( aFromPath ), toPath( aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties retrieveBetween( Object[] aFromPath, Object[] aToPath ) {
return retrieveBetween( toPath( aFromPath ), toPath( aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties retrieveBetween( String aFromPath, String aToPath ) {
final Properties theProperties = retrieveFrom( aFromPath );
return theProperties.retrieveTo( aToPath );
}
/**
* {@inheritDoc}
*/
@Override
default Properties retrieveBetween( String[] aFromPath, String[] aToPath ) {
return retrieveBetween( toPath( aFromPath ), toPath( aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties retrieveFrom( Collection> aPathElements ) {
return retrieveFrom( toPath( aPathElements ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties retrieveFrom( Object aParentPath ) {
return retrieveFrom( toPath( aParentPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties retrieveFrom( Object... aPathElements ) {
return retrieveFrom( toPath( aPathElements ) );
}
/**
* {@inheritDoc}
*/
@Override
Properties retrieveFrom( String aFromPath );
/**
* {@inheritDoc}
*/
@Override
default Properties retrieveFrom( String... aPathElements ) {
return retrieveFrom( toPath( aPathElements ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties retrieveTo( Collection> aToPathElements ) {
return retrieveTo( toPath( aToPathElements ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties retrieveTo( Object aToPath ) {
return retrieveTo( toPath( aToPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties retrieveTo( Object... aToPathElements ) {
return retrieveTo( toPath( aToPathElements ) );
}
/**
* {@inheritDoc}
*/
@Override
Properties retrieveTo( String aToPath );
/**
* {@inheritDoc}
*/
@Override
default Properties retrieveTo( String... aToPathElements ) {
return retrieveTo( toPath( aToPathElements ) );
}
/**
* The interface {@link MutableProperties} defines "dirty" methods allowing
* to modify ("mutate") the properties.
*/
public interface MutableProperties extends Properties, MutableCanonicalMap {
/**
* {@inheritDoc}
*/
@Override
default boolean containsValue( Object value ) {
return values().contains( value );
}
/**
* Removes a property identified by the key of the provided
* {@link Property} (the value of the {@link Property} is ignored).
*
* @param aProperty The {@link Property} which's key is to be removed.
*
* @return The removed value of the key or null if there was not such a
* key.
*/
default String delete( Property aProperty ) {
if ( aProperty != null ) {
return remove( aProperty.getKey() );
}
return null;
}
// /**
// * {@inheritDoc}
// */
// @Override
// default String delete( String aKey ) {
// return remove( aKey );
// }
//
// /**
// * {@inheritDoc}
// */
// @Override
// default Properties getDirAt( int aIndex ) {
// return getDirAt( getRootPath(), aIndex );
// }
//
// /**
// * {@inheritDoc}
// */
// @Override
// default Properties getDirAt( String aPath, int aIndex ) {
// return retrieveFrom( toPath( aPath, aIndex + "" ) );
// }
/**
* Method to semantically emphasize that we support our own types.
* Actually delegates to {@link #insert(Object)}.
*
* @param aFrom The {@link Properties} which is to be inspected with the
* therein contained values being added with their according
* determined paths.
*/
default void insert( Properties aFrom ) {
insert( (Object) aFrom );
}
/**
* Method to semantically emphasize that we support our own types.
* Actually delegates to {@link #insert(Object)}.
*
* @param aFrom The {@link Properties} which is to be inspected with the
* therein contained values being added with their according
* determined paths.
*/
default void insert( PropertiesBuilder aFrom ) {
insert( (Object) aFrom );
}
/**
* Method to semantically emphasize that we support our own types.
* Actually delegates to {@link #insertBetween(String, Object, String)}.
*
* @param aToPath The sub-path where to insert the object's introspected
* values to.
* @param aFrom The {@link Properties} which is to be inspected with the
* therein contained values being added with their according
* determined paths.
* @param aFromPath The path from where to start adding elements of the
* provided object.
*/
default void insertBetween( String aToPath, Properties aFrom, String aFromPath ) {
insertBetween( aToPath, (Object) aFrom, aFromPath );
}
/**
* Method to semantically emphasize that we support our own types.
* Actually delegates to {@link #insertFrom(Object, String)}.
*
* @param aFrom The {@link Properties} which is to be inspected with the
* therein contained values being added with their according
* determined paths.
* @param aFromPath The path from where to start adding elements of the
* provided object.
*/
default void insertFrom( Properties aFrom, String aFromPath ) {
insertFrom( (Object) aFrom, aFromPath );
}
/**
* Method to semantically emphasize that we support our own types.
* Actually delegates to {@link #insertTo(String, Object)}.
*
* @param aToPath The sub-path where to insert the object's introspected
* values to.
* @param aFrom The {@link Properties} which is to be inspected with the
* therein contained values being added with their according
* determined paths.
*/
default void insertTo( String aToPath, Properties aFrom ) {
insertTo( aToPath, (Object) aFrom );
}
/**
* {@inheritDoc}
*/
@Override
default String put( Relation aRelation ) {
return put( aRelation.getKey(), aRelation.getValue() );
}
/**
* This method inserts all elements (key/value-pairs) found in the
* provided {@link java.util.Properties} instances of interoperability
* reasons.
*
* @param aProperties A {@link java.util.Properties} containing the
* key/value-pairs to be inserted.
*/
@Override
default void putAll( java.util.Properties aProperties ) {
for ( Object eKey : aProperties.keySet() ) {
put( (String) eKey, (String) aProperties.get( eKey ) );
}
}
/**
* {@inheritDoc}
*/
@Override
default void putAll( Map extends String, ? extends String> aProperties ) {
for ( Object eKey : aProperties.keySet() ) {
put( (String) eKey, aProperties.get( eKey ) );
}
}
/**
* This method inserts all elements (key/value-pairs) found in the
* provided {@link Properties} instances of interoperability reasons.
*
* @param aProperties A {@link Properties} containing the key/value
* pairs to be inserted.
*/
default void putAll( Properties aProperties ) {
for ( Object eKey : aProperties.keySet() ) {
put( (String) eKey, aProperties.get( eKey ) );
}
}
/**
* {@inheritDoc}
*/
@Override
default Properties putDirAt( Collection> aPathElements, int aIndex, Object aDir ) {
return putDirAt( toPath( aPathElements ), aIndex, aDir );
}
/**
* {@inheritDoc}
*/
@Override
default Properties putDirAt( Collection> aPathElements, int aIndex, PathMap aDir ) {
return putDirAt( toPath( aPathElements ), aIndex, aDir );
}
/**
* {@inheritDoc}
*/
@Override
default Properties putDirAt( int aIndex, Object aDir ) {
return putDirAt( getRootPath(), aIndex, aDir );
}
/**
* {@inheritDoc}
*/
@Override
default Properties putDirAt( int aIndex, PathMap aDir ) {
return putDirAt( getRootPath(), aIndex, aDir );
}
/**
* {@inheritDoc}
*/
@Override
default Properties putDirAt( Object aPath, int aIndex, Object aDir ) {
return putDirAt( toPath( aPath ), aIndex, aDir );
}
/**
* {@inheritDoc}
*/
@Override
default Properties putDirAt( Object aPath, int aIndex, PathMap aDir ) {
return putDirAt( toPath( aPath ), aIndex, aDir );
}
/**
* {@inheritDoc}
*/
@Override
default Properties putDirAt( Object[] aPathElements, int aIndex, Object aDir ) {
return putDirAt( toPath( aPathElements ), aIndex, aDir );
}
/**
* {@inheritDoc}
*/
@Override
default Properties putDirAt( Object[] aPathElements, int aIndex, PathMap aDir ) {
return putDirAt( toPath( aPathElements ), aIndex, aDir );
}
/**
* {@inheritDoc}
*/
@Override
default Properties putDirAt( String aPath, int aIndex, Object aDir ) {
final Properties theReplaced = removeDirAt( aPath, aIndex );
insertTo( toPath( aPath, aIndex ), aDir );
return theReplaced;
}
/**
* {@inheritDoc}
*/
@Override
default Properties putDirAt( String aPath, int aIndex, PathMap aDir ) {
final Properties theReplaced = removeDirAt( aPath, aIndex );
insertTo( toPath( aPath, aIndex ), aDir );
return theReplaced;
}
/**
* {@inheritDoc}
*/
@Override
default Properties putDirAt( String[] aPathElements, int aIndex, Object aDir ) {
return putDirAt( toPath( aPathElements ), aIndex, aDir );
}
/**
* {@inheritDoc}
*/
@Override
default Properties putDirAt( String[] aPathElements, int aIndex, PathMap aDir ) {
return putDirAt( toPath( aPathElements ), aIndex, aDir );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removeAll( Collection> aPathQueryElemments ) {
return new PropertiesImpl( MutableCanonicalMap.super.removeAll( aPathQueryElemments ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removeAll( Object... aPathQueryElemments ) {
return new PropertiesImpl( MutableCanonicalMap.super.removeAll( aPathQueryElemments ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removeAll( Object aPathQuery ) {
return new PropertiesImpl( MutableCanonicalMap.super.removeAll( aPathQuery ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removeAll( Pattern aRegExp ) {
return new PropertiesImpl( MutableCanonicalMap.super.removeAll( aRegExp ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removeAll( String... aPathQueryElemments ) {
return new PropertiesImpl( MutableCanonicalMap.super.removeAll( aPathQueryElemments ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removeAll( String aPathQuery ) {
return new PropertiesImpl( MutableCanonicalMap.super.removeAll( aPathQuery ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removeDirAt( int aIndex ) {
return new PropertiesImpl( MutableCanonicalMap.super.removeDirAt( aIndex ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removeDirAt( Object aPath, int aIndex ) {
return new PropertiesImpl( MutableCanonicalMap.super.removeDirAt( aPath, aIndex ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removeDirAt( Object[] aPathElements, int aIndex ) {
return new PropertiesImpl( MutableCanonicalMap.super.removeDirAt( aPathElements, aIndex ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removeDirAt( String aPath, int aIndex ) {
return new PropertiesImpl( MutableCanonicalMap.super.removeDirAt( aPath, aIndex ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removeDirAt( String[] aPathElements, int aIndex ) {
return new PropertiesImpl( MutableCanonicalMap.super.removeDirAt( aPathElements, aIndex ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removeFrom( Object... aPathElements ) {
return new PropertiesImpl( MutableCanonicalMap.super.removeFrom( aPathElements ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removeFrom( Object aPath ) {
return new PropertiesImpl( MutableCanonicalMap.super.removeFrom( aPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removeFrom( String aPath ) {
return new PropertiesImpl( MutableCanonicalMap.super.removeFrom( aPath ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removeFrom( String... aPathElements ) {
return new PropertiesImpl( MutableCanonicalMap.super.removeFrom( aPathElements ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removePaths( Collection> aPaths ) {
return new PropertiesImpl( MutableCanonicalMap.super.removePaths( aPaths ) );
}
/**
* {@inheritDoc}
*/
@Override
default Properties removePaths( String... aPaths ) {
return new PropertiesImpl( MutableCanonicalMap.super.removePaths( aPaths ) );
}
}
/**
* The interface {@link PropertiesBuilder} defines builder functionality on
* top of the properties .
*/
public interface PropertiesBuilder extends CanonicalMapBuilder, MutableProperties {
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsert( Object aObj ) {
insert( aObj );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsert( PathMap aFrom ) {
insert( aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertBetween( Collection> aToPathElements, Object aFrom, Collection> aFromPathElements ) {
insertBetween( aToPathElements, aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertBetween( Collection> aToPathElements, PathMap aFrom, Collection> aFromPathElements ) {
insertBetween( aToPathElements, aFrom, aFromPathElements );
return this;
}
// /**
// * {@inheritDoc}
// */
// @Override
// default PropertiesBuilder withPut( Object aPath, String aValue ) {
// put( toPath( aPath ), aValue );
// return this;
// }
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertBetween( Object aToPath, Object aFrom, Object aFromPath ) {
insertBetween( aToPath, aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertBetween( Object aToPath, PathMap aFrom, Object aFromPath ) {
insertBetween( aToPath, aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertBetween( Object[] aToPathElements, Object aFrom, Object[] aFromPathElements ) {
insertBetween( aToPathElements, aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertBetween( Object[] aToPathElements, PathMap aFrom, Object[] aFromPathElements ) {
insertBetween( aToPathElements, aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertBetween( String aToPath, Object aFrom, String aFromPath ) {
insertBetween( aToPath, aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertBetween( String aToPath, PathMap aFrom, String aFromPath ) {
insertBetween( aToPath, aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertBetween( String[] aToPathElements, Object aFrom, String[] aFromPathElements ) {
insertBetween( aToPathElements, aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertBetween( String[] aToPathElements, PathMap aFrom, String[] aFromPathElements ) {
insertBetween( aToPathElements, aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertFrom( Object aFrom, Collection> aFromPathElements ) {
insertFrom( aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertFrom( Object aFrom, Object aFromPath ) {
insertFrom( aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertFrom( Object aFrom, Object... aFromPathElements ) {
withInsertFrom( aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertFrom( Object aFrom, String aFromPath ) {
insertFrom( aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertFrom( Object aFrom, String... aFromPathElements ) {
insertFrom( aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertFrom( PathMap aFrom, Collection> aFromPathElements ) {
insertFrom( aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertFrom( PathMap aFrom, Object aFromPath ) {
insertFrom( aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertFrom( PathMap aFrom, Object... aFromPathElements ) {
withInsertFrom( aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertFrom( PathMap aFrom, String aFromPath ) {
insertFrom( aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertFrom( PathMap aFrom, String... aFromPathElements ) {
insertFrom( aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertTo( Collection> aToPathElements, Object aFrom ) {
insertTo( aToPathElements, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertTo( Collection> aToPathElements, PathMap aFrom ) {
insertTo( aToPathElements, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertTo( Object aToPath, Object aFrom ) {
insertTo( aToPath, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertTo( Object aToPath, PathMap aFrom ) {
insertTo( aToPath, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertTo( Object[] aToPathElements, Object aFrom ) {
insertTo( aToPathElements, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertTo( Object[] aToPathElements, PathMap aFrom ) {
insertTo( aToPathElements, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertTo( String aToPath, Object aFrom ) {
insertTo( aToPath, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertTo( String aToPath, PathMap aFrom ) {
insertTo( aToPath, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertTo( String[] aToPathElements, Object aFrom ) {
insertTo( aToPathElements, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withInsertTo( String[] aToPathElements, PathMap aFrom ) {
insertTo( aToPathElements, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMerge( Object aObj ) {
merge( aObj );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMerge( PathMap aFrom ) {
merge( aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeBetween( Collection> aToPathElements, Object aFrom, Collection> aFromPathElements ) {
mergeBetween( aToPathElements, aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeBetween( Collection> aToPathElements, PathMap aFrom, Collection> aFromPathElements ) {
mergeBetween( aToPathElements, aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeBetween( Object aToPath, Object aFrom, Object aFromPath ) {
mergeBetween( aToPath, aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeBetween( Object aToPath, PathMap aFrom, Object aFromPath ) {
mergeBetween( aToPath, aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeBetween( Object[] aToPathElements, Object aFrom, Object[] aFromPathElements ) {
mergeBetween( aToPathElements, aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeBetween( Object[] aToPathElements, PathMap aFrom, Object[] aFromPathElements ) {
mergeBetween( aToPathElements, aFromPathElements, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeBetween( String aToPath, Object aFrom, String aFromPath ) {
mergeBetween( aToPath, aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeBetween( String aToPath, PathMap aFrom, String aFromPath ) {
mergeBetween( aToPath, aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeBetween( String[] aToPathElements, Object aFrom, String[] aFromPathElements ) {
mergeBetween( aToPathElements, aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeBetween( String[] aToPathElements, PathMap aFrom, String[] aFromPathElements ) {
mergeBetween( aToPathElements, aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeFrom( Object aFrom, Collection> aFromPathElements ) {
mergeFrom( aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeFrom( Object aFrom, Object aFromPath ) {
mergeFrom( aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeFrom( Object aFrom, Object... aFromPathElements ) {
mergeFrom( aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeFrom( Object aFrom, String aFromPath ) {
mergeFrom( aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeFrom( Object aFrom, String... aFromPathElements ) {
mergeFrom( aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeFrom( PathMap aFrom, Collection> aFromPathElements ) {
mergeFrom( aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeFrom( PathMap aFrom, Object aFromPath ) {
mergeFrom( aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeFrom( PathMap aFrom, Object... aFromPathElements ) {
mergeFrom( aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeFrom( PathMap aFrom, String aFromPath ) {
mergeFrom( aFrom, aFromPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeFrom( PathMap aFrom, String... aFromPathElements ) {
mergeFrom( aFrom, aFromPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeTo( Collection> aToPathElements, Object aFrom ) {
mergeTo( aToPathElements, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeTo( Collection> aToPathElements, PathMap aFrom ) {
mergeTo( aToPathElements, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeTo( Object aToPath, Object aFrom ) {
mergeTo( aToPath, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeTo( Object aToPath, PathMap aFrom ) {
mergeTo( aToPath, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeTo( Object[] aToPathElements, Object aFrom ) {
mergeTo( aToPathElements, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeTo( Object[] aToPathElements, PathMap aFrom ) {
mergeTo( aToPathElements, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeTo( String aToPath, Object aFrom ) {
mergeTo( aToPath, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeTo( String aToPath, PathMap aFrom ) {
mergeTo( aToPath, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeTo( String[] aToPathElements, Object aFrom ) {
mergeTo( aToPathElements, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withMergeTo( String[] aToPathElements, PathMap aFrom ) {
mergeTo( aToPathElements, aFrom );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPut( Collection> aPathElements, String aValue ) {
put( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPut( Object[] aPathElements, String aValue ) {
put( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPut( Property aProperty ) {
put( aProperty );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPut( Relation aProperty ) {
put( aProperty );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPut( String aKey, String aValue ) {
put( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPut( String[] aKey, String aValue ) {
put( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutBoolean( Collection> aPathElements, Boolean aValue ) {
putBoolean( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutBoolean( Object aKey, Boolean aValue ) {
putBoolean( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutBoolean( Object[] aPathElements, Boolean aValue ) {
putBoolean( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutBoolean( String aKey, Boolean aValue ) {
putBoolean( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutBoolean( String[] aPathElements, Boolean aValue ) {
putBoolean( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutByte( Collection> aPathElements, Byte aValue ) {
putByte( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutByte( Object aKey, Byte aValue ) {
putByte( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutByte( Object[] aPathElements, Byte aValue ) {
putByte( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutByte( String aKey, Byte aValue ) {
putByte( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutByte( String[] aPathElements, Byte aValue ) {
putByte( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutChar( Collection> aPathElements, Character aValue ) {
putChar( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutChar( Object aKey, Character aValue ) {
putChar( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutChar( Object[] aPathElements, Character aValue ) {
putChar( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutChar( String aKey, Character aValue ) {
putChar( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutChar( String[] aPathElements, Character aValue ) {
putChar( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutClass( Collection> aPathElements, Class aValue ) {
putClass( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutClass( Object aKey, Class aValue ) {
putClass( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutClass( Object[] aPathElements, Class aValue ) {
putClass( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutClass( String aKey, Class aValue ) {
putClass( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutClass( String[] aPathElements, Class aValue ) {
putClass( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDirAt( Collection> aPathElements, int aIndex, Object aDir ) {
putDirAt( aPathElements, aIndex, aDir );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDirAt( Collection> aPathElements, int aIndex, PathMap aDir ) {
putDirAt( aPathElements, aIndex, aDir );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDirAt( int aIndex, Object aDir ) {
putDirAt( aIndex, aDir );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDirAt( int aIndex, PathMap aDir ) {
putDirAt( aIndex, aDir );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDirAt( Object aPath, int aIndex, Object aDir ) {
putDirAt( aPath, aIndex, aDir );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDirAt( Object aPath, int aIndex, PathMap aDir ) {
putDirAt( aPath, aIndex, aDir );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDirAt( Object[] aPathElements, int aIndex, Object aDir ) {
putDirAt( aPathElements, aIndex, aDir );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDirAt( Object[] aPathElements, int aIndex, PathMap aDir ) {
putDirAt( aPathElements, aIndex, aDir );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDirAt( String aPath, int aIndex, Object aDir ) {
putDirAt( aPath, aIndex, aDir );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDirAt( String aPath, int aIndex, PathMap aDir ) {
putDirAt( aPath, aIndex, aDir );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDirAt( String[] aPathElements, int aIndex, Object aDir ) {
putDirAt( aPathElements, aIndex, aDir );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDirAt( String[] aPathElements, int aIndex, PathMap aDir ) {
putDirAt( aPathElements, aIndex, aDir );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDouble( Collection> aPathElements, Double aValue ) {
putDouble( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDouble( Object aKey, Double aValue ) {
putDouble( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDouble( Object[] aPathElements, Double aValue ) {
putDouble( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDouble( String aKey, Double aValue ) {
putDouble( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutDouble( String[] aPathElements, Double aValue ) {
putDouble( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default > PropertiesBuilder withPutEnum( Collection> aPathElements, E aValue ) {
putEnum( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default > PropertiesBuilder withPutEnum( Object aKey, E aValue ) {
putEnum( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default > PropertiesBuilder withPutEnum( Object[] aPathElements, E aValue ) {
putEnum( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default > PropertiesBuilder withPutEnum( String aKey, E aValue ) {
putEnum( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default > PropertiesBuilder withPutEnum( String[] aPathElements, E aValue ) {
putEnum( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutFloat( Collection> aPathElements, Float aValue ) {
putFloat( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutFloat( Object aKey, Float aValue ) {
putFloat( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutFloat( Object[] aPathElements, Float aValue ) {
putFloat( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutFloat( String aKey, Float aValue ) {
putFloat( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutFloat( String[] aPathElements, Float aValue ) {
putFloat( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutInt( Collection> aPathElements, Integer aValue ) {
putInt( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutInt( Object aKey, Integer aValue ) {
putInt( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutInt( Object[] aPathElements, Integer aValue ) {
putInt( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutInt( String aKey, Integer aValue ) {
putInt( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutInt( String[] aPathElements, Integer aValue ) {
putInt( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutLong( Collection> aPathElements, Long aValue ) {
putLong( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutLong( Object aKey, Long aValue ) {
putLong( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutLong( Object[] aPathElements, Long aValue ) {
putLong( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutLong( String aKey, Long aValue ) {
putLong( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutLong( String[] aPathElements, Long aValue ) {
putLong( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutShort( Collection> aPathElements, Short aValue ) {
putShort( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutShort( Object aKey, Short aValue ) {
putShort( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutShort( Object[] aPathElements, Short aValue ) {
putShort( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutShort( String aKey, Short aValue ) {
putShort( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutShort( String[] aPathElements, Short aValue ) {
putShort( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutString( Collection> aPathElements, String aValue ) {
putString( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutString( Object aKey, String aValue ) {
putString( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutString( Object[] aPathElements, String aValue ) {
putString( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutString( String aKey, String aValue ) {
putString( aKey, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withPutString( String[] aPathElements, String aValue ) {
putString( aPathElements, aValue );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withRemoveFrom( Collection> aPathElements ) {
removeFrom( aPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withRemoveFrom( Object aPath ) {
removeFrom( aPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withRemoveFrom( Object... aPathElements ) {
removeFrom( aPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withRemoveFrom( String aPath ) {
removeFrom( aPath );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withRemoveFrom( String... aPathElements ) {
removeFrom( aPathElements );
return this;
}
/**
* {@inheritDoc}
*/
@Override
default PropertiesBuilder withRemovePaths( String... aPathElements ) {
removeFrom( aPathElements );
return this;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy