text
stringlengths
10
2.72M
package com.link.admin.common; import com.alibaba.druid.filter.stat.StatFilter; import com.alibaba.druid.wall.WallFilter; import com.jfinal.config.*; import com.jfinal.core.JFinal; import com.jfinal.ext.handler.ContextPathHandler; import com.jfinal.ext.interceptor.SessionInViewInterceptor; import com.jfinal.kit.LogKit...
package com.tencent.mm.plugin.appbrand.jsapi.d; import com.tencent.mm.plugin.appbrand.jsapi.h; public final class f$a extends h { private static final int CTRL_INDEX = 207; public static final String NAME = "onKeyboardDropdownOperate"; }
package com.rishi.baldawa.iq; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; /* Given two strings s and t, write a function to determine if t is an anagram of s. For example, s = "anagram", t = "nagaram", return true. s = "rat", t = "car", return false. Note: You may assume the stri...
package quiz19; import java.util.InputMismatchException; import java.util.Scanner; public class MainClass2 { public static void main(String[] args) { /* * 1에서 100까지 랜덤한 수를 맞추는 프로그램 입니다. * 입력한 값이 1에서 100까지의 값이 아니라면 예외처리 구문으로 넘기고 * 다시 입력받도록 처리합니다. * 단, 카운트는 증가됩니다. * * 입력한 값이 숫자가...
package de.raidcraft.skillsandeffects.pvp.effects.buffs.healing; import de.raidcraft.skills.api.character.CharacterTemplate; import de.raidcraft.skills.api.combat.EffectElement; import de.raidcraft.skills.api.combat.EffectType; import de.raidcraft.skills.api.combat.action.HealAction; import de.raidcraft.skills.api.eff...
package com.example.myapplication; import androidx.annotation.NonNull; public class City { int id; String name; String country; public Coord coord; @NonNull @Override public String toString() { return "id: " + id + "; name: " + name + "; country: " + country + "coord...
package com.espendwise.manta.util; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; public class FileAttach implements java.io.Seria...
package com.safeandsound.app.safeandsound.model; /** * Created by louisapabst on 22.04.17. */ public class AppConfig { private static String ip = "http://192.168.10.53"; // Server user login url public static String URL_LOGIN = "http://" + ip + "/db_login.php"; // Server user regist...
package com.huangyifei.android.androidexample.mvplist.base.presenter; /** * Created by huangyifei on 16/10/25. */ public interface ILceListPresenter extends ILoadMorePresenter { void refreshData(boolean pullToRefresh); void loadMoreData(); }
package com.tencent.mm.g.a; public final class rz$a { public int ccP = 0; public int ccQ = 0; public int ccR = 0; public int type = 0; }
package io.github.luanelioliveira.library.repository; import io.github.luanelioliveira.library.model.Book; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import org.springframework.stereotype.Repository; @Repository public class InMemoryBo...
package ru.android.messenger.view.errors; import ru.android.messenger.R; public enum RestorePasswordError { /* validation errors */ PASSWORDS_DO_NOT_MATCH(R.string.restore_password_activity_error_passwords_do_not_match), INCORRECT_LOGIN_LENGTH(R.string.restore_password_activity_error_incorrect_login_leng...
package com.test.adv; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait; import org.testng.annotations....
package co.staruml.graphics; public class Coord { public static int valueTranform(ZoomFactor zf, int value) { double f = ((double) zf.getNumer()) / zf.getDenom(); return (int) Math.round(f * value); } public static void coordTransform(ZoomFactor zf, GridFactor gf, Point p) { int x = p.getX(); ...
import biuoop.DrawSurface; import biuoop.KeyboardSensor; import java.awt.Color; /** * Created by user on 13/05/2017. */ public class Paddle implements Sprite, Collidable { private biuoop.KeyboardSensor keyboard; private biuoop.GUI gui; private Rectangle rectangle; private Rectangle borderR...
package com.game.entity; import com.game.util.Maths; public class EntityHostile extends Entity { private int hp = 100; private int minDmg = 1; private int maxDmg = 5; private double acc = 0.5; // likelihood of hit private boolean unique = false; private boolean dead = false; public EntityHostile(String na...
package pl.cwanix.opensun.agentserver.engine.experimental.maps.structures; import lombok.Getter; import lombok.Setter; @Getter @Setter public class MapInfoStructure { public static final int MAX_FIELD_NUMBER = 6; private int mapCode; private int mapKind; private String mName; private int nCode; ...
package org.houstondragonacademy.archer.controller; import lombok.extern.slf4j.Slf4j; import org.houstondragonacademy.archer.services.AccountService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.annotation.AuthenticationPrincipal; import org.springframework.se...
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the ter...
package holidayproductmastercore; import java.util.*; import java.io.Serializable; import de.hybris.platform.util.*; import de.hybris.platform.core.*; import de.hybris.platform.jalo.JaloBusinessException; import de.hybris.platform.jalo.type.*; import de.hybris.platform.persistence.type.*; import de.hybris.platform.p...
package android.huyhuynh.orderapp.model; /** * Created by Huy Huynh on 19-09-2019. */ import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class Ban { @SerializedName("maBan") @Expose private String maBan; @SerializedName("tenBan") @Expose pri...
package com.wellness.eva.procedures; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentTabHost; import android.view.MotionEvent; import android.view.View; import android.view.View.OnClickListener; import android.widget.TabHost; import android.wi...
package rain.test.study2020.m01.d30; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * 452. 用最少数量的箭引爆气球 * 在二维空间中有许多球形的气球。对于每个气球,提供的输入是水平方向上,气球直径的开始和结束坐标。 * 由于它是水平的,所以y坐标并不重要,因此只要知道开始和结束的x坐标就足够了。开始坐标总是小于结束坐标。平面内最多存在104个气球。 * <p> * 一支弓箭可以沿着x轴从不同点完全垂直地射出。在坐标x处射出一支箭,若有一个气球的直径的开始和...
package controllers; import play.*; import play.db.jpa.Blob; import play.mvc.*; import java.util.*; import models.User; import models.Logged; import utils.Helpers; public class Accounts extends Controller { /* helpers */ public static String getLoggedUserIdRaw() { return (session.get("logged_in_userid")); ...
/* * Copyright 2011-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.tencent.mm.ui; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; public final class am { public static Bitmap b(int i, int i2, Config config) { Bitmap bitmap = null; try { return Bitmap.createBitmap(i, i2, config); } catch (Throwable th) { ...
package com.assignment.conference.factory; import com.assignment.conference.time.Track; public class TrackFactory { private static Integer trackNumber = 0; public TrackFactory() { } /** * * @return */ public static Track getTrackInstance() { trackNumber++; return new Track(trackNumber); } }
package pl.sda.mysimpleblog.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Sort; import org.springframework.security.core.Authentication; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.userdetails.UserD...
package com.NetDoc.repos import org.springframework.data.repository.CrudRepository; import com.NetDoc.DataBase.CalendarData; public interface CalendarDataRepos extends CrudRepository<CalendarData, Long> { }
package com.tt.miniapp.net; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; public class WifiObject { private String mBSSID; private String mSSID; private boolean mSecurity; private int mSignalStrength; private WifiInfo wifiInfo; private WifiManager wi...
package com.horical.hrc7.suppliertest; import android.support.test.runner.AndroidJUnit4; import com.horical.hrc7.supplier.app.AppManager; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; /** * Created by HRC7 on 7/5/2017. */ ...
/*- * -\-\- * Spotify Styx Scheduler Service * -- * Copyright (C) 2016 Spotify AB * -- * 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...
package com.rofour.baseball.controller.system; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestM...
package com.example.stage1.itmonitor.activity; /** * Classe che gestisce i fragment **/ import android.content.SharedPreferences; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.support...
package src.test.java.pages; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import src.test.java.base.Base; public class AuthenticationPage extends Base{ By emailCreateField = By.id("email_create"); By createAccountBtn = By.id("SubmitCreate"); By emailSiginField = By.id("email")...
package cn.dreamccc.handler; import lombok.extern.slf4j.Slf4j; import java.io.*; import java.net.Socket; import java.nio.channels.SocketChannel; @Slf4j public class SimpleSocketHandler implements SocketHandler{ final Socket socket; final String remoteAddressStr; final BufferedWriter writer; final Buf...
package com.nt.manoj.controller; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bi...
import java.util.Arrays; public class ThreeSUMClosest { public static int threeSumClosest(int[] nums, int target) { Arrays.sort(nums); int min = Integer.MAX_VALUE; int minSum = 0; for (int i=0;i<nums.length-1;i++) { int j = i+1; int k = nums.length-1; ...
/* * Copyright 2006 Ameer Antar. * * 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...
package com.tencent.mm.plugin.chatroom.ui; import com.tencent.mm.model.am.b.a; import com.tencent.mm.model.au; class ChatroomInfoUI$22 implements a { final /* synthetic */ ChatroomInfoUI hLX; ChatroomInfoUI$22(ChatroomInfoUI chatroomInfoUI) { this.hLX = chatroomInfoUI; } public final void x(...
package math; public class Vecteur3D { private double dist_x, dist_y, dist_z; /** Constructeur */ public Vecteur3D(double dist_x, double dist_y, double dist_z) { this.dist_x = dist_x; this.dist_y = dist_y; this.dist_z = dist_z; } /** Constructeur */ public Vecteur3D(Vecteur3D vect) { ...
package ru.otus.services; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import ru.otus.models.StatisticEntitiesList; import ru.otus.models.StatisticEntity; import javax.json.bind.Jsonb; import javax.json.bind.JsonbBuilder; import javax.persistence.EntityManager; impo...
/* * 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 rms; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; impo...
package jp.co.aforce.models; import java.sql.ResultSet; import java.util.ArrayList; import java.util.List; import jp.co.aforce.beans.MemberNoBean; import jp.co.aforce.util.DBUtil; public class SelectModel { /** * 入力されたデータがDBに上に存在するかどうかを調べる。 * * @param user_id ユーザID * @param password パスワード * @return ログイン成...
package com.locydragon.lcv.api; public enum ClassLevel { /** * PRIVATE——私有 PROTECTED——只有本包下的类可见 PUBLIC——公开的 */ PRIVATE,PROTECTED,PUBLIC }
package com.tencent.mm.plugin.sns.ui; import com.tencent.mm.plugin.sns.i.j; import com.tencent.mm.ui.s; class SnsTimeLineUI$18 implements Runnable { final /* synthetic */ SnsTimeLineUI odw; SnsTimeLineUI$18(SnsTimeLineUI snsTimeLineUI) { this.odw = snsTimeLineUI; } public final void run() { ...
package javadecompiler.constantpool.type; public class ConstantInteger { public int bytes; public ConstantInteger( int bytes ) { this.bytes = bytes; } }
class Solution { public String customSortString(String S, String T) { String res = ""; String res2 = ""; for(int i = 0; i < S.length(); i++){ for(int j = 0; j < T.length(); j++){ if(T.charAt(j) == S.charAt(i)){ res2 += S.charAt(i); ...
package com.zhouyi.business.core.service; import com.zhouyi.business.core.model.LedenEquipment; import com.zhouyi.business.core.model.LedenEquipmentParets; import com.zhouyi.business.core.model.PageData; import java.util.Map; /** * 设备配件业务接口 */ public interface LedenEquipmentParetsService { /** * 条件查询业务配件...
package com.tencent.appbrand.mmkv; import android.content.Context; import android.content.SharedPreferences; import android.os.Parcel; import android.os.Parcelable; import java.util.Arrays; import java.util.EnumMap; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.S...
package com.example.watcher.Model; import java.io.Serializable; public class Supervision implements Serializable { private String id; private String abonado; private String estado; private String fecha; private String hora; public String getId() { return id; } public void se...
package pro.eddiecache.core; import pro.eddiecache.core.model.ICacheListener; import pro.eddiecache.core.model.ICacheObserver; import pro.eddiecache.core.model.IDaemon; public class DaemonCacheWatch implements ICacheObserver, IDaemon { @Override public <K, V> void addCacheListener(String cacheName, ICacheListener<...
import java.util.Scanner; import java.io.PrintWriter; import java.io.FileNotFoundException; import java.io.File; import java.util.ArrayList; public class DecryptorAndEncryptor { public static void main(String[] args) { Scanner in = new Scanner (System.in); File g; Scanner fileIn; String fileNa...
package org.alienideology.jcord.event.channel.dm; import org.alienideology.jcord.event.channel.ChannelDeleteEvent; import org.alienideology.jcord.handle.channel.IPrivateChannel; import org.alienideology.jcord.internal.object.IdentityImpl; import org.alienideology.jcord.internal.object.channel.Channel; import java.tim...
package com.open.proxy.aop.advice; import org.aopalliance.intercept.MethodInvocation; import com.google.common.base.Preconditions; /** * 切面逻辑的具体实现 * * @author jinming.wu * @date 2014-4-7 */ public abstract class AspectJAdvice implements Advice, MethodInterceptor { @Override public Object invoke(Method...
package com.demo.spring; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestPa...
package com.sunteam.library.service; import java.io.File; import java.util.ArrayList; import org.json.JSONArray; import org.json.JSONObject; import org.wlf.filedownloader.DownloadFileInfo; import org.wlf.filedownloader.FileDownloader; import org.wlf.filedownloader.listener.OnRetryableFileDownloadStatusListener; impo...
package com.pine.template.mvp.presenter; import android.os.Bundle; import com.pine.template.base.component.share.bean.ShareBean; import com.pine.template.base.component.share.bean.UrlTextShareBean; import com.pine.template.mvp.MvpUrlConstants; import com.pine.template.mvp.contract.IMvpWebViewContract; import com.pine...
package io.github.jorelali.commandapi.api; import org.bukkit.command.CommandSender; import com.mojang.brigadier.exceptions.CommandSyntaxException; @FunctionalInterface public interface ResultingCommandExecutor { /** * The code to run when this command is performed * * @param sender * The sender...
package com.tencent.tencentmap.mapsdk.a; import android.content.Context; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import android.os.Environment; import android.telephony.TelephonyManager; import android.text.TextUtils; import android.util.Log; import java.security.MessageDigest; import ja...
package aula043; public class Funcionario extends Cliente{ private static int ultimoNumFunc = 1; private int numFunc; private int nif; public Funcionario (Data dataInsc, String nome, int bi, Data dataNasc, int nif) { super(dataInsc, nome, bi, dataNasc); this.numFunc = ultimoNumFunc; this.nif = ...
import java.util.Arrays; public class ArrayMultiCapacitivo{ private int[] arrayInteri; private String[] arrayStringhe; public ArrayMultiCapacitivo(int elementi){ arrayInteri = new int[elementi]; arrayStringhe = new String[elementi]; } public void setElement(int indice, int intero, String stringa){ arrayInteri[indic...
package com.example.parrotland94.testtaskdemo.storage.utils.weather; import com.example.parrotland94.testtaskdemo.storage.models.CurrentWeatherConditionsModel; import com.example.parrotland94.testtaskdemo.storage.models.CurrentWeatherDataModel; import com.example.parrotland94.testtaskdemo.storage.models.LocationDataM...
package cn.timebusker.web; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * 快速启动 spring-boot */ @RestController public class HelloController { /** * The class is flagged as a @RestController,meaning it’s ready for use by Spring M...
/* * [y] hybris Platform * * Copyright (c) 2000-2016 SAP SE * All rights reserved. * * This software is the confidential and proprietary information of SAP * Hybris ("Confidential Information"). You shall not disclose such * Confidential Information and shall use it only in accordance with the * terms of the l...
package com.tencent.mm.plugin.appbrand.c; public final class a { public String appId; public int bMT; public String bNH; public long eyz; public String fnM; public String fnN; public a fnO; public boolean fnP; public boolean fnQ = true; public boolean fnR = true; public Stri...
/* * This software is licensed under the MIT License * https://github.com/GStefanowich/MC-Server-Protection * * Copyright (c) 2019 Gregory Stefanowich * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal ...
package ch.ubx.startlist.server; import java.util.Set; import ch.ubx.startlist.shared.Pilot; public interface PilotDAO { public void addPilot(Pilot pilot); public Set<Pilot> getPilots(); }
package com.ibm.ive.tools.japt.reduction.ita; import com.ibm.ive.tools.japt.reduction.ita.ObjectSet.Entry; public interface ReceivedObject extends Entry { PropagatedObject getObject(); MethodInvocationLocation getLocation(); int hashCode(); }
import java.util.Queue; import java.util.LinkedList; public class Node { int data; Node left; Node right; Node(int data) { this.data = data; left = null; right = null; } } public class BinaryTree { public static Node root; public static void printLevelOrder() { if(root == null) ...
/* * Copyright 2015 Michal Harish, michal.harish@gmail.com * * 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 ...
package day10_ifStatement; public class without_CurlyBrace { public static void main(String[] args) { /* single if statement; if( condition) { // some codes } IF STATEMENT without curly braces : single if statement if(condition) // only single line of code statement IF ELSE STATE...
package sevenkyu.linenumbering; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.Collectors; class LineNumbering { public List<String> number(List<String> lines) { AtomicInteger atomicInteger = new AtomicInteger(1); return lines.stream() ...
package com.example.anim; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.ActivityCompat; import android.Manifest; import android.content.pm.PackageManager; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.Toast; import com.airbnb.lotti...
package org.kernelab.basis.demo; import java.util.Collection; import java.util.LinkedList; import org.kernelab.basis.JSON; import org.kernelab.basis.JSON.JSAN; import org.kernelab.basis.Tools; public class DemoMaster { public static void main(String[] args) { JSON slave1 = new JSON().attr("id", 11).attr("name", ...
package com.xff.controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * @author xufeng * @version 1.0 * @dat...
package com.github.adambots.steamworks2017.camera; public class Vision { }
/** * Copyright 2013-present febit.org (support@febit.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 a...
package io.github.lukeeff.newssystem.commands; import lombok.NonNull; import org.bukkit.entity.Player; /** * Interface for all News sub command objects. The * purpose here is to store sub commands in the * same map and still be able to call important * overridden methods used in their respective class. * * @aut...
class MyThread implements Runnable{ private int[] ticket; public void run(){ for (int i=0;i<10;i++) { update(ticket); } } private synchronized void update(int[] ticket) { if(ticket[0] > 0){ System.out.println("ticket = " + ticket[0]--); } } ...
package org.study.concurrency.dateutiles; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.format.DateTimeFormatter; import java.util.Date; public class DateTimeFormatterThreadSafeJava8 extends AbstractDateTimeFormatter { private static DateTimeFormatter formatter = DateTimeFormatter.ofPa...
/** * */ package com.teamtrack.push; import com.notnoop.apns.APNS; import com.notnoop.apns.ApnsService; import com.notnoop.apns.ApnsServiceBuilder; import com.teamtrack.dto.PushNotificationDetails; /** * @author parveenkumar * */ public class PushNotifications { public void sendPush(PushNotificationDetails p...
package br.com.etm.exampleyoutubeplayerview; /** * Created by EDUARDO_MARGOTO on 10/27/2016. */ public class Video { String title; String video_id; public Video(String title, String video_id) { this.title = title; this.video_id = video_id; } public String getTitle() { ...
package c.t.m.g; public interface cv { void a(); }
package com.google.android.exoplayer2.c; import com.google.android.exoplayer2.metadata.id3.a.a; import java.util.regex.Matcher; import java.util.regex.Pattern; public final class h { public static final a aiH = new 1(); private static final Pattern aiI = Pattern.compile("^ [0-9a-fA-F]{8} ([0-9a-fA-F]{8}) ([0-...
package jp.naist.se.codehash.file; import java.io.File; import java.io.IOException; import java.nio.file.FileVisitResult; import java.nio.file.FileVisitor; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.attribute.BasicFileAttributes; import java.util.ArrayList; import jp.naist.se.codehash...
/** **************************************************************************** * Copyright (c) The Spray Project. * 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, and is available at ...
package com.udacity.popularmovies.moviesfeed.viewmodel; import android.app.Application; import com.udacity.popularmovies.moviesfeed.model.Movie; import com.udacity.popularmovies.moviesfeed.model.MovieRepository; import java.util.List; import androidx.annotation.NonNull; import androidx.lifecycle.AndroidViewModel; i...
package com.p4square.ccbapi.serializer; import com.p4square.ccbapi.model.Phone; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.*; /** * Tests for the PhoneFormSerializer. * * Serializer output is compared to the expected output in the update_individual API example. */ public class...
package org.zacharylavallee.bool; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.zacharylavallee.bool.BooleanUtils.greaterThan; import static org.zacharylavallee.bool.BooleanUtils.greaterThanOrEqualTo; import static org.zacharylavallee.b...
package com.MekHQ.ScenarioEdit; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.w3c.dom.NamedNodeMap; import mekhq.Version; import java.io.File...
package ro.ubb.rno.ui; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.EventQueue; import javax.swing.DefaultListCellRenderer; import javax.swing.DefaultListModel; import javax.swing.JFrame; import java.awt.GridLayout; import java.awt.Label; import javax.swing.JPane...
package com.sdyin.guava.demo; import com.sdyin.guava.springevent.TestEvent; import org.springframework.context.annotation.AnnotationConfigApplicationContext; /** * @Description: * @Author: liuye * @time: 2019/9/15$ 下午3:57$ */ public class Demo1 { public static void main(String[] args) { //注解方式 扫描指定包 ...
package codeclan.com.raymusicshop; /** * Created by user on 03/11/2017. */ public abstract class Instrument extends Product { private String family; public Instrument(int sellPrice, int buyPrice, String family) { super(sellPrice, buyPrice); this.family = family; } public String ge...
package GUI; import Tools.Constants; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.layout.BorderPane; import javafx.scene.layout.HBox; import javafx.scene.layout.VBox; import javafx.stage.Modality; import javafx.stage.S...
package com.alfred.codingchallenge.model; public enum CurrencyType { AUD, SGD }
package com.tencent.mm.plugin.fts.ui.widget; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.util.AttributeSet; import android.view.View; import android.view.View.OnClickListener; import android.widget.LinearLayout; import android.widget.LinearLayout.LayoutParams; import c...
package Test01; public class GradeInfo { private String name; private int kor; private int eng; private int mat; private Average average; public GradeInfo() { super(); } public void printCalc() { average.Calc(kor, eng, mat); } public void printStudent() { System.out.println("...
package com.Extentreports; import org.testng.annotations.Test; import static org.testng.Assert.assertTrue; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa....
package bnorm.virtual; /** * Utility class for {@link IPoint}s. * * @author Brian Norman * @version 1.0 */ public final class Points { /** * Private constructor. */ private Points() { } /** * Calculates and returns the square of the distance between two * <code>(x,y)</code> coordinat...