Datasets:
ArXiv:
License:
Stack-Repo / data /test /Hugo-Gao /Design-pattern /IteratorPattern /src /Composite /MenuComponent.java
Download data/test/Hugo-Gao/Design-pattern/IteratorPattern/src/Composite/MenuComponent.java from RepoFusion/Stack-Repo: direct link, hf CLI and curl.
- Browser
- Download file 1.04 kB
-
https://huggingface.co/datasets/RepoFusion/Stack-Repo/resolve/main/data/test/Hugo-Gao/Design-pattern/IteratorPattern/src/Composite/MenuComponent.java
- Command line
-
hf download hf://datasets/RepoFusion/Stack-Repo/data/test/Hugo-Gao/Design-pattern/IteratorPattern/src/Composite/MenuComponent.java
-
curl -L -o MenuComponent.java https://huggingface.co/datasets/RepoFusion/Stack-Repo/resolve/main/data/test/Hugo-Gao/Design-pattern/IteratorPattern/src/Composite/MenuComponent.java
1.04 kB
| package Composite; | |
| import java.util.Iterator; | |
| /** | |
| * Created by Administrator on 2017/7/12. | |
| */ | |
| public class MenuComponent | |
| { | |
| public void add(MenuComponent menuComponent) | |
| { | |
| throw new UnsupportedOperationException(); | |
| } | |
| public void remove(MenuComponent menuComponent) | |
| { | |
| throw new UnsupportedOperationException(); | |
| } | |
| public MenuComponent getChild(int i) | |
| { | |
| throw new UnsupportedOperationException(); | |
| } | |
| public String getName() | |
| { | |
| throw new UnsupportedOperationException(); | |
| } | |
| public String getDescription() | |
| { | |
| throw new UnsupportedOperationException(); | |
| } | |
| public boolean isVegetarian() | |
| { | |
| throw new UnsupportedOperationException(); | |
| } | |
| public double getPrice() | |
| { | |
| throw new UnsupportedOperationException(); | |
| } | |
| public void print() | |
| { | |
| throw new UnsupportedOperationException(); | |
| } | |
| public Iterator createIterator() | |
| { | |
| throw new UnsupportedOperationException(); | |
| } | |
| } | |