All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.inteligr8.alfresco.activiti.model.QuickMap Maven / Gradle / Ivy

Go to download

An APS API library for building REST API clients that support both the CXF and Jersey frameworks

There is a newer version: 3.0.4
Show newest version
package com.inteligr8.alfresco.activiti.model;

import java.util.HashMap;

public class QuickMap extends HashMap {
	
	private static final long serialVersionUID = 6480454666954785899L;

	public QuickMap(int initialCapacity) {
		super(initialCapacity);
	}
	
	public QuickMap with(K key, V value) {
		if (value != null)
			this.put(key, value);
		return this;
	}
	
	public QuickMap withNull(K key, V value) {
		this.put(key, value);
		return this;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy