@Test public void equality() throws Exception { OfframpOptions<String> left = OfframpOptions .builder(String.class) .username("user") .password("pass") .host("host") .roadName("roadName") .streamName("streamName") .build(); OfframpOptions<String> right = OfframpOptions .builder(String.class) .username("user") .password("pass") .host("host") .roadName("roadName") .streamName("streamName") .build(); assertEquals(left, right); }
public static <T> Builder<T> builder(Class<T> payloadClass) { return new Builder<T>(payloadClass); }
OfframpOptions implements Serializable { public static <T> Builder<T> builder(Class<T> payloadClass) { return new Builder<T>(payloadClass); } }
OfframpOptions implements Serializable { public static <T> Builder<T> builder(Class<T> payloadClass) { return new Builder<T>(payloadClass); }  }
OfframpOptions implements Serializable { public static <T> Builder<T> builder(Class<T> payloadClass) { return new Builder<T>(payloadClass); }  static Builder<T> builder(Class<T> payloadClass); }
OfframpOptions implements Serializable { public static <T> Builder<T> builder(Class<T> payloadClass) { return new Builder<T>(payloadClass); }  static Builder<T> builder(Class<T> payloadClass);  }