Reputation: 2629
How to indicate that an interface is a part of class? Let's take this case as an example.
public class Function
{
public interface Function2D
{
double GetValue(double x);
}
...
}
Talking more precisely - I need to show the relationship between Function and Function2D in an UML class diagram.
Upvotes: 1
Views: 969
Reputation: 33341
This UML Quick Reference gives an indication of how to represent an Inner class in a UML diagram:
Upvotes: 2