Package io.ciera.runtime.summit.classes
Class InstanceSet<S extends IInstanceSet<S,E>,E extends IModelInstance<E,?>>
- java.lang.Object
-
- io.ciera.runtime.summit.types.Set<E>
-
- io.ciera.runtime.summit.classes.InstanceSet<S,E>
-
- All Implemented Interfaces:
IInstanceSet<S,E>,ISet<E>,IXtumlType,Iterable<E>,Collection<E>,Set<E>
public abstract class InstanceSet<S extends IInstanceSet<S,E>,E extends IModelInstance<E,?>> extends Set<E> implements IInstanceSet<S,E>
-
-
Constructor Summary
Constructors Constructor Description InstanceSet()InstanceSet(Comparator<? super E> comp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(E e)EgetById1(IInstanceIdentifier id1)EgetById2(IInstanceIdentifier id2)EgetById3(IInstanceIdentifier id3)EgetByInstanceId(UniqueId instanceId)booleanremove(Object o)-
Methods inherited from class io.ciera.runtime.summit.types.Set
addAll, any, anyWhere, clear, contains, containsAll, difference, difference, disunion, disunion, equality, intersection, intersection, isEmpty, iterator, removeAll, retainAll, size, sorted, sorted, toArray, toArray, union, union, where
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface io.ciera.runtime.summit.types.ISet
any, anyWhere, difference, difference, disunion, disunion, elements, emptySet, emptySet, intersection, intersection, nullElement, sorted, sorted, union, union, where
-
Methods inherited from interface io.ciera.runtime.summit.types.IXtumlType
equality, inequality, oneWhere, serialize
-
-
-
-
Constructor Detail
-
InstanceSet
public InstanceSet()
-
InstanceSet
public InstanceSet(Comparator<? super E> comp)
-
-
Method Detail
-
add
public boolean add(E e)
- Specified by:
addin interfaceCollection<S extends IInstanceSet<S,E>>- Specified by:
addin interfaceSet<S extends IInstanceSet<S,E>>- Overrides:
addin classSet<E extends IModelInstance<E,?>>
-
remove
public boolean remove(Object o)
- Specified by:
removein interfaceCollection<S extends IInstanceSet<S,E>>- Specified by:
removein interfaceSet<S extends IInstanceSet<S,E>>- Overrides:
removein classSet<E extends IModelInstance<E,?>>
-
getByInstanceId
public E getByInstanceId(UniqueId instanceId) throws XtumlException
- Specified by:
getByInstanceIdin interfaceIInstanceSet<S extends IInstanceSet<S,E>,E extends IModelInstance<E,?>>- Throws:
XtumlException
-
getById1
public E getById1(IInstanceIdentifier id1) throws XtumlException
- Specified by:
getById1in interfaceIInstanceSet<S extends IInstanceSet<S,E>,E extends IModelInstance<E,?>>- Throws:
XtumlException
-
getById2
public E getById2(IInstanceIdentifier id2) throws XtumlException
- Specified by:
getById2in interfaceIInstanceSet<S extends IInstanceSet<S,E>,E extends IModelInstance<E,?>>- Throws:
XtumlException
-
getById3
public E getById3(IInstanceIdentifier id3) throws XtumlException
- Specified by:
getById3in interfaceIInstanceSet<S extends IInstanceSet<S,E>,E extends IModelInstance<E,?>>- Throws:
XtumlException
-
-