PropertyCollection

Inheritance: java.lang.Object

All Implemented Interfaces: java.lang.Iterable

public class PropertyCollection implements Iterable<Property>

属性集合

方法

方法描述
equals(Object arg0)
findProperty(String property)查找属性。
get(int idx)通过索引获取属性。
get(String property)通过属性名称获取属性的值。
getClass()
hashCode()
iterator()返回一个遍历集合的枚举器。
notify()
notifyAll()
removeProperty(Property property)移除动态属性。
removeProperty(String property)移除动态属性。
set(String property, Object value)通过属性名称设置属性的值。
size()获取已声明属性的计数。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.lang.Object

Returns: 布尔

findProperty(String property)

public Property findProperty(String property)

查找属性。它可以是动态属性(由 CreateDynamicProperty/SetProperty 创建)或本机属性(通过其名称标识)

Parameters:

参数类型描述
属性java.lang.String属性名称。

Returns: Property - The property.

get(int idx)

public Property get(int idx)

通过索引获取属性。

Parameters:

参数类型描述
idxint属性的零基索引

Returns: Property - the property by index.

get(String property)

public Object get(String property)

通过属性名称获取属性的值。

Parameters:

参数类型描述
属性java.lang.String属性的名称

Returns: java.lang.Object - 属性的值

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

iterator()

public Iterator<Property> iterator()

返回一个遍历集合的枚举器。

Returns: java.util.Iterator<com.aspose.threed.Property>

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

removeProperty(Property property)

public boolean removeProperty(Property property)

移除动态属性。

Parameters:

参数类型描述
propertyProperty要删除哪个属性

Returns: boolean - 如果属性成功删除则为 true

removeProperty(String property)

public boolean removeProperty(String property)

移除动态属性。

Parameters:

参数类型描述
属性java.lang.String要删除哪个属性

Returns: boolean - 如果属性成功删除则为 true

set(String property, Object value)

public void set(String property, Object value)

通过属性名称设置属性的值。

Parameters:

参数类型描述
属性java.lang.String属性的名称
java.lang.Object新值

size()

public int size()

获取已声明属性的计数。

Returns: int - 已声明属性的计数。

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

参数类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

参数类型描述
arg0long
arg1int