ShareOpenGraphValueContainer.Builder

Abstract builder for the ShareOpenGraphValueContainer class.

Mở rộng:Object
Triển khai:ShareModelBuilder
Gói:model
Xây dựng
ShareOpenGraphValueContainer.Builder()
public ShareOpenGraphValueContainer.Builder()
Phương thức thực thể
putBoolean(String, boolean)

Sets a boolean value in the object.

public Builder putBoolean(String key, boolean value)
Thông sốMô tả
keyThe key for the value.
valueThe value.
Returns
The builder.
putBooleanArray(String, boolean)

Sets an array of boolean values in the object.

public Builder putBooleanArray(String key, boolean value)
Thông sốMô tả
keyThe key for the value.
valueThe value.
Returns
The builder.
putDouble(String, double)

Sets a double value in the object.

public Builder putDouble(String key, double value)
Thông sốMô tả
keyThe key for the value.
valueThe value.
Returns
The builder.
putDoubleArray(String, double)

Sets an array of double values in the object.

public Builder putDoubleArray(String key, double value)
Thông sốMô tả
keyThe key for the value.
valueThe value.
Returns
The builder.
putInt(String, int)

Sets an int value in the object.

public Builder putInt(String key, int value)
Thông sốMô tả
keyThe key for the value.
valueThe value.
Returns
The builder.
putIntArray(String, int)

Sets an array of int values in the object.

public Builder putIntArray(String key, int value)
Thông sốMô tả
keyThe key for the value.
valueThe value.
Returns
The builder.
putLong(String, long)

Sets a long value in the object.

public Builder putLong(String key, long value)
Thông sốMô tả
keyThe key for the value.
valueThe value.
Returns
The builder.
putLongArray(String, long)

Sets an array of long values in the object.

public Builder putLongArray(String key, long value)
Thông sốMô tả
keyThe key for the value.
valueThe value.
Returns
The builder.
putObject(String, ShareOpenGraphObject)

Sets an object value in the object.

public Builder putObject(String key, ShareOpenGraphObject value)
Thông sốMô tả
keyThe key for the value.
valueThe value.
Returns
The builder.
putObjectArrayList(String, ArrayList)

Sets an array of object values in the object.

public Builder putObjectArrayList(String key, ArrayList value)
Thông sốMô tả
keyThe key for the value.
valueThe value.
Returns
The builder.
putPhoto(String, SharePhoto)

Sets a photo value in the object.

public Builder putPhoto(String key, SharePhoto value)
Thông sốMô tả
keyThe key for the value.
valueThe value.
Returns
The builder.
putPhotoArrayList(String, ArrayList)

Sets an array of photo values in the object.

public Builder putPhotoArrayList(String key, ArrayList value)
Thông sốMô tả
keyThe key for the value.
valueThe value.
Returns
The builder.
putString(String, String)

Sets a string value in the object.

public Builder putString(String key, String value)
Thông sốMô tả
keyThe key for the value.
valueThe value.
Returns
The builder.
putStringArrayList(String, ArrayList)

Sets an array of string values in the object.

public Builder putStringArrayList(String key, ArrayList value)
Thông sốMô tả
keyThe key for the value.
valueThe value.
Returns
The builder.
readFrom(ShareModel)

Reads the values from a ShareModel into the builder.

public ShareModelBuilder readFrom(ShareModel model)
Thông sốMô tả
modelThe source ShareModel
Returns
The builder.
readFrom(ShareOpenGraphValueContainer)
public Builder readFrom(ShareOpenGraphValueContainer model)
Thông sốMô tả
model