/* * * * Copyright (C) 2021 Anton Romanov - All Rights Reserved * * You may use, distribute and modify this code, please write to: romanov73@gmail.com. * * */ package ru.ulstu.tsMethods; import java.util.List; public abstract class MethodParameter implements Comparable { protected String name; public MethodParameter(String name) { this.name = name; } public String getName() { return name; } public abstract List getAvailableValues(); @Override public int compareTo(Object o) { return this.name.compareTo(((MethodParameter) o).getName()); } }