Package gov.nasa.worldwind.layers
Class BasicTiledImageLayer.RequestTask
- java.lang.Object
-
- gov.nasa.worldwind.layers.BasicTiledImageLayer.RequestTask
-
- All Implemented Interfaces:
java.lang.Comparable<BasicTiledImageLayer.RequestTask>
,java.lang.Runnable
- Enclosing class:
- BasicTiledImageLayer
protected static class BasicTiledImageLayer.RequestTask extends java.lang.Object implements java.lang.Runnable, java.lang.Comparable<BasicTiledImageLayer.RequestTask>
-
-
Field Summary
Fields Modifier and Type Field Description protected BasicTiledImageLayer
layer
protected TextureTile
tile
-
Constructor Summary
Constructors Modifier Constructor Description protected
RequestTask(TextureTile tile, BasicTiledImageLayer layer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(BasicTiledImageLayer.RequestTask that)
boolean
equals(java.lang.Object o)
int
hashCode()
void
run()
java.lang.String
toString()
-
-
-
Field Detail
-
layer
protected final BasicTiledImageLayer layer
-
tile
protected final TextureTile tile
-
-
Constructor Detail
-
RequestTask
protected RequestTask(TextureTile tile, BasicTiledImageLayer layer)
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
compareTo
public int compareTo(BasicTiledImageLayer.RequestTask that)
- Specified by:
compareTo
in interfacejava.lang.Comparable<BasicTiledImageLayer.RequestTask>
- Parameters:
that
- the task to compare- Returns:
- -1 if
this
less thanthat
, 1 if greater than, 0 if equal - Throws:
java.lang.IllegalArgumentException
- ifthat
is null
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-