text
stringlengths
7
995k
package thredds.server.catalog; import org.junit.Test; import org.junit.experimental.categories.Category; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import thredds.TestWithLocalServer; import thredds.client.catalog.Catalog; import ucar.nc2.util.IO; import ucar.unidata.util.test.category.N...
package isula.image.util; import java.awt.image.BufferedImage; import java.awt.image.Raster; import java.awt.image.WritableRaster; import java.io.File; import java.io.IOException; import java.util.Arrays; import java.util.logging.Logger; import javax.imageio.ImageIO; public class ImageFileHelper { private static ...
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
import java.util.Scanner; public class TEXQuotes { public static void main(String[] args) { Scanner in = new Scanner(System.in); int count = 0; while (in.hasNextLine()) { String line = in.nextLine(); while (line.contains("\"")) line = line.replaceFirst("\"", count++ % 2 == 0 ? "``" : "''"); ...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
/* * Copyright 2014-2020 The Ideal Authors. All rights reserved. * * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file or at * https://developers.google.com/open-source/licenses/bsd */ package ideal.development.comments; import ideal.library.elements.*; import id...
package com.model; import javax.persistence.*; import javax.validation.constraints.NotNull; import java.util.HashSet; import java.util.Set; @Entity public class Library { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private int id; @NotNull private String name; public Library() { ...
package org.robolectric.android.internal; import static android.view.WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE; import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL; import static android.view.WindowManager.LayoutParams...
/** *The Controller package contains the business logic of the 2248 game. */ package hu.unideb.inf.Controller;
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
package com.example.OOP.Demo7; public interface RemoteControl { int min_sound = 0; int max_sound = 100; boolean powerOnorOff(); int soundUp(int increacement); int soundDown(int decreasement); void mute(); int setChannel(int newChannel); int channelUp(); int channelDown(); }
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribute...
package us.shadowlabs.tdparser; import org.antlr.v4.runtime.ParserRuleContext; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import java.util.ArrayList; import java.util.List; /** * Created by Chris on 8/19/2016. */ public class ObjectTracker { private static final Logger ...
package eta.runtime.message; import java.util.concurrent.atomic.AtomicBoolean; import eta.runtime.stg.TSO; import eta.runtime.stg.Capability; import eta.runtime.stg.Closure; import eta.runtime.exception.Exception; import static eta.runtime.stg.TSO.WhyBlocked.*; import static eta.runtime.concurrent.Concurrent.SPIN_COU...
package no.nav.foreldrepenger.behandlingslager.testutilities.kodeverk; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; i...
package q1300; import org.junit.runner.RunWith; import util.runner.Answer; import util.runner.LeetCodeRunner; import util.runner.TestData; import util.runner.data.DataExpectation; /** * [Easy] 1299. Replace Elements with Greatest Element on Right Side * https://leetcode.com/problems/replace-elements-with-greatest-e...
package com.c3.vero.c3_4_05_demo_lizhi_diantai; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationT...
// Copyright 2012 Cloudera Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
package com.fuint.application; /** * Created by FSQ * Contact wx fsq_better */ public class FrameworkConstants { public static final int HTTP_RESPONSE_CODE_SUCCESS = 200; }
package imdb.entity; import javax.persistence.*; @Entity @Table(name = "films") public class Film { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private int id; @Column(nullable = false) private String name; @Column(nullable = false) private String genre; @Column(nullable...
package com.example.app; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.support.annotation.Nullable; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import an...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datastream/v1alpha1/datastream_resources.proto package com.google.cloud.datastream.v1alpha1; /** * <pre> * MySQL database profile. * </pre> * * Protobuf type {@code google.cloud.datastream.v1alpha1.MysqlProfile} */ public final ...
/* * This file is generated by jOOQ. */ package com.bisaga.sakila.dbmodel.tables.records; import com.bisaga.sakila.dbmodel.enums.MpaaRating; import com.bisaga.sakila.dbmodel.tables.Film; import java.math.BigDecimal; import java.sql.Timestamp; import javax.annotation.Generated; import org.jooq.Field; import org.jo...
package com.google.android.gms.internal.ads; import android.os.IInterface; public interface zzzm extends IInterface { }
/* * Copyright (C) 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright 2008-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * @(#)BarChart.java 1.19 10/03/23 * * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * -Redistribution of source code must retain t...
package com.movieous.media.view; import android.content.Context; import android.graphics.*; import android.support.v4.content.ContextCompat; import android.util.AttributeSet; import android.util.Log; import android.view.MotionEvent; import android.view.View; import com.movieous.media.R; import com.movieous.media.mvp.m...
package net.bis5.excella.primefaces.exporter; import java.io.IOException; import java.io.OutputStream; import java.math.BigDecimal; import java.net.MalformedURLException; import java.net.URL; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.time.LocalDate; import java.time...
package com.goat.chapter201.bean.priority; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import javax.annotation.Priority; /** * Created by Administrator on 2021/7/7. * @ Description: TODO * @ author 山羊来了 * @ date 2021/7/7---9:52 */ @Configura...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package me.m92.tatbook_web.core.profile; import me.m92.tatbook_web.core.models.PersonalProfile; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; import java.time.LocalDateTime; import java.util.Arrays; import java.util.Strin...
package streams; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.stream.Stream; public class ImprimindoObjetos { public static void main(String[] args) { List<String> aprovados = Arrays.asList("Pedro", "Natalia", "Joaquim"); System.out.println("for normal\n------------...
/** * Copyright 2006-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
package com.renxinkeji.exchange; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public voi...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package variaveis; public class Escopo { private int valor; public int getValor() { return valor; } public void setValor(int valor) { this.valor = valor; } public int calculaValor(int valor) { valor = valor + 10; return valor; } }
package kr.pe.kwonnam.hibernate4memcached.regions; import kr.pe.kwonnam.hibernate4memcached.memcached.CacheNamespace; import kr.pe.kwonnam.hibernate4memcached.memcached.MemcachedAdapter; import kr.pe.kwonnam.hibernate4memcached.timestamper.HibernateCacheTimestamper; import kr.pe.kwonnam.hibernate4memcached.util.Overri...
/* * The Plaid API * The Plaid REST API. Please see https://plaid.com/docs/api for more details. * * The version of the OpenAPI document: 2020-09-14_1.26.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class m...
/* * The MIT License (MIT) * Copyright (c) 2018 Microsoft Corporation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * ...
/************************************************************************** * copyright file="AutodiscoverRequest.java" company="Microsoft" * Copyright (c) Microsoft Corporation. All rights reserved. * * Defines the AutodiscoverRequest.java. *******************************************************************...
package com.noahcharlton.wgpuj.jni; /** NOTE: THIS FILE WAS PRE-GENERATED BY JNR_GEN! */ public enum WgpuIndexFormat { UINT16, UINT32, }
package es.unizar.murcy.service; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.core.io.ResourceLoader; import org.springframework.mail.javamail.JavaMailSender;...
/* * * Copyright 2018 iQIYI.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
/** * (c) Copyright 2012 WibiData, Inc. * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of...
/* * Copyright 2017-2020 original authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
package com.obsidiandynamics.socketx.undertow; import com.obsidiandynamics.socketx.attribute.*; public final class UndertowAtts { public static final Attribute<Integer> IO_THREADS = new Attribute<Integer>("socketx.undertow.ioThreads") .withMin(Constant.of(1)) .withDefault(Constant.of(Math.max(2, Runtime...
package org.apache.maven.artifact.metadata; /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache ...
package org.acme.spring.event.demo; import org.springframework.context.ApplicationEvent; public class HelloEvent extends ApplicationEvent { public HelloEvent(Object source) { super(source); } }
package io.jenkins.plugins.analysis.core.steps; import javax.annotation.Nonnull; import java.io.IOException; import org.apache.commons.lang3.StringUtils; import org.kohsuke.stapler.AncestorInPath; import org.kohsuke.stapler.DataBoundConstructor; import org.kohsuke.stapler.DataBoundSetter; import org.kohsuke.stapler.Q...
package com.thyme.system.service.impl; import com.thyme.common.utils.RedisUtils; import com.thyme.system.service.RedisService; import lombok.RequiredArgsConstructor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.data...
package cn.xf.coupon.service.impl; import org.springframework.stereotype.Service; import java.util.Map; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import cn.xf.common.utils....
package uk.ac.ebi.tsc.portal.api.configuration.controller; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; /** * @author Jose A. Dianes <jdianes@ebi.ac.uk> * @since v0.0.1 * @author Navis Raj <navis@ebi.ac.uk> */ @ResponseStatus(HttpStatus.NOT_FOUND) pub...
/* / \____ _ _ ____ ______ / \ ____ __ _______ * / / \/ \ / \/ \ / /\__\/ // \/ \ // /\__\ JΛVΛSLΛNG * _/ / /\ \ \/ / /\ \\__\\ \ // /\ \ /\\/ \ /__\ \ Copyright 2014-2017 Javaslang, http://javaslang.io * /___/\_/ \_/\____/\_/ \_/\__\/__/\__\_/ \_// \__/\_____/ ...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.osmdroid.samplefragments; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import a...
package com.booking.replication.streams; import java.util.Deque; import java.util.function.BiFunction; import java.util.function.Function; import java.util.function.Supplier; public interface StreamsBuilderFrom<Input, Output> { StreamsBuilderFrom<Input, Output> threads(int threads); StreamsBuilderFrom<Input,...
package com.sdust.im; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import andro...
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2020, Arnaud Roques * * Project Info: https://plantuml.com * * If you like this project or if ...
package openfoodfacts.github.scrachx.openfood.models; import org.junit.Before; import org.junit.Test; import openfoodfacts.github.scrachx.openfood.utils.UnitUtils; import openfoodfacts.github.scrachx.openfood.utils.Utils; import static org.junit.Assert.*; public class NutrimentsTest { // TODO: in Nutriments, th...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Copyright 2018 JDCLOUD.COM * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:#www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
package com.iconectiv.service; import java.util.List; import com.iconectiv.modelo.ConsultaPrevia; public interface ConsultaPreviaService { ConsultaPrevia findById(Long id); ConsultaPrevia findByIdentificadorMensaje(String identificadorMensaje); List<ConsultaPrevia> findAllConsultaPrevia(); void saveConsu...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package de.tum.in.www1.artemis.repository; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import de.tum.in.www1.artemis.domain.Exercise; import de.tum.in.www1.artemis.domain.Feedback; import de.tum.in.www1.artemis.domain.Result; ...
/* * Copyright (C) 2012-2015 DataStax Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.unity3d.ads.cache; import com.unity3d.ads.log.DeviceLog; import android.os.Bundle; import android.os.Looper; import android.os.Message; import java.util.HashMap; import java.util.List; public class CacheThread extends Thread { private static CacheThreadHandler _handler = null; private static boolean _...
package net.pl3x.bukkit.claims.player; public enum ToolMode { BASIC, CHILD, ADMIN }
/* * Copyright 2014-2018 Andrew Gaul <andrew@gaul.org> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
package com.zos.activiti.function; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; import org.activiti.dmn.engine.CustomExpressionFunctionRegistry; public class MyFunctionRegister implements CustomExpressionFunctionRegistry { // 用于存放方法的集合, key 为自定义的方法名, value 为方法实例 protected stat...
/* * Swagger Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * OpenAPI spec version: 1.0.0 * Contact: apiteam@swagger.io * * NOTE: This class is auto generated by the swagger code generator p...
package net.nocturne.game.item.actions; import java.util.HashMap; import java.util.Map; import net.nocturne.cache.loaders.ItemDefinitions; import net.nocturne.game.item.Item; import net.nocturne.game.item.ItemIdentifiers; import net.nocturne.game.player.Player; import net.nocturne.game.player.Skills; /** * @author ...
package com.jhtsoft.entity; import javax.persistence.*; import java.util.Date; /** * @ClassName: Industry * @Describe: TODO * @Author: houyingwei * @Date: 2019/4/9 **/ @Entity @Table( name = "tb_industry", catalog = "test" ) public class Industry { private Integer id; private String indu...
package com.alamkanak.weekview.sample; import android.annotation.TargetApi; import android.app.AlarmManager; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.ContentValues; import android.content.Context; import android.content.Intent; im...
/* * This file was automatically generated by EvoSuite * Mon Nov 30 12:44:00 GMT 2020 */ package net.sourceforge.squirrel_sql.client.session; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.shaded.org.mockito.Mockito.*; import static org.evosuite.runtime.EvoAssertions.*; import ...
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright 2010 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright [2015] [Letsgood.com s.r.o.] * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package android.support.v7.appcompat; public final class R { private R() {} public static final class anim { private a...
package ir.ac.iust.dml.kg.knowledge.store.access2.entities; import java.util.HashSet; import java.util.Set; /** * Farsi Knowledge Graph Project * Iran University of Science and Technology (Year 2017) * Developed by HosseiN Khademi khaledi * * Map template/property to triple * Recommendations are generated by ma...
/* * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
package com.ebstrada.formreturn.manager.util; import java.awt.*; import java.util.*; import javax.swing.*; public class Swatch implements Icon { protected static Hashtable _swatches = new Hashtable(); Color _color = Color.black; public static Swatch forColor(Color c) { Swatch s = (Swatch) _swat...
package br.com.zup.academy.ednelson.mercadolivre.usuario; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import org.springframework.security.core.GrantedAuthority; @Entity public class Perfil implements GrantedAuthority{...
package com.easyJapanese.model; import java.io.Serializable; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax....
/* * Copyright (C) 2018 Seoul National University * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
package com.interface21.ui.context; /** * Interface to be implemented by objects that can resolve Themes. * This enables parameterization and internationalization of messages * for a given theme. * * @author Jean-Pierre Pawlak * @author Juergen Hoeller * @see Theme */ public interface ThemeSource { /** * R...
package org.nlp2rdf.vm.olia.models; import org.apache.commons.collections.map.MultiValueMap; import java.util.ArrayList; import java.util.HashMap; public class Stanford { public static MultiValueMap links = MultiValueMap.decorate(new HashMap<String, ArrayList<String>>()); static { links.put("http://purl.org...
import java.util.*; interface maveable{ default void mave_left(){System.out.println("walk left!");} default void mave_right(){System.out.println("walk right!");} default void mave_up(){System.out.println("walk up!");} default void mave_down(){System.out.println("walk down!");} } class car implements ma...
package com.rowdy.common_methods.models; import android.os.Parcel; import android.os.Parcelable; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.Serializable; public class User implements Serializable, Parcelable { private int id; ...
/* * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
/** * Controller advises for handling exceptions. */ package eu.daiad.home.controller.advice;
/* * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
package io.sendman.sendman.receivers; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.util.Log; import io.sendman.sendman.SendManLifecycleHandler; import io.sendman.sendman.models.SendManNotificationMetadata; public cla...
package org.manuelelucchi.controllers; import org.manuelelucchi.common.Controller; import org.manuelelucchi.data.DbManager; import javafx.fxml.FXML; import javafx.scene.control.Label; public class StatisticsController extends Controller { @FXML public Label meanBike; @FXML public Label maxTotem; ...
/* Dado um paıs A, com 5000000 de habitantes e uma taxa de natalidade de 3% ao ano, e um paıs B com 7000000 de habitantes e uma taxa de natalidade de 2% ao ano, calcule e imprima o tempo necessario para que a populacao do paıs A ultrapasse a popula¸cao do paıs B. */ public class VerificaPopulacao { public static vo...
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
/******************************************************************************* * Copyright (c) 2007 Symbian Software Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution,...
/* * Copyright 2022 Budapest University of Technology and Economics * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
package com.blueriq; import com.aquima.plugin.fileupload.config; import com.aquima.web.boot.RootConfig; import org.springframework.boot.builder.SpringApplicationBuilder; public class WarApplication extends AbstractWarApplication { @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder a...