Skip to content

Commit 7b2fc8d

Browse files
Javadoc: make what put does more discoverable from overloads
1 parent 01b37b5 commit 7b2fc8d

File tree

1 file changed

+6
-0
lines changed
  • objectbox-java/src/main/java/io/objectbox

1 file changed

+6
-0
lines changed

objectbox-java/src/main/java/io/objectbox/Box.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ public long put(T entity) {
355355

356356
/**
357357
* Puts the given entities in a box using a single transaction.
358+
* <p>
359+
* See {@link #put(Object)} for more details.
358360
*/
359361
@SafeVarargs // Not using T... as Object[], no ClassCastException expected.
360362
public final void put(@Nullable T... entities) {
@@ -375,6 +377,8 @@ public final void put(@Nullable T... entities) {
375377

376378
/**
377379
* Puts the given entities in a box using a single transaction.
380+
* <p>
381+
* See {@link #put(Object)} for more details.
378382
*
379383
* @param entities It is fine to pass null or an empty collection:
380384
* this case is handled efficiently without overhead.
@@ -397,6 +401,8 @@ public void put(@Nullable Collection<T> entities) {
397401

398402
/**
399403
* Puts the given entities in a box in batches using a separate transaction for each batch.
404+
* <p>
405+
* See {@link #put(Object)} for more details.
400406
*
401407
* @param entities It is fine to pass null or an empty collection:
402408
* this case is handled efficiently without overhead.

0 commit comments

Comments
 (0)