### Question:
SizeComparator implements Comparator<R>, Serializable { @SuppressWarnings("unchecked") public static <R extends Range<?, R>> Comparator<R> get() { return (Comparator<R>) (instance == null ? instance = new SizeComparator<R>() : instance); } private  SizeComparator(); @SuppressWarnings("unchecked") static Comparator<R> get(); @SuppressWarnings("unchecked") static Comparator<R> reverse(); @SuppressWarnings({"unchecked"}) @Override int compare(R left, R right);  }### Answer:
@Test public void testSingletonFactoryMethod() { assertSame(comparator, SizeComparator.<AsnRange>get()); }