Skip to content

Commit 57a3cdf

Browse files
committed
better variable names
1 parent 6e2da35 commit 57a3cdf

File tree

1 file changed

+8
-1
lines changed
  • src/main/java/com/codefork/aoc2024/util

1 file changed

+8
-1
lines changed

src/main/java/com/codefork/aoc2024/util/Grid.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,14 @@
1111
public class Grid {
1212

1313
public interface Reducer<T> {
14-
T apply(T t, int x, int y, String u);
14+
/**
15+
* @param acc accumulator
16+
* @param x x coordinate
17+
* @param y y coordinate
18+
* @param ch character, as a String
19+
* @return final accumulator value
20+
*/
21+
T apply(T acc, int x, int y, String ch);
1522
}
1623

1724
/**

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy