Package net.minecraft.util.path
Record Class AllowedSymlinkPathMatcher.Entry
java.lang.Object
java.lang.Record
net.minecraft.util.path.AllowedSymlinkPathMatcher.Entry
- Record Components:
type-pattern-
- Enclosing class:
AllowedSymlinkPathMatcher
public static record AllowedSymlinkPathMatcher.Entry(AllowedSymlinkPathMatcher.EntryType type, String pattern)
extends Record
- Mappings:
Namespace Name named net/minecraft/util/path/AllowedSymlinkPathMatcher$Entryintermediary net/minecraft/class_8582$class_8583official ewu$anamed typeintermediary comp_1549official anamed patternintermediary comp_1550official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompile(FileSystem fileSystem) final booleanIndicates whether some other object is "equal to" this one.(package private) static AllowedSymlinkPathMatcher.Entryfinal inthashCode()Returns a hash code value for this object.pattern()Returns the value of thepatternrecord component.(package private) static AllowedSymlinkPathMatcher.Entry(package private) static Optional<AllowedSymlinkPathMatcher.Entry> (package private) static AllowedSymlinkPathMatcher.Entryfinal StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Field Details
-
Constructor Details
-
Entry
-
-
Method Details
-
compile
- Mappings:
Namespace Name Mixin selector named compileLnet/minecraft/util/path/AllowedSymlinkPathMatcher$Entry;compile(Ljava/nio/file/FileSystem;)Ljava/nio/file/PathMatcher;intermediary method_52256Lnet/minecraft/class_8582$class_8583;method_52256(Ljava/nio/file/FileSystem;)Ljava/nio/file/PathMatcher;official aLewu$a;a(Ljava/nio/file/FileSystem;)Ljava/nio/file/PathMatcher;
-
readLine
- Mappings:
Namespace Name Mixin selector named readLineLnet/minecraft/util/path/AllowedSymlinkPathMatcher$Entry;readLine(Ljava/lang/String;)Ljava/util/Optional;intermediary method_52255Lnet/minecraft/class_8582$class_8583;method_52255(Ljava/lang/String;)Ljava/util/Optional;official aLewu$a;a(Ljava/lang/String;)Ljava/util/Optional;
-
glob
- Mappings:
Namespace Name Mixin selector named globLnet/minecraft/util/path/AllowedSymlinkPathMatcher$Entry;glob(Ljava/lang/String;)Lnet/minecraft/util/path/AllowedSymlinkPathMatcher$Entry;intermediary method_52257Lnet/minecraft/class_8582$class_8583;method_52257(Ljava/lang/String;)Lnet/minecraft/class_8582$class_8583;official bLewu$a;b(Ljava/lang/String;)Lewu$a;
-
regex
- Mappings:
Namespace Name Mixin selector named regexLnet/minecraft/util/path/AllowedSymlinkPathMatcher$Entry;regex(Ljava/lang/String;)Lnet/minecraft/util/path/AllowedSymlinkPathMatcher$Entry;intermediary method_52258Lnet/minecraft/class_8582$class_8583;method_52258(Ljava/lang/String;)Lnet/minecraft/class_8582$class_8583;official cLewu$a;c(Ljava/lang/String;)Lewu$a;
-
prefix
- Mappings:
Namespace Name Mixin selector named prefixLnet/minecraft/util/path/AllowedSymlinkPathMatcher$Entry;prefix(Ljava/lang/String;)Lnet/minecraft/util/path/AllowedSymlinkPathMatcher$Entry;intermediary method_52259Lnet/minecraft/class_8582$class_8583;method_52259(Ljava/lang/String;)Lnet/minecraft/class_8582$class_8583;official dLewu$a;d(Ljava/lang/String;)Lewu$a;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
pattern
Returns the value of thepatternrecord component.- Returns:
- the value of the
patternrecord component
-