package Ġcom . dew . ai h ua . database . history . model Ċ Ċ import Ġandroidx . room . Column Info Ċ import Ġcom . dew . ai h ua . database . stream . model . Stream Entity Ċ import Ġorg . sch abi . new pipe . extractor . stream . Stream Type Ċ import Ġjava . util .* Ċ Ċ /** Ċ Ġ* Ġ ĠCreated Ġby ĠEd ward Ġon Ġ 3 / 2 / 2 0 1 9 . Ċ Ġ*/ Ċ class ĠStream History Entry ( ĊĠĠĠ Ġ@ field : Column Info ( name Ġ= ĠStream Entity . STREAM _ ID ) Ġval Ġuid : ĠLong , ĊĠĠĠ Ġ@ field : Column Info ( name Ġ= ĠStream Entity . STREAM _ SERVICE _ ID ) Ġval Ġservice Id : ĠInt , ĊĠĠĠ Ġ@ field : Column Info ( name Ġ= ĠStream Entity . STREAM _ URL ) Ġval Ġurl : ĠString , ĊĠĠĠ Ġ@ field : Column Info ( name Ġ= ĠStream Entity . STREAM _ TITLE ) Ġval Ġtitle : ĠString , ĊĠĠĠ Ġ@ field : Column Info ( name Ġ= ĠStream Entity . STREAM _ TYPE ) Ġval Ġstream Type : ĠStream Type , ĊĠĠĠ Ġ@ field : Column Info ( name Ġ= ĠStream Entity . STREAM _ DURATION ) Ġval Ġduration : ĠLong , ĊĠĠĠ Ġ@ field : Column Info ( name Ġ= ĠStream Entity . STREAM _ UPLOAD ER ) Ġval Ġup loader : ĠString , ĊĠĠĠ Ġ@ field : Column Info ( name Ġ= ĠStream Entity . STREAM _ TH UMB NA IL _ URL ) Ġval Ġthumbnail Url : ĠString , ĊĠĠĠ Ġ@ field : Column Info ( name Ġ= ĠStream History Entity . JOIN _ STREAM _ ID ) Ġval Ġstream Id : ĠLong , ĊĠĠĠ Ġ@ field : Column Info ( name Ġ= ĠStream History Entity . STREAM _ ACCESS _ DATE ) Ġval Ġaccess Date : ĠDate , ĊĠĠĠ Ġ@ field : Column Info ( name Ġ= ĠStream History Entity . STREAM _ REPEAT _ COUNT ) Ġval Ġrepeat Count : ĠLong ) Ġ{ ĊĊĠĠĠ Ġfun Ġto Stream History Entity (): ĠStream History Entity Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠStream History Entity ( stream Id , Ġaccess Date , Ġrepeat Count ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġhas Equal Values ( other : ĠStream History Entry ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġthis . uid Ġ== Ġother . uid Ġ&& Ġstream Id Ġ== Ġother . stream Id Ġ&& ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġaccess Date . compareTo ( other . access Date ) Ġ== Ġ 0 ĊĠĠĠ Ġ} Ċ } Ċ