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

org.wildfly.clustering.marshalling.protostream.reflect.TernaryFieldMarshaller Maven / Gradle / Ivy

/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package org.wildfly.clustering.marshalling.protostream.reflect;

import java.lang.reflect.Field;

/**
 * Generic marshaller based on three non-public fields.
 * @param  the target type of this marshaller
 * @param  the first component field type
 * @param  the second component field type
 * @param  the third component field type
 * @author Paul Ferraro
 */
public class TernaryFieldMarshaller extends TernaryMemberMarshaller {

	public TernaryFieldMarshaller(Class type, Class field1Type, Class field2Type, Class field3Type, TriFunction factory) {
		super(type, Reflect::getValue, Reflect::findField, field1Type, field2Type, field3Type, factory);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy