io.github.humbleui.skija.shaper.BidiRun Maven / Gradle / Ivy
// Generated by delombok at Wed Sep 14 01:50:49 UTC 2022
package io.github.humbleui.skija.shaper;
import lombok.*;
import org.jetbrains.annotations.*;
public class BidiRun {
@ApiStatus.Internal
public final int _end;
/**
* The unicode bidi embedding level (even ltr, odd rtl)
*/
@ApiStatus.Internal
public final int _level;
@java.lang.SuppressWarnings("all")
public BidiRun(final int end, final int level) {
this._end = end;
this._level = level;
}
@java.lang.SuppressWarnings("all")
public int getEnd() {
return this._end;
}
/**
* The unicode bidi embedding level (even ltr, odd rtl)
*/
@java.lang.SuppressWarnings("all")
public int getLevel() {
return this._level;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof BidiRun)) return false;
final BidiRun other = (BidiRun) o;
if (!other.canEqual((java.lang.Object) this)) return false;
if (this.getEnd() != other.getEnd()) return false;
if (this.getLevel() != other.getLevel()) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof BidiRun;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + this.getEnd();
result = result * PRIME + this.getLevel();
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "BidiRun(_end=" + this.getEnd() + ", _level=" + this.getLevel() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy