Package | Description |
---|---|
org.genericsystem.api.core | |
org.genericsystem.api.tools |
Modifier and Type | Method and Description |
---|---|
static <T> Snapshot<T> |
Snapshot.empty()
Returns an empty Snapshot.
|
default Snapshot<T> |
Snapshot.filter(IndexFilter filter)
A new Snapshot filtered with the given
IndexFilter . |
default Snapshot<T> |
Snapshot.filter(List<IndexFilter> filters)
A new Snapshot filtered with the given
IndexFilter s. |
default Snapshot<T> |
Snapshot.filter(Predicate<T> predicate)
Returns a new Snapshot containing only the elements matching the given
Predicate . |
static <T> Snapshot<T> |
Snapshot.fromCollection(Collection<T> elements)
Returns a Snapshot containing the elements of the given Collection.
|
Snapshot<T> |
IGeneric.getAttributes()
Returns the attributes of this vertex (directly if this vertex is a type, the attributes of its type if this vertex is an instance).
|
Snapshot<T> |
IGeneric.getAttributes(int pos)
Returns the attributes of this vertex (directly if this vertex is a type, the attributes of its type if this vertex is an instance) for which this vertex is in the specified position in their components.
|
Snapshot<T> |
IGeneric.getAttributes(Serializable value,
T... targets)
Returns the attributes of this vertex (directly if this vertex is a type, the attributes of its type if this vertex is an instance).
|
Snapshot<T> |
IGeneric.getAttributes(T... targets)
Returns the attributes of this vertex (directly if this vertex is a type, the attributes of its type if this vertex is an instance).
|
Snapshot<T> |
IGeneric.getAttributes(T attribute)
Returns the attributes of this vertex that inherit from the specified
attribute . |
Snapshot<T> |
IContext.getAttributes(T generic,
T attribute) |
Snapshot<T> |
IGeneric.getComposites()
Returns composite vertices for which this vertex is a component.
|
Snapshot<T> |
IGeneric.getComposites(Serializable value)
Returns composite vertices for which this vertex is a component.
|
Snapshot<T> |
IGeneric.getHolders(T attribute)
Returns the holders of this vertex that are instances of the specified
attribute . |
Snapshot<T> |
IGeneric.getHolders(T attribute,
int pos)
Returns the holders of this vertex that are instances of the specified attribute and for which this vertex is in the specified position in the components of these holders.
|
Snapshot<T> |
IGeneric.getHolders(T attribute,
Serializable value,
T... targets)
Returns the holders of this vertex that are instances of the specified attribute and for which this vertex is in the specified position in the components of these holders.
|
Snapshot<T> |
IGeneric.getHolders(T attribute,
T... targets)
Returns the holders of this vertex that are instances of the specified attribute and for which this vertex is in the specified position in the components of these holders.
|
Snapshot<T> |
IContext.getHolders(T generic,
T attribute) |
Snapshot<T> |
IGeneric.getInheritings()
Returns vertices that have this vertex as super.
|
Snapshot<T> |
IGeneric.getInheritings(Serializable value,
T... components)
Returns vertices that have this vertex as super.
|
Snapshot<T> |
IGeneric.getInheritings(T... components)
Returns vertices that have this vertex as super.
|
Snapshot<T> |
IGeneric.getInstances()
Returns vertices that have this vertex as meta.
|
Snapshot<T> |
IGeneric.getInstances(List<T> overrides,
Serializable value,
T... components)
Returns vertices that have this vertex as meta.
|
Snapshot<T> |
IGeneric.getInstances(Serializable value,
T... components)
Returns vertices that have this vertex as meta.
|
Snapshot<T> |
IGeneric.getInstances(T... components)
Returns vertices that have this vertex as meta.
|
Snapshot<T> |
IGeneric.getInstances(T override,
Serializable value,
T... components)
Returns vertices that have this vertex as meta.
|
Snapshot<T> |
IGeneric.getLinks(T relation)
Returns the links of this vertex that are instances of the specified
relation . |
Snapshot<T> |
IGeneric.getLinks(T relation,
int pos)
Returns the links of this vertex that are instances of the specified
relation and for which this vertex is in the specified position in the components of these links. |
Snapshot<T> |
IGeneric.getLinks(T relation,
Serializable value,
T... targets)
Returns the links of this vertex that are instances of the specified
relation and for which this vertex is in the specified position in the components of these links. |
Snapshot<T> |
IGeneric.getLinks(T relation,
T... targets)
Returns the links of this vertex that are instances of the specified
relation and for which this vertex is in the specified position in the components of these links. |
default Snapshot<T> |
Snapshot.getParent()
Returns this Snapshot’s parent.
|
Snapshot<T> |
IGeneric.getRelations(int pos)
Returns the relations of this vertex (directly if this vertex is a type, the relations of its type if this vertex is an instance) for which this vertex is in the specified position in their components.
|
Snapshot<T> |
IGeneric.getRelations(Serializable value,
T... targets)
Returns the relations of this vertex that inherit from the specified
relation . |
Snapshot<T> |
IGeneric.getRelations(T... targets)
Returns the relations of this vertex that inherit from the specified
relation . |
Snapshot<T> |
IGeneric.getRelations(T relation)
Returns the relations of this vertex that inherit from the specified
relation . |
Snapshot<T> |
IGeneric.getSubInheritings()
Returns vertices that inherit from this vertex.
|
Snapshot<T> |
IGeneric.getSubInheritings(Serializable value,
T... components)
Returns vertices that inherit from this vertex.
|
Snapshot<T> |
IGeneric.getSubInheritings(T... components)
Returns vertices that inherit from this vertex.
|
Snapshot<T> |
IGeneric.getSubInstances()
Returns vertices that are instances of this vertex.
|
Snapshot<T> |
IGeneric.getSubInstances(List<T> overrides,
Serializable value,
T... components)
Returns vertices that are instances of this vertex.
|
Snapshot<T> |
IGeneric.getSubInstances(Serializable value,
T... components)
Returns vertices that are instances of this vertex.
|
Snapshot<T> |
IGeneric.getSubInstances(T... components)
Returns vertices that are instances of this vertex.
|
Snapshot<T> |
IGeneric.getSubInstances(T override,
Serializable value,
T... components)
Returns vertices that are instances of this vertex.
|
Snapshot<Serializable> |
IGeneric.getValues(T attribute,
int pos)
Returns values for each holder that is instance of the specified
attribute and position and for which this vertex is in the specified position in its components. |
Snapshot<Serializable> |
IGeneric.getValues(T attribute,
Serializable value,
T... targets)
Returns values for each holder that is instance of the specified
attribute and position and for which this vertex is in the specified position in its components. |
Snapshot<Serializable> |
IGeneric.getValues(T attribute,
T... targets)
Returns values for each holder that is instance of the specified
attribute and position and for which this vertex is in the specified position in its components. |
default <U> Snapshot<U> |
Snapshot.map(io.reactivex.functions.Function<T,U> mapper)
Applies a transformation to each element of the Snapshot.
|
static <T> Snapshot<T> |
Snapshot.singleton(T element)
Returns a Snapshot containing only an element.
|
default Snapshot<T> |
Snapshot.sort(Comparator<T> comparator)
Returns a new Snapshot sorted with the given
Comparator . |
default Snapshot<T> |
Snapshot.sorted()
Returns a new Snapshot sorted according to the natural order.
|
Modifier and Type | Field and Description |
---|---|
static Function<Snapshot<?>,Function<IndexFilter,Snapshot<?>>> |
Memoizer.getIndexFilterM |
static Function<Snapshot<?>,Function<IndexFilter,Snapshot<?>>> |
Memoizer.getIndexFilterM |
static Function<Snapshot<?>,Function<List<IndexFilter>,Snapshot<?>>> |
Memoizer.getIndexListFilterM |
static Function<Snapshot<?>,Function<List<IndexFilter>,Snapshot<?>>> |
Memoizer.getIndexListFilterM |
Modifier and Type | Method and Description |
---|---|
static <T> Function<IndexFilter,Snapshot<T>> |
Memoizer.getSnapshotFilterM(Snapshot<T> parent) |
static <T> Function<List<IndexFilter>,Snapshot<T>> |
Memoizer.getSnapshotListFilterM(Snapshot<T> parent) |
Modifier and Type | Method and Description |
---|---|
static <T> Function<IndexFilter,Snapshot<T>> |
Memoizer.getSnapshotFilterM(Snapshot<T> parent) |
static <T> Function<List<IndexFilter>,Snapshot<T>> |
Memoizer.getSnapshotListFilterM(Snapshot<T> parent) |
Copyright © 2022. All rights reserved.