method2testcases
stringlengths
118
6.63k
### Question: GridSet implements Info { public BoundingBox getBounds() { int i; long tilesWide, tilesHigh; for (i = (getNumLevels() - 1); i > 0; i--) { tilesWide = getGrid(i).getNumTilesWide(); tilesHigh = getGrid(i).getNumTilesHigh(); if (tilesWide == 1 && tilesHigh == 0) { break; } } tilesWide = getGrid(i).getNumTile...
### Question: GridSet implements Info { protected BoundingBox boundsFromRectangle(long[] rectangleExtent) { Grid grid = getGrid((int) rectangleExtent[4]); double width = grid.getResolution() * getTileWidth(); double height = grid.getResolution() * getTileHeight(); long bottomY = rectangleExtent[1]; long topY = rectangl...
### Question: GridSet implements Info { protected long[] closestIndex(BoundingBox tileBounds) throws GridMismatchException { double wRes = tileBounds.getWidth() / getTileWidth(); double bestError = Double.MAX_VALUE; int bestLevel = -1; double bestResolution = -1.0; for (int i = 0; i < getNumLevels(); i++) { Grid grid =...
### Question: GridSet implements Info { public long[] closestRectangle(BoundingBox rectangleBounds) { double rectWidth = rectangleBounds.getWidth(); double rectHeight = rectangleBounds.getHeight(); double bestError = Double.MAX_VALUE; int bestLevel = -1; for (int i = 0; i < getNumLevels(); i++) { Grid grid = getGrid(i)...
### Question: GridSet implements Info { public double[] getOrderedTopLeftCorner(int gridIndex) { double[] leftTop = new double[2]; if (yBaseToggle) { leftTop[0] = tileOrigin()[0]; leftTop[1] = tileOrigin()[1]; } else { Grid grid = getGrid(gridIndex); double dTileHeight = getTileHeight(); double dGridExtent = grid.getNu...
### Question: TileLayerDispatcher implements DisposableBean, InitializingBean, ApplicationContextAware, ConfigurationAggregator<TileLayerConfiguration> { public synchronized void addLayer(final TileLayer tl) throws IllegalArgumentException { for (TileLayerConfiguration c ...
### Question: TileLayerDispatcher implements DisposableBean, InitializingBean, ApplicationContextAware, ConfigurationAggregator<TileLayerConfiguration> { public synchronized void removeLayer(final String layerName) throws IllegalArgumentException { for (TileLayerConfigura...
### Question: TileLayerDispatcher implements DisposableBean, InitializingBean, ApplicationContextAware, ConfigurationAggregator<TileLayerConfiguration> { public synchronized void modify(final TileLayer tl) throws IllegalArgumentException { TileLayerConfiguration config = ...
### Question: TileLayerDispatcher implements DisposableBean, InitializingBean, ApplicationContextAware, ConfigurationAggregator<TileLayerConfiguration> { public synchronized void addGridSet(final GridSet gridSet) throws IllegalArgumentException, IOException { if (null != ...
### Question: TileLayerDispatcher implements DisposableBean, InitializingBean, ApplicationContextAware, ConfigurationAggregator<TileLayerConfiguration> { public synchronized void removeGridSet(String gridsetToRemove) { if (StreamSupport.stream(getLayerList().spliterator()...
### Question: HelloControllerWithRepository { @GetMapping("/hello/data/{name}") public Hello sayHi(@PathVariable String name) { Optional<Person> foundPerson = personRepository.findByFirstName(name); String result = foundPerson .map(person -> String.format("Hello %s", person.getFirstName())) .orElse("Data not found"); r...
### Question: Hello { public String getMessage() { return message; } Hello(String message); String getMessage(); void setMessage(String message); }### Answer: @Test public void success_to_create_model_with_constructor() { Hello hello = new Hello("Somkiat"); assertEquals("Somkiat", hello.getMessage()); }
### Question: HelloWithRepositoryController { @GetMapping("/hello/data/{name}") public Hello sayHi(@PathVariable String name) { Optional<Person> person = personRepository.findByFirstName(name); String message = person.map(person1 -> String.format("Hello %s", person1.getFirstName())) .orElse("Data not found"); return ne...
### Question: Hello { public String getMessage() { return message; } Hello(String message); String getMessage(); }### Answer: @Test public void shouldReturnSomkiat() { Hello hello = new Hello("somkiat"); assertEquals("somkiat", hello.getMessage()); }
### Question: Recommendations extends SimpleBenchmark { public Map<Integer, List<Integer>> calculateRecommendations(int reps) { Map<Integer, List<Integer>> results = null; for (int i = 0; i < reps; i++) { results = lambdaRecommendations.calculateRecommendations(); } return results; } void setPurchases(Purchases purcha...
### Question: BaseController extends Controller { @NonNull @Override protected final View onCreateView(@NonNull LayoutInflater inflater, @NonNull ViewGroup container) { U view = createView(inflater, container); view.setController(getThis()); return view; } BaseController(); BaseController(@Nullable Bundle args); }##...
### Question: LoginPresenter extends BasePresenter<V, I> implements LoginMvpPresenter<V, I> { @Override public void onServerLoginClick(String email, String password) { if (email == null || email.isEmpty()) { getMvpView().onError(R.string.empty_email); return; } if (!CommonUtils.isEmailValid(email)) { getMvpView().onErr...
### Question: TasksRepository implements TasksDataSource { @Override public void getTask(@NonNull final String taskId, @NonNull final GetTaskCallback callback) { checkNotNull(taskId); checkNotNull(callback); Task cachedTask = getTaskWithId(taskId); if (cachedTask != null) { callback.onTaskLoaded(cachedTask); return; } ...
### Question: TasksPresenter implements TasksContract.Presenter { @Override public void addNewTask() { if (mTasksView != null) { mTasksView.showAddTask(); } } @Inject TasksPresenter(TasksRepository tasksRepository); @Override void result(int requestCode, int resultCode); @Override void loadTasks(boolean forceUpdate); ...
### Question: TasksPresenter implements TasksContract.Presenter { @Override public void openTaskDetails(@NonNull Task requestedTask) { checkNotNull(requestedTask, "requestedTask cannot be null!"); if (mTasksView != null) { mTasksView.showTaskDetailsUi(requestedTask.getId()); } } @Inject TasksPresenter(TasksRepository ...
### Question: TasksPresenter implements TasksContract.Presenter { @Override public void completeTask(@NonNull Task completedTask) { checkNotNull(completedTask, "completedTask cannot be null!"); mTasksRepository.completeTask(completedTask); if (mTasksView != null) { mTasksView.showTaskMarkedComplete(); } loadTasks(false...
### Question: TaskDetailPresenter implements TaskDetailContract.Presenter { @Override public void takeView(TaskDetailContract.View taskDetailView) { mTaskDetailView = taskDetailView; openTask(); } @Inject TaskDetailPresenter(@Nullable String taskId, TasksRepository tasksRepository); @Override v...
### Question: TaskDetailPresenter implements TaskDetailContract.Presenter { @Override public void deleteTask() { if (Strings.isNullOrEmpty(mTaskId)) { if (mTaskDetailView != null) { mTaskDetailView.showMissingTask(); } return; } mTasksRepository.deleteTask(mTaskId); if (mTaskDetailView != null) { mTaskDetailView.showTa...
### Question: TaskDetailPresenter implements TaskDetailContract.Presenter { @Override public void completeTask() { if (Strings.isNullOrEmpty(mTaskId)) { if (mTaskDetailView != null) { mTaskDetailView.showMissingTask(); } return; } mTasksRepository.completeTask(mTaskId); if (mTaskDetailView != null) { mTaskDetailView.sh...
### Question: TaskDetailPresenter implements TaskDetailContract.Presenter { @Override public void activateTask() { if (Strings.isNullOrEmpty(mTaskId)) { if (mTaskDetailView != null) { mTaskDetailView.showMissingTask(); } return; } mTasksRepository.activateTask(mTaskId); if (mTaskDetailView != null) { mTaskDetailView.sh...
### Question: TasksRepository implements TasksDataSource { @Override public Flowable<List<Task>> getTasks() { if (mCachedTasks != null && !mCacheIsDirty) { return Flowable.fromIterable(mCachedTasks.values()).toList().toFlowable(); } else if (mCachedTasks == null) { mCachedTasks = new LinkedHashMap<>(); } Flowable<List<...
### Question: TasksRepository implements TasksDataSource { @Override public void saveTask(@NonNull Task task) { checkNotNull(task); mTasksRemoteDataSource.saveTask(task); mTasksLocalDataSource.saveTask(task); if (mCachedTasks == null) { mCachedTasks = new LinkedHashMap<>(); } mCachedTasks.put(task.getId(), task); } pri...
### Question: TasksRepository implements TasksDataSource { @Override public Flowable<Optional<Task>> getTask(@NonNull final String taskId) { checkNotNull(taskId); final Task cachedTask = getTaskWithId(taskId); if (cachedTask != null) { return Flowable.just(Optional.of(cachedTask)); } if (mCachedTasks == null) { mCached...
### Question: AddEditTaskPresenter implements AddEditTaskContract.Presenter { @Override public void populateTask() { if (isNewTask()) { throw new RuntimeException("populateTask() was called but task is new."); } mCompositeDisposable.add(mTasksRepository .getTask(mTaskId) .subscribeOn(mSchedulerProvider.computation()) ....
### Question: ByteArrayDequeue { public void push(byte[] src) { push(src, 0, src.length); } ByteArrayDequeue(); ByteArrayDequeue(int initalCapacity); int getRemaining(); void push(byte[] src); void push(byte[] src, int srcOffset, int srcLengthToPush); void pushLast(byte[] src); void pushLast(byte[] src, int srcOffset...
### Question: ClassUtils { public static String getMethodsList(Class<?> type) { final String SEPARATOR = ","; final List<Method> methods = Arrays.asList(type.getDeclaredMethods()); StringBuilder result = new StringBuilder(); Collections.sort(methods, (o1, o2) -> o1.getName().compareToIgnoreCase(o2.getName())); for (Met...
### Question: IssueTextUtils { public static String getFormattedIssueName(String issue, String volume, int number) { String name; if (issue != null) { name = String.format(Locale.US, "%s #%d - %s", volume, number, issue); } else { name = String.format(Locale.US, "%s #%d", volume, number); } return name; } static Strin...
### Question: IssueTextUtils { public static String getFormattedIssueTitle(String volume, int number) { return String.format(Locale.US, "%s #%d", volume, number); } static String getFormattedIssueName(String issue, String volume, int number); static String getFormattedIssueTitle(String volume, int number); }### Answe...
### Question: AvroHeadersFunction implements Function<AvroWrapper, List<String>> { List<String> getColumns(List<Schema.Field> fields) { List<String> columns = new ArrayList<>(fields.size()); for (Schema.Field field : fields) { switch (field.schema().getType()) { case RECORD: case MAP: case ARRAY: break; default: column...
### Question: SparkVerifier { static int getMaximumNumberOfGroups(BoundedDouble approxCountBoundedDouble, int maxGroupSize) { long countApprox = Math.round(approxCountBoundedDouble.mean()); LOGGER.info("Approximate count of expected results: " + countApprox); LOGGER.info("Maximum group size: " + maxGroupSize); long max...
### Question: TableVerifier extends TestWatcher { public final TableVerifier withoutPartialMatchTimeout() { return this.withPartialMatchTimeoutMillis(0); } final TableVerifier withExpectedDir(String expectedDirPath); final TableVerifier withExpectedDir(File expectedDir); final TableVerifier withOutputDir(String output...
### Question: TableAdapters { public static VerifiableTable withRows(VerifiableTable delegate, IntPredicate rowFilter) { return new RowFilterAdapter(delegate, rowFilter); } private TableAdapters(); static VerifiableTable withRows(VerifiableTable delegate, IntPredicate rowFilter); static VerifiableTable withColumns(Ver...
### Question: TableAdapters { public static VerifiableTable withColumns(VerifiableTable delegate, Predicate<String> columnFilter) { return new ColumnFilterAdapter(delegate, columnFilter); } private TableAdapters(); static VerifiableTable withRows(VerifiableTable delegate, IntPredicate rowFilter); static VerifiableTabl...
### Question: ExpectedResultsParser { public ExpectedResults parse() { this.results = new ExpectedResults(); try (InputStream inputStream = this.loader.load(this.file)) { BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream, StandardCharsets.UTF_8)); parse(reader); return this.results; } catch (...
### Question: ExpectedResultsParser { ExpectedResults getExpectedResults() { return this.results; } ExpectedResultsParser(ExpectedResultsLoader loader, File file); ExpectedResults parse(); }### Answer: @Test public void testCache() { File expected = new File(TableTestUtils.getExpectedDirectory(), ExpectedResultsParser...
### Question: ResultSetTable { public static VerifiableTable create(ResultSet resultSet) throws SQLException { ResultSetMetaData metaData = resultSet.getMetaData(); int columnCount = metaData.getColumnCount(); List<String> headers = new ArrayList<>(columnCount); for (int n = 1; n <= columnCount; n++) { headers.add(meta...
### Question: ListVerifiableTable implements VerifiableTable { @Override public int getRowCount() { return this.data.size(); } ListVerifiableTable(List<List<Object>> headersAndData); ListVerifiableTable(List<?> headers, List<List<Object>> data); static VerifiableTable create(Iterable<List> headersAndRows); static Veri...
### Question: ListVerifiableTable implements VerifiableTable { public static VerifiableTable create(Iterable<List> headersAndRows) { Iterator<List> iterator = headersAndRows.iterator(); List headers = iterator.next(); headers.forEach(ListVerifiableTable::verifyHeader); List rowList = new ArrayList(); iterator.forEachRe...
### Question: CellFormatter implements Function<Object, String>, Serializable { public String format(Object value) { if (isNumber(value)) { if (value.equals(Double.NaN) || value.equals(Float.NaN)) { return "NaN"; } String formatted = this.numberFormat.format(value); if (isNegativeZero(formatted)) { return formatted.sub...
### Question: CellFormatter implements Function<Object, String>, Serializable { private String formatString(String untrimmedValue) { String value = untrimmedValue.trim(); this.builder.setLength(0); boolean changed = false; for (int i = 0; i < value.length(); i++) { char c = value.charAt(i); if (Character.isWhitespace(c...
### Question: ExceptionHtml { static String stackTraceToString(Throwable e) throws UnsupportedEncodingException { ByteArrayOutputStream bytes = new ByteArrayOutputStream(); PrintStream out = new PrintStream(bytes, false, "UTF-8"); stackTraceToString(e, out); out.close(); return bytes.toString("UTF-8"); } private Excep...
### Question: UnmatchedIndexMap extends IndexMap { public void addMatch(int matchScore, UnmatchedIndexMap match) { if (this.equals(match)) { throw new IllegalArgumentException("Cannot add this as partial match"); } if (this.partialMatches == null) { this.partialMatches = new TreeSet<>(); } if (match.partialMatches == n...
### Question: UnmatchedIndexMap extends IndexMap { public UnmatchedIndexMap getBestMutualMatch() { return this.bestMutualMatch; } UnmatchedIndexMap(int expectedIndex, int actualIndex); void addMatch(int matchScore, UnmatchedIndexMap match); boolean match(); UnmatchedIndexMap getBestMutualMatch(); }### Answer: @Test pu...
### Question: TimeBoundPartialMatcher implements PartialMatcher { @Override public void match(final List<UnmatchedIndexMap> allMissingRows, final List<UnmatchedIndexMap> allSurplusRows, final List<IndexMap> matchedColumns) { LOGGER.debug("Starting partial match"); ExecutorService executorService = Executors.newSingleTh...
### Question: IndexMap implements Comparable<IndexMap> { @Override public int compareTo(IndexMap that) { if (this.equals(that)) { return 0; } if (this.isMatched()) { if (that.actualIndex >= 0) { return compareUnequals(this.actualIndex, that.actualIndex, this.isSurplus()); } return compareUnequals(this.expectedIndex, th...
### Question: SummaryResultTable implements FormattableTable, Serializable { public SummaryResultTable merge(SummaryResultTable resultTable) { List<ResultCell> nextHeaders = resultTable.getHeaders(); if (this.headers == null || nextHeaders.size() > this.headers.size()) { this.headers = nextHeaders; } this.passedCellCou...
### Question: MultiTableVerifier { public Map<String, ResultTable> verifyTables(Map<String, ? extends VerifiableTable> expectedResults, Map<String, ? extends VerifiableTable> actualResults) { Map<String, ResultTable> results = new LinkedHashMap<>(); List<String> allTableNames = new ArrayList<>(expectedResults.keySet())...
### Question: SparkVerifier { public SparkVerifier withTolerance(double tolerance) { this.columnComparatorsBuilder.withTolerance(tolerance); return this; } SparkVerifier(List<String> groupKeyColumns); final SparkVerifier withMetadata(String name, String value); SparkVerifier withIgnoreSurplusColumns(boolean ignoreSurpl...
### Question: UnitOfWorkInvokerFactory { public Invoker create(Object service, Invoker rootInvoker, SessionFactory sessionFactory) { ImmutableMap.Builder<String, UnitOfWork> unitOfWorkMethodsBuilder = new ImmutableMap.Builder<>(); for (Method m : service.getClass().getMethods()) { if (m.isAnnotationPresent(UnitOfWork.c...
### Question: ValidatingInvoker extends AbstractInvoker { @Override public Object invoke(Exchange exchange, Object o) { Annotation[][] parameterAnnotations = this.getTargetMethod(exchange).getParameterAnnotations(); List<Object> params = null; if (o instanceof List) { params = CastUtils.cast((List<?>) o); } else if (o ...
### Question: JAXWSBundle implements ConfiguredBundle<C> { public Endpoint publishEndpoint(EndpointBuilder endpointBuilder) { checkArgument(endpointBuilder != null, "EndpointBuilder is null"); return this.jaxwsEnvironment.publishEndpoint(endpointBuilder); } JAXWSBundle(); JAXWSBundle(String servletPath); JAXWSBundle(...
### Question: JAXWSBundle implements ConfiguredBundle<C> { @Deprecated public <T> T getClient(Class<T> serviceClass, String address, Handler...handlers) { checkArgument(serviceClass != null, "ServiceClass is null"); checkArgument(address != null, "Address is null"); checkArgument((address).trim().length() > 0, "Address...
### Question: JAXWSEnvironment { public HttpServlet buildServlet() { CXFNonSpringServlet cxf = new CXFNonSpringServlet(); cxf.setBus(bus); return cxf; } JAXWSEnvironment(String defaultPath); String getDefaultPath(); HttpServlet buildServlet(); void setPublishedEndpointUrlPrefix(String publishedEndpointUrlPrefix); void ...
### Question: CertificateEnrollmentListOptions extends ListOptions { @Override public CertificateEnrollmentListOptions clone() { final CertificateEnrollmentListOptions opt = new CertificateEnrollmentListOptions(); opt.setOptions(this); return opt; } @Internal CertificateEnrollmentListOptions(Integer pageSize, Long max...
### Question: CertificateEnrollmentListOptions extends ListOptions { @Override @SuppressWarnings("PMD.UselessOverridingMethod") public int hashCode() { return super.hashCode(); } @Internal CertificateEnrollmentListOptions(Integer pageSize, Long maxResults, Order order, String after, ...
### Question: SubtenantTrustedCertificateListOptions extends ListOptions { @Override public SubtenantTrustedCertificateListOptions clone() { final SubtenantTrustedCertificateListOptions opt = new SubtenantTrustedCertificateListOptions(); opt.setOptions(this); return opt; } @Internal SubtenantTrustedCertificateListOpti...
### Question: CertificateEnrollmentDao extends AbstractModelDao<CertificateEnrollment> implements ReadDao<CertificateEnrollment> { @Override @SuppressWarnings({ "resource", "unused" }) public CertificateEnrollmentDao clone() { try { return new CertificateEnrollmentDao().configureAndGet(getModuleOrThrow() == null ? null...
### Question: PreSharedKeyDao extends AbstractPreSharedKeyDao { @Override @SuppressWarnings({ "resource", "unused" }) public PreSharedKeyDao clone() { try { return new PreSharedKeyDao().configureAndGet(getModuleOrThrow() == null ? null : getModuleOrThrow().clone()); } catch (MbedCloudException exception) { return null;...
### Question: CertificateEnrollmentListDao extends AbstractModelListDao<CertificateEnrollment, CertificateEnrollmentListOptions> implements ModelListDao<CertificateEnrollment, CertificateEnrollmentListOptions> { @Override @SuppressWarni...
### Question: CertificateIssuerConfigListDao extends AbstractModelListDao<CertificateIssuerConfig, CertificateIssuerConfigListOptions> implements ModelListDao<Certific...
### Question: TranslationUtils { public static double toDouble(Number value) { return toDouble(value, 0.0); } private TranslationUtils(); static Date toDate(DateTime date); static Date toDate(LocalDate ldate); static Date toDate(Calendar date); static Date toDate(Number timestamp); static Date toDate(Number timestamp,...
### Question: CertificateIssuerConfigDao extends AbstractModelDao<CertificateIssuerConfig> implements CrudDao<CertificateIssuerConfig> { @Override @SuppressWarnings({ "resource", "unused" }) public CertificateIssuerConfigDao clone() { try { return new CertificateIssuerConfigDao().configureAndGet(getModuleOrThrow() == n...
### Question: ServerCredentialsDao extends AbstractModelDao<ServerCredentials> { @Override @SuppressWarnings({ "resource", "unused" }) public ServerCredentialsDao clone() { try { return new ServerCredentialsDao().configureAndGet(getModuleOrThrow() == null ? null : getModuleOrThrow().clone()); } catch (MbedCloudExceptio...
### Question: TrustedCertificateListDao extends AbstractModelListDao<TrustedCertificate, TrustedCertificateListOptions> implements ModelListDao<TrustedCertificate, TrustedCertificateListOptions> { @Override @SuppressWarnings({ "resource", "unused" }) public TrustedCertificateListDao clone() { try { return new TrustedCe...
### Question: CertificateIssuerDao extends AbstractCertificateIssuerDao { @Override @SuppressWarnings({ "resource", "unused" }) public CertificateIssuerDao clone() { try { return new CertificateIssuerDao().configureAndGet(getModuleOrThrow() == null ? null : getModuleOrThrow().clone()); } catch (MbedCloudException excep...
### Question: TrustedCertificateListOptions extends ListOptions { @Override public TrustedCertificateListOptions clone() { final TrustedCertificateListOptions opt = new TrustedCertificateListOptions(); opt.setOptions(this); return opt; } @Internal TrustedCertificateListOptions(Integer pageSize, Long maxResults, Order ...
### Question: TrustedCertificateListOptions extends ListOptions { @Override @SuppressWarnings("PMD.UselessOverridingMethod") public int hashCode() { return super.hashCode(); } @Internal TrustedCertificateListOptions(Integer pageSize, Long maxResults, Order order, String after, ...
### Question: PreSharedKeyListOptions extends ListOptions { @Override public PreSharedKeyListOptions clone() { final PreSharedKeyListOptions opt = new PreSharedKeyListOptions(); opt.setOptions(this); return opt; } @Internal PreSharedKeyListOptions(Integer pageSize, Long maxResults, Order order, String after, ...
### Question: PreSharedKeyListOptions extends ListOptions { @Override @SuppressWarnings("PMD.UselessOverridingMethod") public int hashCode() { return super.hashCode(); } @Internal PreSharedKeyListOptions(Integer pageSize, Long maxResults, Order order, String after, List<IncludeField>...
### Question: PreSharedKeyListOptions extends ListOptions { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!super.equals(obj)) { return false; } if (!(obj instanceof PreSharedKeyListOptions)) { return false; } final PreSharedKeyListOptions other = ...
### Question: SubtenantLightThemeColorDao extends AbstractSubtenantLightThemeColorDao { @Override @SuppressWarnings({ "resource", "unused" }) public SubtenantLightThemeColorDao clone() { try { return new SubtenantLightThemeColorDao().configureAndGet(getModuleOrThrow() == null ? null : getModuleOrThrow().clone()); } cat...
### Question: LightThemeColorListDao extends AbstractModelListDao<LightThemeColor, LightThemeColorListOptions> implements ModelListDao<LightThemeColor, LightThemeColorListOptions> { @Override @SuppressWarnings({ "resource", "unused" }) public LightThemeColorListDao clone() { try { return new LightThemeColorListDao().co...
### Question: SubtenantDarkThemeImageListOptions extends ListOptions { @Override public SubtenantDarkThemeImageListOptions clone() { final SubtenantDarkThemeImageListOptions opt = new SubtenantDarkThemeImageListOptions(); opt.setOptions(this); return opt; } @Internal SubtenantDarkThemeImageListOptions(Integer pageSize...
### Question: SubtenantDarkThemeImageListOptions extends ListOptions { @Override @SuppressWarnings("PMD.UselessOverridingMethod") public int hashCode() { return super.hashCode(); } @Internal SubtenantDarkThemeImageListOptions(Integer pageSize, Long maxResults, Order order, String after, ...
### Question: SubtenantDarkThemeImageListOptions extends ListOptions { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!super.equals(obj)) { return false; } if (!(obj instanceof SubtenantDarkThemeImageListOptions)) { return false; } final SubtenantD...
### Question: SubtenantLightThemeImageListOptions extends ListOptions { @Override public SubtenantLightThemeImageListOptions clone() { final SubtenantLightThemeImageListOptions opt = new SubtenantLightThemeImageListOptions(); opt.setOptions(this); return opt; } @Internal SubtenantLightThemeImageListOptions(Integer pag...
### Question: SubtenantLightThemeImageListOptions extends ListOptions { @Override @SuppressWarnings("PMD.UselessOverridingMethod") public int hashCode() { return super.hashCode(); } @Internal SubtenantLightThemeImageListOptions(Integer pageSize, Long maxResults, Order order, String after, ...
### Question: SubtenantLightThemeImageListOptions extends ListOptions { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!super.equals(obj)) { return false; } if (!(obj instanceof SubtenantLightThemeImageListOptions)) { return false; } final Subtenan...
### Question: LightThemeColorDao extends AbstractLightThemeColorDao { @Override @SuppressWarnings({ "resource", "unused" }) public LightThemeColorDao clone() { try { return new LightThemeColorDao().configureAndGet(getModuleOrThrow() == null ? null : getModuleOrThrow().clone()); } catch (MbedCloudException exception) { ...
### Question: SubtenantLightThemeImageDao extends AbstractSubtenantLightThemeImageDao { @Override @SuppressWarnings({ "resource", "unused" }) public SubtenantLightThemeImageDao clone() { try { return new SubtenantLightThemeImageDao().configureAndGet(getModuleOrThrow() == null ? null : getModuleOrThrow().clone()); } cat...
### Question: LightThemeImageListDao extends AbstractModelListDao<LightThemeImage, LightThemeImageListOptions> implements ModelListDao<LightThemeImage, LightThemeImageListOptions> { @Override @SuppressWarnings({ "resource", "unused" }) public LightThemeImageListDao clone() { try { return new LightThemeImageListDao().co...
### Question: DarkThemeImageListDao extends AbstractModelListDao<DarkThemeImage, DarkThemeImageListOptions> implements ModelListDao<DarkThemeImage, DarkThemeImageListOptions> { @Override @SuppressWarnings({ "resource", "unused" }) public DarkThemeImageListDao clone() { try { return new DarkThemeImageListDao().configure...
### Question: SubtenantDarkThemeImageDao extends AbstractSubtenantDarkThemeImageDao { @Override @SuppressWarnings({ "resource", "unused" }) public SubtenantDarkThemeImageDao clone() { try { return new SubtenantDarkThemeImageDao().configureAndGet(getModuleOrThrow() == null ? null : getModuleOrThrow().clone()); } catch (...
### Question: LightThemeImageDao extends AbstractLightThemeImageDao { @Override @SuppressWarnings({ "resource", "unused" }) public LightThemeImageDao clone() { try { return new LightThemeImageDao().configureAndGet(getModuleOrThrow() == null ? null : getModuleOrThrow().clone()); } catch (MbedCloudException exception) { ...
### Question: DarkThemeColorListOptions extends ListOptions { @Override public DarkThemeColorListOptions clone() { final DarkThemeColorListOptions opt = new DarkThemeColorListOptions(); opt.setOptions(this); return opt; } @Internal DarkThemeColorListOptions(Integer pageSize, Long maxResults, Order order, String after,...
### Question: DarkThemeColorListOptions extends ListOptions { @Override @SuppressWarnings("PMD.UselessOverridingMethod") public int hashCode() { return super.hashCode(); } @Internal DarkThemeColorListOptions(Integer pageSize, Long maxResults, Order order, String after, List<Include...
### Question: DarkThemeColorListOptions extends ListOptions { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!super.equals(obj)) { return false; } if (!(obj instanceof DarkThemeColorListOptions)) { return false; } final DarkThemeColorListOptions ot...
### Question: SubtenantLightThemeColorListOptions extends ListOptions { @Override public SubtenantLightThemeColorListOptions clone() { final SubtenantLightThemeColorListOptions opt = new SubtenantLightThemeColorListOptions(); opt.setOptions(this); return opt; } @Internal SubtenantLightThemeColorListOptions(Integer pag...
### Question: SubtenantLightThemeColorListOptions extends ListOptions { @Override @SuppressWarnings("PMD.UselessOverridingMethod") public int hashCode() { return super.hashCode(); } @Internal SubtenantLightThemeColorListOptions(Integer pageSize, Long maxResults, Order order, String after, ...
### Question: SubtenantLightThemeColorListOptions extends ListOptions { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!super.equals(obj)) { return false; } if (!(obj instanceof SubtenantLightThemeColorListOptions)) { return false; } final Subtenan...
### Question: SubtenantDarkThemeColorDao extends AbstractSubtenantDarkThemeColorDao { @Override @SuppressWarnings({ "resource", "unused" }) public SubtenantDarkThemeColorDao clone() { try { return new SubtenantDarkThemeColorDao().configureAndGet(getModuleOrThrow() == null ? null : getModuleOrThrow().clone()); } catch (...
### Question: DarkThemeColorDao extends AbstractDarkThemeColorDao { @Override @SuppressWarnings({ "resource", "unused" }) public DarkThemeColorDao clone() { try { return new DarkThemeColorDao().configureAndGet(getModuleOrThrow() == null ? null : getModuleOrThrow().clone()); } catch (MbedCloudException exception) { retu...
### Question: DarkThemeImageDao extends AbstractDarkThemeImageDao { @Override @SuppressWarnings({ "resource", "unused" }) public DarkThemeImageDao clone() { try { return new DarkThemeImageDao().configureAndGet(getModuleOrThrow() == null ? null : getModuleOrThrow().clone()); } catch (MbedCloudException exception) { retu...
### Question: LightThemeColorListOptions extends ListOptions { @Override public LightThemeColorListOptions clone() { final LightThemeColorListOptions opt = new LightThemeColorListOptions(); opt.setOptions(this); return opt; } @Internal LightThemeColorListOptions(Integer pageSize, Long maxResults, Order order, String a...
### Question: LightThemeColorListOptions extends ListOptions { @Override @SuppressWarnings("PMD.UselessOverridingMethod") public int hashCode() { return super.hashCode(); } @Internal LightThemeColorListOptions(Integer pageSize, Long maxResults, Order order, String after, List<Incl...