Sdílet prostřednictvím


HasParent<ParentT> Interface

Type Parameters

ParentT

the parent type

public interface HasParent

An interface representing a child that has an immediately available parent.

Method Summary

Modifier and Type Method and Description
abstract ParentT parent()

Gets the parent of this child object.

Method Details

parent

public abstract ParentT parent()

Gets the parent of this child object.

Returns:

the parent of this child object

Applies to