mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[wpiutil,wpimath] Add generic InterpolatingTreeMap (#5372)
This commit is contained in:
@@ -9,7 +9,10 @@ import java.util.TreeMap;
|
||||
/**
|
||||
* Interpolating Tree Maps are used to get values at points that are not defined by making a guess
|
||||
* from points that are defined. This uses linear interpolation.
|
||||
*
|
||||
* @deprecated Use {@link edu.wpi.first.math.interpolation.InterpolatingDoubleTreeMap} instead
|
||||
*/
|
||||
@Deprecated(forRemoval = true, since = "2024")
|
||||
public class InterpolatingTreeMap<K extends Number, V extends Number> {
|
||||
private final TreeMap<K, V> m_map = new TreeMap<>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user