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

org.wildfly.clustering.marshalling.protostream.Field Maven / Gradle / Ivy

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

package org.wildfly.clustering.marshalling.protostream;

/**
 * A field of a marshaller.
 * @author Paul Ferraro
 * @param  the type of the associated marshaller
 */
interface Field {
	/**
	 * Returns the index of this field.
	 * @return the index of this field.
	 */
	int getIndex();

	/**
	 * Returns the marshaller for this field.
	 * @return the marshaller for this field.
	 */
	FieldMarshaller getMarshaller();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy