Package net.neoforged.fml.classloading
Class ResourceMaskingClassLoader.FilteringEnumeration
java.lang.Object
net.neoforged.fml.classloading.ResourceMaskingClassLoader.FilteringEnumeration
- All Implemented Interfaces:
Enumeration<URL>
- Enclosing class:
ResourceMaskingClassLoader
Filters an enumeration of URLs by using the given predicate.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Enumeration<URL> private @Nullable URLprivate final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprivate voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Enumeration
asIterator
-
Field Details
-
delegate
-
relativePath
-
nextElement
-
-
Constructor Details
-
FilteringEnumeration
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElementsin interfaceEnumeration<URL>
-
nextElement
- Specified by:
nextElementin interfaceEnumeration<URL>
-
seekNextElement
private void seekNextElement()
-