content: package androidx.core.graphics;
  
  import android.graphics.PointF;
  import androidx.core.util.Preconditions;
  
  public final class PathSegment {
      private final PointF mEnd;
      private final float mEndFraction;
      private final PointF mStart;
      private final float mStartFraction;
  
      public PathSegment(PointF start, float startFraction, PointF end, float endFraction) {
          this.mStart = (PointF) Preconditions.checkNotNull(start, "start == null");
          this.mStartFraction = startFraction;
          this.mEnd = (PointF) Preconditions.checkNotNull(end, "end == null");
          this.mEndFraction = endFraction;
      }
  
      public boolean equals(Object o) {
          if (this == o) {
              return true;
          }
          if (!(o instanceof PathSegment)) {
              return false;
          }
          PathSegment pathSegment = (PathSegment) o;
          return Float.compare(this.mStartFraction, pathSegment.mStartFraction) == 0 && Float.compare(this.mEndFraction, pathSegment.mEndFraction) == 0 && this.mStart.equals(pathSegment.mStart) && this.mEnd.equals(pathSegment.mEnd);
      }
  
      public PointF getEnd() {
          return this.mEnd;
      }
  
      public float getEndFraction() {
          return this.mEndFraction;
      }
  
      public PointF getStart() {
          return this.mStart;
      }
  
      public float getStartFraction() {
          return this.mStartFraction;
      }
  
      public int hashCode() {
          int hashCode = this.mStart.hashCode() * 31;
          float f = this.mStartFraction;
          int i = 0;
          int floatToIntBits = (((hashCode + (f != 0.0f ? Float.floatToIntBits(f) : 0)) * 31) + this.mEnd.hashCode()) * 31;
          float f2 = this.mEndFraction;
          if (f2 != 0.0f) {
              i = Float.floatToIntBits(f2);
          }
          return floatToIntBits + i;
      }
  
      public String toString() {
          return "PathSegment{start=" + this.mStart + ", startFraction=" + this.mStartFraction + ", end=" + this.mEnd + ", endFraction=" + this.mEndFraction + '}';
      }
  }
  