com.tangosol.util.processor.AbstractProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coherence Show documentation
Show all versions of coherence Show documentation
Oracle Coherence Community Edition
/*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
package com.tangosol.util.processor;
import com.tangosol.util.Base;
import com.tangosol.util.InvocableMap;
import java.util.Map;
import java.util.Set;
/**
* An AbstractProcessor is a partial EntryProcessor implementation that provides
* the default implementation of the {@link #processAll} method.
*
* @param the type of the Map entry key
* @param the type of the Map entry value
* @param the type of the EntryProcessor return value
*
* @author cp/jh 2005.07.19
* @since Coherence 3.1
*/
public abstract class AbstractProcessor
extends Base
implements InvocableMap.EntryProcessor
{
// ----- EntryProcessor interface ---------------------------------------
/**
* {@inheritDoc}
*
* Note: As of Coherence 12.2.1, this method simply delegates to the default
* {@code processAll} implementation in {@link InvocableMap.EntryProcessor}.
*/
public Map processAll(Set extends InvocableMap.Entry> setEntries)
{
return InvocableMap.EntryProcessor.super.processAll(setEntries);
}
}