io.protostuff.runtime.FieldMap Maven / Gradle / Ivy
package io.protostuff.runtime;
import java.util.List;
/**
* Interface for map of fields - defines how to you get field by name or number (tag).
*
* @author Kostiantyn Shchepanovskyi
*/
interface FieldMap
{
Field getFieldByNumber(int n);
Field getFieldByName(String fieldName);
int getFieldCount();
List> getFields();
}