org.modeshape.graph.request.processor
Class RequestProcessor.LocationWithDepth

java.lang.Object
  extended by org.modeshape.graph.request.processor.RequestProcessor.LocationWithDepth
Enclosing class:
RequestProcessor

@Immutable
protected class RequestProcessor.LocationWithDepth
extends Object

A class that represents a location at a known depth

Author:
Randall Hauch

Field Summary
protected  int depth
           
protected  Location location
           
 
Constructor Summary
RequestProcessor.LocationWithDepth(Location location, int depth)
           
 
Method Summary
 int getDepth()
           
 Location getLocation()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

location

protected final Location location

depth

protected final int depth
Constructor Detail

RequestProcessor.LocationWithDepth

public RequestProcessor.LocationWithDepth(Location location,
                                          int depth)
Method Detail

getLocation

public Location getLocation()

getDepth

public int getDepth()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.