XpsArray

Inheritance: java.lang.Object, com.aspose.xps.XpsObject

public abstract class XpsArray<T> extends XpsObject

공통 XPS 모델 배열 객체 기능을 캡슐화하는 클래스.

메서드

메서드설명
add(T obj)배열에 새 객체를 추가합니다.
equals(Object arg0)
get(int i)인덱스 i 로 배열 요소에 접근할 수 있습니다.
getClass()
hashCode()
insert(int index, T obj)지정된 위치에 새 객체를 배열에 삽입합니다.
notify()
notifyAll()
remove(T obj)배열에서 객체를 제거합니다.
removeAt(int index)지정된 위치에서 배열의 객체를 제거합니다.
size()요소 수를 반환합니다.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

add(T obj)

public T add(T obj)

배열에 새 객체를 추가합니다.

Parameters:

매개변수유형설명
objT추가할 객체.

Returns: T - 추가된 객체.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

매개변수유형설명
arg0java.lang.Object

Returns: boolean

get(int i)

public T get(int i)

인덱스 i 로 배열 요소에 접근할 수 있습니다.

Parameters:

매개변수유형설명
iint요소의 인덱스.

Returns: T - i 위치에 있는 요소.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

insert(int index, T obj)

public T insert(int index, T obj)

지정된 위치에 새 객체를 배열에 삽입합니다.

Parameters:

매개변수유형설명
인덱스int객체를 삽입할 위치.
objT삽입할 객체.

Returns: T - 삽입된 객체.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

remove(T obj)

public T remove(T obj)

배열에서 객체를 제거합니다.

Parameters:

매개변수유형설명
objT제거할 객체.

Returns: T - 제거된 객체.

removeAt(int index)

public T removeAt(int index)

지정된 위치에서 배열의 객체를 제거합니다.

Parameters:

매개변수유형설명
인덱스int객체를 제거할 위치.

Returns: T - 제거된 객체.

size()

public int size()

요소 수를 반환합니다.

Returns: int - 요소의 개수.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

매개변수유형설명
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

매개변수유형설명
arg0long
arg1int