TrueZIP Kernel 7.0-rc1

de.schlichtherle.truezip.util
Class Link.Type.StrongLink<T>

java.lang.Object
  extended by de.schlichtherle.truezip.util.Link.Type.StrongLink<T>
All Implemented Interfaces:
Link<T>
Enclosing class:
Link.Type

private static class Link.Type.StrongLink<T>
extends Object
implements Link<T>

A strong reference.


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.schlichtherle.truezip.util.Link
Link.Type
 
Field Summary
private  T target
           
 
Constructor Summary
Link.Type.StrongLink(T target)
           
 
Method Summary
 T getTarget()
          Returns the target of this link.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

target

private final T target
Constructor Detail

Link.Type.StrongLink

Link.Type.StrongLink(T target)
Method Detail

getTarget

public T getTarget()
Description copied from interface: Link
Returns the target of this link.

The returned object reference may be null subject to the terms and conditions of sub-interfaces or implementations.

Specified by:
getTarget in interface Link<T>
Returns:
The target of this link.

toString

public String toString()
Overrides:
toString in class Object

TrueZIP Kernel 7.0-rc1

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.