public class Updaters extends Object
| Constructor and Description |
|---|
Updaters() |
| Modifier and Type | Method and Description |
|---|---|
static <U> IntegerFieldUpdater<U> |
newIntegerFieldUpdater(Class<? super U> tClass,
String fieldName)
Creates and returns an updater for objects with the given field.
|
static <U> LongFieldUpdater<U> |
newLongFieldUpdater(Class<? super U> tClass,
String fieldName)
Creates and returns an updater for objects with the given field.
|
static <U,W> ReferenceFieldUpdater<U,W> |
newReferenceFieldUpdater(Class<? super U> tClass,
String fieldName)
Creates and returns an updater for objects with the given field.
|
public static <U> IntegerFieldUpdater<U> newIntegerFieldUpdater(Class<? super U> tClass, String fieldName)
tClass - the class of the objects holding the field.fieldName - the name of the field to be updated.public static <U> LongFieldUpdater<U> newLongFieldUpdater(Class<? super U> tClass, String fieldName)
tClass - the class of the objects holding the field.fieldName - the name of the field to be updated.public static <U,W> ReferenceFieldUpdater<U,W> newReferenceFieldUpdater(Class<? super U> tClass, String fieldName)
tClass - the class of the objects holding the field.fieldName - the name of the field to be updated.Copyright © 2024. All rights reserved.