@@ -38,7 +38,7 @@ public interface ScrollPosition {
38
38
*
39
39
* @return will never be {@literal null}.
40
40
*/
41
- public static KeysetScrollPosition keyset () {
41
+ static KeysetScrollPosition keyset () {
42
42
return KeysetScrollPosition .initial ();
43
43
}
44
44
@@ -47,7 +47,7 @@ public static KeysetScrollPosition keyset() {
47
47
*
48
48
* @return will never be {@literal null}.
49
49
*/
50
- public static OffsetScrollPosition offset () {
50
+ static OffsetScrollPosition offset () {
51
51
return OffsetScrollPosition .initial ();
52
52
}
53
53
@@ -57,7 +57,7 @@ public static OffsetScrollPosition offset() {
57
57
* @param offset
58
58
* @return a new {@link OffsetScrollPosition} with the given {@code offset}.
59
59
*/
60
- public static OffsetScrollPosition offset (long offset ) {
60
+ static OffsetScrollPosition offset (long offset ) {
61
61
return OffsetScrollPosition .of (offset );
62
62
}
63
63
@@ -67,7 +67,7 @@ public static OffsetScrollPosition offset(long offset) {
67
67
* @param keys must not be {@literal null}.
68
68
* @return will never be {@literal null}.
69
69
*/
70
- public static KeysetScrollPosition forward (Map <String , ?> keys ) {
70
+ static KeysetScrollPosition forward (Map <String , ?> keys ) {
71
71
return of (keys , Direction .FORWARD );
72
72
}
73
73
@@ -77,7 +77,7 @@ public static KeysetScrollPosition forward(Map<String, ?> keys) {
77
77
* @param keys must not be {@literal null}.
78
78
* @return will never be {@literal null}.
79
79
*/
80
- public static KeysetScrollPosition backward (Map <String , ?> keys ) {
80
+ static KeysetScrollPosition backward (Map <String , ?> keys ) {
81
81
return of (keys , Direction .BACKWARD );
82
82
}
83
83
@@ -88,14 +88,14 @@ public static KeysetScrollPosition backward(Map<String, ?> keys) {
88
88
* @param direction must not be {@literal null}.
89
89
* @return will never be {@literal null}.
90
90
*/
91
- public static KeysetScrollPosition of (Map <String , ?> keys , Direction direction ) {
91
+ static KeysetScrollPosition of (Map <String , ?> keys , Direction direction ) {
92
92
return KeysetScrollPosition .of (keys , direction );
93
93
}
94
94
95
95
/**
96
96
* Keyset scrolling direction.
97
97
*/
98
- public enum Direction {
98
+ enum Direction {
99
99
100
100
/**
101
101
* Forward (default) direction to scroll from the beginning of the results to their end.
0 commit comments