Record Class ResourceTransformRequest
java.lang.Object
java.lang.Record
org.maplibre.nativejni.resource.ResourceTransformRequest
Copied request passed to a runtime resource transform callback.
-
Constructor Summary
ConstructorsConstructorDescriptionResourceTransformRequest(ResourceKind kind, int rawKind, String url) Creates an instance of aResourceTransformRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.intrawKind()Returns the value of therawKindrecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
ResourceTransformRequest
Creates an instance of aResourceTransformRequestrecord class.- Parameters:
kind- the value for thekindrecord componentrawKind- the value for therawKindrecord componenturl- the value for theurlrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
rawKind
public int rawKind()Returns the value of therawKindrecord component.- Returns:
- the value of the
rawKindrecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-