@@ -479,10 +479,10 @@ private Query startAt(Node node, String key) {
479
479
}
480
480
481
481
/**
482
- * Create a query constrained to only return child nodes with a value greater than the given
483
- * value, using the given orderBy directive or priority as default.
482
+ * Create a query constrained to only return child nodes with a value less than the given value,
483
+ * using the given orderBy directive or priority as default.
484
484
*
485
- * @param value The value to start at, exclusive
485
+ * @param value The value to end at, exclusive
486
486
* @return A Query with the new constraint
487
487
* @since 19.6
488
488
*/
@@ -492,10 +492,10 @@ public Query endBefore(@Nullable String value) {
492
492
}
493
493
494
494
/**
495
- * Create a query constrained to only return child nodes with a value greater than the given
496
- * value, using the given orderBy directive or priority as default.
495
+ * Create a query constrained to only return child nodes with a value less than the given value,
496
+ * using the given orderBy directive or priority as default.
497
497
*
498
- * @param value The value to start at, exclusive
498
+ * @param value The value to end at, exclusive
499
499
* @return A Query with the new constraint
500
500
* @since 19.6
501
501
*/
@@ -505,10 +505,10 @@ public Query endBefore(double value) {
505
505
}
506
506
507
507
/**
508
- * Create a query constrained to only return child nodes with a value greater than the given
509
- * value, using the given orderBy directive or priority as default.
508
+ * Create a query constrained to only return child nodes with a value less than the given value,
509
+ * using the given orderBy directive or priority as default.
510
510
*
511
- * @param value The value to start at, exclusive
511
+ * @param value The value to end at, exclusive
512
512
* @return A Query with the new constraint
513
513
* @since 19.6
514
514
*/
@@ -518,12 +518,12 @@ public Query endBefore(boolean value) {
518
518
}
519
519
520
520
/**
521
- * Create a query constrained to only return child nodes with a value greater than the given
522
- * value, using the given orderBy directive or priority as default, and additionally only child
523
- * nodes with a key greater than or equal to the given key.
521
+ * Create a query constrained to only return child nodes with a value less than or equal to the
522
+ * given value, using the given orderBy directive or priority as default, and additionally only
523
+ * child nodes with a key less than the given key.
524
524
*
525
- * @param value The priority to start at
526
- * @param key The key to start at, exclusive
525
+ * @param value The value to end at
526
+ * @param key The key to end at, exclusive
527
527
* @return A Query with the new constraint
528
528
* @since 19.6
529
529
*/
@@ -535,12 +535,12 @@ public Query endBefore(@Nullable String value, @Nullable String key) {
535
535
}
536
536
537
537
/**
538
- * Create a query constrained to only return child nodes with a value greater than the given
539
- * value, using the given orderBy directive or priority as default, and additionally only child
540
- * nodes with a key greater than or equal to the given key.
538
+ * Create a query constrained to only return child nodes with a value less than or equal to the
539
+ * given value, using the given orderBy directive or priority as default, and additionally only
540
+ * child nodes with a key less than the given key.
541
541
*
542
- * @param value The priority to start at
543
- * @param key The key name to start at, exclusive
542
+ * @param value The value to end at
543
+ * @param key The key to end at, exclusive
544
544
* @return A Query with the new constraint
545
545
* @since 19.6
546
546
*/
@@ -550,12 +550,12 @@ public Query endBefore(double value, @Nullable String key) {
550
550
}
551
551
552
552
/**
553
- * Create a query constrained to only return child nodes with a value greater than the given
554
- * value, using the given orderBy directive or priority as default, and additionally only child
555
- * nodes with a key greater than or equal to the given key.
553
+ * Create a query constrained to only return child nodes with a value less than or equal to the
554
+ * given value, using the given orderBy directive or priority as default, and additionally only
555
+ * child nodes with a key less than the given key.
556
556
*
557
- * @param value The priority to start at
558
- * @param key The key to start at, exclusive
557
+ * @param value The value to end at
558
+ * @param key The key to end at, exclusive
559
559
* @return A Query with the new constraint
560
560
* @since 19.6
561
561
*/
0 commit comments