public class IfcCollection<T> extends IfcCollectionA implements com.aspose.ms.System.Collections.Generic.IGenericEnumerable<T>
Constructor and Description |
---|
IfcCollection(Class<T> typeOfT) |
Modifier and Type | Method and Description |
---|---|
void |
add(T item) |
boolean |
contains(T item) |
T |
firstOrDefault() |
T |
firstOrDefault(IfcPredicate<T> predicate) |
T |
get_Item(int index) |
int |
getCount() |
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<T> |
iterator() |
<TOut> IfcCollection<TOut> |
ofType(Class<TOut> typeOfTOut) |
<TOut> IfcCollection<TOut> |
select(Class<TOut> typeOfTOut,
IfcSelectPredicate<T,TOut> select) |
void |
set_Item(int index,
T value) |
com.aspose.ms.System.Collections.Generic.IGenericList<T> |
toList() |
boolean |
tryAddItemAsObject(Object item) |
IfcCollection<T> |
where(IfcPredicate<T> predicate) |
<TOut> IfcCollection<TOut> |
whereOfType(Class<TOut> typeOfTOut,
IfcPredicate<TOut> predicate) |
getTypeOfT
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public final int getCount()
public final T get_Item(int index)
public final void set_Item(int index, T value)
public boolean tryAddItemAsObject(Object item)
tryAddItemAsObject
in class IfcCollectionA
public final void add(T item)
public final boolean contains(T item)
public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<T> iterator()
public final <TOut> IfcCollection<TOut> whereOfType(Class<TOut> typeOfTOut, IfcPredicate<TOut> predicate)
public final IfcCollection<T> where(IfcPredicate<T> predicate)
public final <TOut> IfcCollection<TOut> ofType(Class<TOut> typeOfTOut)
public final <TOut> IfcCollection<TOut> select(Class<TOut> typeOfTOut, IfcSelectPredicate<T,TOut> select)
public final T firstOrDefault(IfcPredicate<T> predicate)
public final T firstOrDefault()
public final com.aspose.ms.System.Collections.Generic.IGenericList<T> toList()