Skip to content
Snippets Groups Projects
Verified Commit beb1bd74 authored by Miles Vella's avatar Miles Vella
Browse files

add stub for freetype enumeration

parent 3922fe1e
No related branches found
No related tags found
No related merge requests found
Pipeline #151311 passed
...@@ -613,7 +613,7 @@ public static abstract class <name> extends BFreetype { ...@@ -613,7 +613,7 @@ public static abstract class <name> extends BFreetype {
} }
public static final class <name>Set implements BObject { public static final class <name>Set implements BObject, Iterable\<<name>\> {
public static final <name>Set INSTANCE = new <name>Set(); public static final <name>Set INSTANCE = new <name>Set();
...@@ -632,6 +632,22 @@ public static final class <name>Set implements BObject { ...@@ -632,6 +632,22 @@ public static final class <name>Set implements BObject {
return new BBoolean(false); return new BBoolean(false);
} }
@Override
public java.util.Iterator\<<name>\> iterator() {
return new java.util.Iterator\<<name>\>() {
@Override
public boolean hasNext() {
throw new java.util.UnsupportedOperationException("freetype enumeration not supported");
}
@Override
public <name> next() {
throw new java.util.UnsupportedOperationException("freetype enumeration not supported");
}
};
}
@Override @Override
public boolean equals(Object o) { public boolean equals(Object o) {
return o instanceof <name>Set; return o instanceof <name>Set;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment