Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FTCLib/FTCLib
/ add
Method
add
core/src/main/java/com/arcrobotics/ftclib/util/LUT.java:11–13 ·
view source on GitHub ↗
(T key, R out)
Source
from the content-addressed store, hash-verified
9
public
class
LUT<T extends Number, R> extends TreeMap<T, R> {
10
11
public
void
add(T key, R out) {
12
put(key, out);
13
}
14
15
/**
16
* Returns the closest possible value
for
the given key.
Callers
15
getClosest
Method · 0.95
testReachesReference
Method · 0.45
testAddDuplicate
Method · 0.45
testCreateLUT
Method · 0.45
testGet
Method · 0.45
testLargeCase
Method · 0.45
set
Function · 0.45
addCommands
Method · 0.45
addWaypoint
Method · 0.45
addCommands
Method · 0.45
addButton
Method · 0.45
onCommandInitialize
Method · 0.45
Calls
no outgoing calls
Tested by
6
getClosest
Method · 0.76
testReachesReference
Method · 0.36
testAddDuplicate
Method · 0.36
testCreateLUT
Method · 0.36
testGet
Method · 0.36
testLargeCase
Method · 0.36