You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
609 B

package com.github.jreddit.parser.entity.imaginary;
/**
* Interface to abstract over the two possible elements in a
* mixed listing, namely a {@link Comment} or a {@link Submission} thing.
* If an object is of the type of this interface, it means that it <i>must</i>
* be either of the respective {@link Comment} or {@link Submission} class.
*
* @author Simon Kassing
*
* @see com.github.jreddit.parser.entity.Comment
* @see com.github.jreddit.parser.entity.Submission
*/
public interface MixedListingElement {
// Empty because only an abstraction for either a Comment or a Submission thing
}