Lines Matching defs:put
81 * {@link #put} methods. The {@link #put} method will insert the entity if no
88 * oldEntity = primaryIndex.put(new Employee(1, "Jane Smith")); // Inserts an entity
90 * oldEntity = primaryIndex.put(new Employee(2, "Joan Smith")); // Inserts an entity
92 * oldEntity = primaryIndex.put(new Employee(2, "Joan M. Smith")); // Updates an entity
148 * <p>Any method in the family of {@link #put} methods may be used to insert
150 * #put} method returns, the primary key field of the entity object will be set
163 * assigning a new primary key? The answer is that the {@link #put} methods
166 * non-null key field is passed to a {@link #put} method, any existing entity
194 * index.put(entity1);
220 * assigned from a sequence manually before calling the <code>put</code>
312 public E put(E entity)
315 return put(null, entity);
334 public E put(Transaction txn, E entity)
361 cursor.put(keyEntry, dataEntry);
388 * {@link #put(Object)} to save the overhead of returning the existing
408 * {@link #put(Transaction,Object)} to save the overhead of returning the
428 db.put(txn, keyEntry, dataEntry);