com.iheartradio.m3u8.data.TrackInfo Maven / Gradle / Ivy
package com.iheartradio.m3u8.data;
public class TrackInfo {
public final float duration;
public final String title;
public TrackInfo(float duration, String title) {
this.duration = duration;
this.title = title;
}
@Override
public boolean equals(Object o) {
if (!(o instanceof TrackInfo)) {
return false;
}
TrackInfo other = (TrackInfo) o;
return this.duration == other.duration && ObjectUtil.equals(this.title, other.title);
}
}