MCPcopy
hub / github.com/arduino/Arduino / add

Method add

app/src/processing/app/Base.java:912–918  ·  view source on GitHub ↗
(File file)

Source from the content-addressed store, hash-verified

910 Set<File> recentSketches = new LinkedHashSet<File>() {
911
912 @Override
913 public boolean add(File file) {
914 if (size() >= RECENT_SKETCHES_MAX_SIZE) {
915 return false;
916 }
917 return super.add(file);
918 }
919 };
920
921 for (String path : PreferencesData.getCollection("recent.sketches")) {

Callers 15

serializeFunction · 0.45
serializeFunction · 0.45
testUpdatableLibraryMethod · 0.45
runArduinoMethod · 0.45
initMethod · 0.45
PresentModeClass · 0.45
EditorTabMethod · 0.45
configurePopupMenuMethod · 0.45
windowDeactivatedMethod · 0.45
EditorMethod · 0.45
buildMenuBarMethod · 0.45

Calls 1

sizeMethod · 0.80

Tested by 4

testUpdatableLibraryMethod · 0.36
runArduinoMethod · 0.36
initMethod · 0.36