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

io.github.mmm.code.api.member.CodeOperations Maven / Gradle / Ivy

There is a newer version: 0.9.10
Show newest version
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
 * http://www.apache.org/licenses/LICENSE-2.0 */
package io.github.mmm.code.api.member;

/**
 * {@link CodeMembers} as a container for the {@link CodeOperation}s.
 *
 * @author Joerg Hohwiller (hohwille at users.sourceforge.net)
 * @param  type of the contained {@link CodeOperation}s.
 * @since 1.0.0
 */
public abstract interface CodeOperations extends CodeMembers {

  /**
   * @param operation the {@link CodeOperation} copy to look for.
   * @return the {@link CodeOperation} from {@link #getDeclared()} that {@link Object#equals(Object) matches} the given
   *         operation.
   */
  O get(O operation);

  @Override
  CodeOperations copy();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy