All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.umlg.runtime.collection.UmlgCollection Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
package org.umlg.runtime.collection;

import org.umlg.runtime.collection.ocl.OclStdLibCollection;

import java.util.Collection;
import java.util.Comparator;

public interface UmlgCollection extends Collection, OclStdLibCollection {
    String ASSOCIATION_CLASS_VERTEX_ID = "associationClassVertexId";
    String ASSOCIATION_CLASS_EDGE_ID = "associationClassEdgeId";

    boolean inverseAdder(E e);

    default boolean addIgnoreInverse(E e) {
        throw new IllegalStateException("addIgnoreInverse() is only supported by a persistent collection BaseCollection!");
    }

    UmlgCollection sortedBy(Comparator e);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy