renamed the method "setValue" to "setFieldValue"

This commit is contained in:
javasabr 2018-02-11 22:18:14 +03:00 committed by Nehon
parent 6e00cbc9af
commit 99c1cb7936

View File

@ -206,7 +206,7 @@ public class BufferObject extends NativeObject {
* @param name the field's name. * @param name the field's name.
* @param value the value. * @param value the value.
*/ */
public void setValue(final String name, final Object value) { public void setFieldValue(final String name, final Object value) {
BufferObjectField field = fields.get(name); BufferObjectField field = fields.get(name);
@ -226,7 +226,7 @@ public class BufferObject extends NativeObject {
* @param <T> the value's type. * @param <T> the value's type.
* @return the current value. * @return the current value.
*/ */
public <T> T getValue(final String name) { public <T> T getFieldValue(final String name) {
final BufferObjectField field = fields.get(name); final BufferObjectField field = fields.get(name);
if (field == null) { if (field == null) {