@@ -124,7 +124,7 @@ public boolean isValidIndex(String h3Address) {
124124 }
125125
126126 /** Construct a cell index from component parts */
127- public long constructCell (int res , int baseCell , List <Integer > digits ) {
127+ public long constructCell (int res , int baseCellNumber , List <Integer > digits ) {
128128 int [] digitsArray = digits .stream ().mapToInt (Integer ::intValue ).toArray ();
129129 if (digitsArray .length < res ) {
130130 throw new IllegalArgumentException (
@@ -138,12 +138,12 @@ public long constructCell(int res, int baseCell, List<Integer> digits) {
138138 "Additional unused digits provided, must be at most 15 but was %d" ,
139139 digitsArray .length ));
140140 }
141- return h3Api .constructCell (res , baseCell , digitsArray );
141+ return h3Api .constructCell (res , baseCellNumber , digitsArray );
142142 }
143143
144144 /** Construct a cell index from component parts */
145- public String constructCellAddress (int res , int baseCell , List <Integer > digits ) {
146- return h3ToString (constructCell (res , baseCell , digits ));
145+ public String constructCellAddress (int res , int baseCellNumber , List <Integer > digits ) {
146+ return h3ToString (constructCell (res , baseCellNumber , digits ));
147147 }
148148
149149 /** Returns the base cell number for this index. */
0 commit comments