Java Code Examples for org.infinispan.commons.util.Util#asSet()

The following examples show how to use org.infinispan.commons.util.Util#asSet() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TestAdvancedExternalizer.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Override
public Set<Class<? extends IdViaConfigObj>> getTypeClasses() {
    return Util.<Class<? extends IdViaConfigObj>> asSet(IdViaConfigObj.class);
}
 
Example 2
Source File: TestAdvancedExternalizer.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Override
public Set<Class<? extends IdViaAnnotationObj>> getTypeClasses() {
    return Util.<Class<? extends IdViaAnnotationObj>> asSet(IdViaAnnotationObj.class);
}
 
Example 3
Source File: TestAdvancedExternalizer.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Override
public Set<Class<? extends IdViaBothObj>> getTypeClasses() {
    return Util.<Class<? extends IdViaBothObj>> asSet(IdViaBothObj.class);
}
 
Example 4
Source File: HAKieSessionDeltaFact.java    From hacep with Apache License 2.0 4 votes vote down vote up
@Override
public Set<Class<? extends HAKieSessionDeltaFact>> getTypeClasses() {
    return Util.asSet(HAKieSessionDeltaFact.class);
}
 
Example 5
Source File: HAKieSessionDeltaEmpty.java    From hacep with Apache License 2.0 4 votes vote down vote up
@Override
public Set<Class<? extends HAKieSessionDeltaEmpty>> getTypeClasses() {
    return Util.asSet(HAKieSessionDeltaEmpty.class);
}