text
stringlengths
10
2.72M
package com.citisense.vidklopcic.e_smart; /** * Created by vidklopcic on 05/08/16. */ import android.os.Bundle; import android.support.v4.app.Fragment; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import and...
package com.lavajato.controllers; import com.lavajato.LavajatoApplication; import com.lavajato.dtos.CadastroVeiculoDTO; import com.lavajato.services.VeiculoService; import com.lavajato.utils.MensagemResposta; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.Application...
package cs455.scaling.server; import java.io.IOException; import java.nio.channels.ClosedChannelException; import java.nio.channels.Selector; import java.nio.channels.SocketChannel; import cs455.scaling.shared.GlobalLogger; public class ThreadSafeSelector { private final Selector selector; private final Obje...
package com.mx.profuturo.bolsa.model.service.vacancies.vo; public class DetalleVacanteCerradaVO extends DetalleVacanteVO { private String motivoCierre; private String candidatoSeleccionado; public String getMotivoCierre() { return motivoCierre; } public void setMotivoCierre(String motivo...
package net.sourceforge.vrapper.eclipse.platform; import org.eclipse.swt.widgets.Display; import net.sourceforge.vrapper.vim.register.DefaultRegisterManager; import net.sourceforge.vrapper.vim.register.RegisterManager; public class SWTRegisterManager extends DefaultRegisterManager { public SWTRegisterManager(Displ...
/* * Copyright 2015-2016 Norbert Potocki (norbert.potocki@nort.pl) * * 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 ...
package com.github.pixelase.commands.core; import java.util.ArrayList; import java.util.List; public class CommandsManager implements CommandsPerformer { protected List<Command> commands; public CommandsManager() { this(new ArrayList<Command>()); } public CommandsManager(List<Command> commands) { super(); ...
package com.philippe.app.service.iterations; import com.philippe.app.service.strings.ManipulationService; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.ArgumentCaptor; import org.mockito.InOrder; import org.mockito.InjectMocks; import org.mockito.Mock; import ...
/** * TheSpecialListAdatper.java * created at:2011-5-26下午03:32:23 * * Copyright (c) 2011, 北京爱皮科技有限公司 * * All right reserved */ package com.appdear.client.Adapter; import java.util.List; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup...
package com.jayqqaa12.abase.expand.umeng; import com.jayqqaa12.abase.core.fragment.AFragment; import com.umeng.analytics.MobclickAgent; public class UmengFragment extends AFragment { @Override public void onResume() { super.onResume(); MobclickAgent.onPageStart(getClass().getSimpleName()); } @Override pu...
package io.vakin.java8; /** * FunctionalInterface标记在接口上,“函数式接口”是指仅仅只包含一个抽象方法的接口。 <br> * @author <a href="mailto:vakinge@gmail.com">vakin</a> * @date 2018年9月23日 */ public class FunctionalInterfaceTest { @FunctionalInterface public interface ITestInterface { String hello(String input); } publi...
/* * 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.jk.jkproject.ui.model; import java.io.Serializable; public class PostResult implements Serializable { public Object result; public String tag; public PostResult() {} public PostResult(String paramString) { setTag(paramString); setResult(""); } public PostResult(String param...
package com.epam.strings.text.creator; import com.epam.strings.text.expression.calculator.ExpressionCalculator; import com.epam.strings.text.entity.TokenLeaf; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class TokenLeafCreator { private static final Logger logger = L...
package com.smxknife.java2.nio.socket; import java.net.InetAddress; import java.net.UnknownHostException; /** * @author smxknife * 2020/10/7 */ public class _02_InetAddress { public static void main(String[] args) { // 返回本地主机IP地址和回环地址基本信息 // test1(); // 根据主机名获取IP地址 // test2(); // 测试不存在的地址 // test3()...
import io.RGB; import org.junit.Test; import testutilities.TestUtilities; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.PrintStream; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.time.LocalDateTime; import static org.junit.Assert.*; ...
/** * Copyright 2014 the staff of 52°North Initiative for Geospatial Open * Source Software GmbH in their free time * * 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.a...
package chap12.sec06.exam05_wait_notify; public class ProducerThread extends Thread{ private DataBox db; public ProducerThread(DataBox db) { this.db = db; } @Override public void run() { for(int i = 0; i < 20; i++) { String a = Integer.toString(i); db.setData(a); } } }
package com.rc.portal.dao.impl; import java.sql.SQLException; import java.util.List; import com.ibatis.sqlmap.client.SqlMapClient; import com.rc.app.framework.webapp.model.page.PageManager; import com.rc.app.framework.webapp.model.page.PageWraper; import com.rc.portal.dao.TLxContentDAO; import com.rc.portal.vo.TLxCon...
package eg.edu.guc.parkei.park.rides; import java.util.ArrayList; import eg.edu.guc.parkei.amusers.Amuser; import eg.edu.guc.parkei.exceptions.CannotBoardException; import eg.edu.guc.parkei.exceptions.CannotOperateException; import eg.edu.guc.parkei.exceptions.LocationException; import eg.edu.guc.parkei.e...
package org.mge.algos; public class KnapsackWitoutRepeats { public static void main(String[] args) { int[] w = {6, 3, 4, 2}; int[] v = {30, 14, 16, 9}; System.out.println(maxValue(w, v, 10)); } public static int maxValue(int w[], int v[], int W) { int[][] V = new int[W+1][w.length + 1]; for(int i=0; i<...
package at.porscheinformatik.sonarqube.licensecheck.widget; import java.util.List; import org.sonar.api.server.ServerSide; import at.porscheinformatik.sonarqube.licensecheck.Dependency; import at.porscheinformatik.sonarqube.licensecheck.license.License; import at.porscheinformatik.sonarqube.licensecheck.license.Lice...
/* * Copyright: (c) 2004-2011 Mayo Foundation for Medical Education and * Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the * triple-shield Mayo logo are trademarks and service marks of MFMER. * * Except as contained in the copyright notice above, or as used to identify * MFMER as the auth...
package com.weison.service.impl; import com.weison.model.User; import com.weison.repository.UserRepository; import com.weison.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.AccessDeniedException; import org.springframework.security.core.us...
/* * 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 Datos; import java.util.ArrayList; /** * * @author Sebastián Sanchez */ public class Datos { public Ar...
package cn.smbms.dao.role; import cn.smbms.dao.BaseDao; import cn.smbms.pojo.Role; import org.springframework.stereotype.Repository; import java.util.List; @Repository public class RoleDaoImpl extends BaseDao implements RoleDao { @Override public List<Role> getRoleList() { return session().createQue...
package com.techelevator.reviews.dao; import java.time.LocalDate; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.sql.DataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; im...
package com.epf.rentmanager.ui.servlets; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResp...
package com.espendwise.manta.web.controllers; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.Map; import javax.servlet.http.HttpSession; import org.apache.log4j.Logger; import org.springframework.beans.factory....
package money_divide; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class AA { private int people_num; private List <People> people_list = new ArrayList<People>(); private String name_i; private double money_i; private Scanner scanner; private double total_money; List<...
import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Rectangle; import java.awt.RenderingHints; import java.awt.event.ActionEvent; import java.awt.geom.AffineTransform; import javax.swing.AbstractAction; import javax.swing.JCompon...
package ti.bit.shyy.intelligentpram; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.content.Intent; public class MainActivity extends AppCompatActivity { public Button Button_pramState; public Button Button_send...
package gr.excite.atm.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import gr.excite.atm.model.Demand; @Service("distr20s") public class Distributer20s implements IDistributer { @Autowired IDistributer nextDistributer; @Autowire...
package com.tencent.mm.plugin.gallery.ui; import com.tencent.mm.plugin.gallery.model.c; import com.tencent.mm.sdk.platformtools.bi; import com.tencent.mm.sdk.platformtools.x; class ImagePreviewUI$12 implements Runnable { final /* synthetic */ ImagePreviewUI jEa; final /* synthetic */ long jEc; ImagePrevi...
package com.zero.votes.ldap; import java.util.Objects; public class LdapUser implements Comparable<LdapUser> { private static final long serialVersionUID = -1627443224706231661L; private Long id; private String name; private String firstName; private String lastName; private String email; ...
package lin.pattern.Creational.simplefactory.ChartDisplay; public class PieChart implements Chart { public PieChart() { System.out.println("Create the Pie Chart!"); } @Override public void display() { System.out.println("Display the Pie Chart!"); } }
package com.kunsoftware.util; import java.util.Enumeration; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.springframework.util.StringUtils; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; impor...
package com.nxtlife.mgs.view; import com.nxtlife.mgs.entity.school.Grade; public class GradeResponse { private String id; private String grade; private String section; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getGrade() { return grade; } pu...
package br.com.acaosistemas.db.dao; import oracle.jdbc.OracleConnection; import java.sql.CallableStatement; import java.sql.PreparedStatement; import java.sql.SQLException; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import br.com.acaosistemas.db.connection.ConnectionFactory; ...
package banyuan.day06.p01; /** * @author 陈浩 * * 问题暂未解决 */ public class Landlord { public static void main(String[] args) { int i; int[] Player_A = new int[18]; int[] Player_B = new int[18]; int[] Player_C = new int[18]; int[] Ground = new int[4]; for (i = 1; i <...
package ars.ramsey.interviewhelper.view; import ars.ramsey.interviewhelper.model.bean.Task; import ars.ramsey.interviewhelper.presenter.TaskPresenter; /** * Created by Ramsey on 2017/4/11. */ public interface TaskDetailView<T> extends BaseView<T> { public void getTask(Task task); }
package gr.athena.innovation.fagi.core.function.geo; import com.vividsolutions.jts.geom.Coordinate; import com.vividsolutions.jts.geom.Geometry; import com.vividsolutions.jts.io.ParseException; import com.vividsolutions.jts.io.WKTReader; import com.vividsolutions.jts.operation.distance.DistanceOp; import gr.athena.inn...
package itis; import lombok.Getter; import org.springframework.messaging.converter.StringMessageConverter; import org.springframework.messaging.simp.stomp.StompSession; import org.springframework.messaging.simp.stomp.StompSessionHandler; import org.springframework.web.socket.WebSocketHandler; import org.springframewor...
/* * 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 shifu.model.dao.elementaire; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Statement; impor...
/* * [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.harrymt.productivitymapping.listviews; import android.content.Context; import android.support.annotation.LayoutRes; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.CheckBox; import android.widget.ImageVie...
package com.shidan.product.annotation; public @interface MyAnnotation { }
package server; import java.util.HashMap; import java.util.Map; public class ServeletContext { // 为每一个servelet起一个别名 // login 就是一个serverlet private Map<String, String> servelet; // URL -> login private Map<String, String> mapping; public ServeletContext() { servelet = new HashMap<Strin...
package com.sb.projects.resource; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind....
/* * 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 dominio; import java.util.ArrayList; /** * * @author josdan */ public class Tarea { private int idTarea;...
package com.legalzoom.api.test.integration.CustomersService; import org.testng.Assert; import org.testng.annotations.Test; import com.legalzoom.api.test.client.ResponseData; import com.legalzoom.api.test.dto.CreatePasswordResetDTO; import com.legalzoom.api.test.dto.PasswordResetDTO; import com.legalzoom.api.test.dto....
package com.hesoyam.pharmacy.feedback.service.impl; import com.hesoyam.pharmacy.feedback.model.PharmacyFeedback; import com.hesoyam.pharmacy.feedback.repository.PharmacyFeedbackRepository; import com.hesoyam.pharmacy.feedback.service.IPharmacyFeedbackService; import org.springframework.beans.factory.annotation.Autowir...
package com.goodhealth.design.demo.CommandPattern; public class Cavalry extends ISoldiers { @Override public void up() { // TODO Auto-generated method stub System.out.println("步兵向前列阵"); } @Override public void down() { // TODO Auto-generated method stub System.out.println("步兵向后列阵"); } @Override pu...
package com.medic.quotesbook.views.activities; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.os.Message; import android.support.v4.app.Fragment; import android.support.v4.app.Fra...
package ch02.ex02_17; public class Vehicle { public final static int TURN_LEFT = 0; public final static int TURN_RIGHT = 1; private double velocity; // 現在のスピード private double direction; // 現在の方向 private String owner; // 所有者 private long idNum; private static long nextID = 0; public Vehicle()...
package Tests; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.Test; import dataStructures.HashTable; import dataStructures.NodeH; class HashTableTest { private NodeH<Integer,Integer>[] hashTable; private HashTable<Integer,Integer> table; private void setupEscenario() { table ...
package com.tencent.mm.plugin.wallet_core.model; import android.database.Cursor; import android.util.SparseArray; import com.tencent.mm.g.c.ek; import com.tencent.mm.plugin.wallet_core.model.mall.MallFunction; import com.tencent.mm.plugin.wallet_core.model.mall.MallNews; import com.tencent.mm.plugin.wallet_core.model....
/* * 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 ma...
package vanadis.blueprints; import java.net.URL; public interface ResourceLoader { URL get(String res); }
package tv.toby.spring.week05.reactive; import java.util.*; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * Created by hanmomhanda on 2016-11-26. */ public class Ob { /* 이벤트에 대응하는 방식의 프로그래밍 */ // 에릭 마이어 // Duality: 쌍대성? // 옵저버 패턴 // reactive s...
package com.rc.portal.service; import java.sql.SQLException; import java.util.List; import com.rc.portal.vo.CLocation; import com.rc.portal.vo.CLocationExample; public interface CLocationManager { int countByExample(CLocationExample example) throws SQLException; int deleteByExample(CLocationExample exampl...
package com.bat.message.exchange.listener; import com.rabbitmq.client.Channel; import lombok.extern.slf4j.Slf4j; import org.springframework.amqp.core.Message; import org.springframework.amqp.rabbit.annotation.*; import org.springframework.stereotype.Component; import java.io.IOException; import java.util.Random; /**...
package com.ss.android.ugc.aweme.miniapp.g; import com.tt.option.s.a; public class u extends a { public long getUseDuration() { return 1000L; } } /* Location: C:\Users\august\Desktop\tik\df_miniapp\classes.jar!\com\ss\androi\\ugc\aweme\miniapp\\\u.class * Java compiler version: 6 (...
/******************************************************************************* SearchFlagOption Class to encapsulate a command line search option that sets a flag @author Cary Clark &lt;clarkcb@gmail.com&gt; @version $Rev$ @copyright Cary Clark 2012 ******************************************************************...
/* * 文 件 名: SortTest.java * 描 述: <描述> * 修 改 人: root * 修改时间: 2014-10-15 * 跟踪单号: <跟踪单号> * 修改单号: <修改单号> * 修改内容: <修改内容> */ package com.henry.sort; /** * <一句话功能简述> * <功能详细描述> * * @author root * @version [版本号, 2014-10-15] * @see [相关类/方法] * @since [产品/模块版本] */ public class SortTest { /...
package KundenVerwaltungGUI; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.util.Date; import javax.swing.JDialog; import com.toedter.calendar.JDateChooser; import KundenVerwaltung.Kund...
package stepDefinition; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import cucumber.api.java.en.Given; import cucumber.api.java.en.When; public class RegularExpressionTest { WebDriver wd; @Given("^user was enter the brows...
package com.tencent.mm.plugin.webview.ui.tools.fts; class BaseSOSWebViewUI$16 implements Runnable { final /* synthetic */ BaseSOSWebViewUI qdp; BaseSOSWebViewUI$16(BaseSOSWebViewUI baseSOSWebViewUI) { this.qdp = baseSOSWebViewUI; } public final void run() { if (BaseSOSWebViewUI.i(this...
package com.example.cs246.medtracker; import java.util.ArrayList; import java.util.Calendar; import java.util.Observable; /** * Created by kubuntu on 2/24/16. */ public class CalendarHandler { private String perscription; private ArrayList<Observable> things; public Calendar cal; //ThisMIGHT be right...
package guo.ping.taotao.portal.service; import guo.ping.taotao.portal.pojo.OrderInfo; public interface OrderService { String createOrder(OrderInfo orderInfo); }
package api.longpoll.bots.model.objects.basic; import api.longpoll.bots.adapters.deserializers.BoolIntDeserializer; import api.longpoll.bots.model.objects.media.Photo; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Describes applicatio...
package coronavairusapi.services; import coronavairusapi.models.Case; import coronavairusapi.models.CaseRequest; import coronavairusapi.models.CasesStatistics; import coronavairusapi.models.Status; import coronavairusapi.repositories.CaseRepository; import org.springframework.beans.BeanUtils; import org.springframewor...
package com.login.services; import com.login.model.UserPrincipal; import com.login.model.User; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.security.core.userdetails.UserDetails; im...
package org.firstinspires.ftc.teamcode.opmodes; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import org.firstinspires.ftc.teamcode.robot.Vision; @TeleOp(group = "Test: Vision") public cla...
// Generated from E:/Octavo Semestre/Compiladores/ExamenMedioTermino/src\Expr.g4 by ANTLR 4.9.1 import org.antlr.v4.runtime.atn.*; import org.antlr.v4.runtime.dfa.DFA; import org.antlr.v4.runtime.*; import org.antlr.v4.runtime.misc.*; import org.antlr.v4.runtime.tree.*; import java.util.List; import java.util.Iterator;...
/** * @版权所有: 四川曙光集团 * @标题: Number.java * @包路径: com.lupan.javaStudy.chapter6.enumPo * @描述: TODO * @作者: 卢攀 * @日期: 2015年9月21日 上午10:16:29 * @version V1.0 */ package com.lupan.javaStudy.chapter6.enumPo; /** * TODO 牌面数字 * * @className Number * @author lupan */ public enum Number { A(1),TWO(2),THREE...
package br.com.zup.zupacademy.daniel.mercadolivre.configuration.security; import br.com.zup.zupacademy.daniel.mercadolivre.usuario.UsuarioRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configur...
/** **************************************************************************** * 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 ...
/* * Copyright 2009 Kjetil Valstadsve * * 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...
package com.example.alice.facebookrecipes.recipemain; import com.example.alice.facebookrecipes.db.entities.Recipe; /** * Created by alice on 7/3/16. */ public interface SaveRecipeInteractor { //objeto a guardar void execute(Recipe recipe); }
package in.hocg.app.services.impl; import in.hocg.app.handler.*; import in.hocg.app.services.CoreService; import me.chanjar.weixin.common.api.WxConsts; import me.chanjar.weixin.common.exception.WxErrorException; import me.chanjar.weixin.mp.api.WxMpMessageRouter; import me.chanjar.weixin.mp.api.WxMpService; import me.c...
package it.univaq.rtv.Model.FactoryMappa; import it.univaq.rtv.Model.FactoryCitta.ICitta; import it.univaq.rtv.Model.Percorso; import java.io.IOException; import java.util.ArrayList; public class SudAmerica extends AbstractMappa { /** * @throws IOException */ public SudAmerica() throws IOExcepti...
package ch.fhnw.edu.cpib.cst.interfaces; import ch.fhnw.edu.cpib.ast.interfaces.IFactor; import ch.fhnw.edu.cpib.scanner.Ident; public interface IFactorNTS extends IProduction { public IFactor toAbsSyntax(Ident ident); }
package ru.Makivay.sandbox.structures; import com.google.common.collect.HashBasedTable; import com.google.common.collect.Table; import java.util.Collection; import java.util.Map; import java.util.Set; /** * Using to store client's per month codes. */ public class IntegerTableImpl<R, C> implements IntegerTable<R, C...
package Propoess; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.io.PrintStream; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; impor...
package ua.nic.Practica.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import ua.nic.Practica.model.ImagesEntity; import ua.nic.Practica.repository.IImagesRepository; import java.util.ArrayList; import java.util.List; import java.util.logging.Log...
package com.uiautomation.utils; /** * Constants class to hold the host details */ public class Constants { public static final String HOST = "https://jsonplaceholder.typicode.com"; }
/* * 완전 초기화면 */ package com.example.test; import java.util.GregorianCalendar; import java.util.Timer; import java.util.TimerTask; import android.app.Activity; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.graphics.Typ...
/* * 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 asos.aop1; import org.aspectj.lang.JoinPoint; /** * * @author vsa */ public class Logger { public void log(int x) { ...
package com.example.healthmanage.ui.activity.consultation.adapter; import android.content.Context; import android.text.Html; import android.view.View; import androidx.annotation.Nullable; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.library.adapter.base.BaseViewHolder; import com.example.he...
package com.tencent.mm.plugin.game.gamewebview.ipc; import android.os.Bundle; import com.tencent.mm.network.n.a; import com.tencent.mm.pluginsdk.ui.tools.s; class a$1 extends a { private final byte[] cWZ = new byte[0]; a$1() { } public final void ev(int i) { synchronized (this.cWZ) { ...
package com.example.bettertinder.views; import android.content.Context; import android.graphics.Bitmap; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx...
package com.timebank.data; import java.util.List; import entities.ItemLoanOfferActivity; import entities.ItemLoanRequestActivity; import entities.ItemTransferOfferActivity; import entities.ItemTransferRequestActivity; import entities.ServiceOfferActivity; import entities.ServiceRequestActivity; import entities.User; ...
package com.oxycab.provider.ui.fragment.offline; import com.oxycab.provider.base.MvpView; public interface OfflineIView extends MvpView { void onSuccess(Object object); }
package com.stark.nio.base; import java.io.*; import java.net.InetSocketAddress; import java.net.Socket; import java.nio.channels.FileChannel; import java.nio.channels.ServerSocketChannel; import java.nio.channels.SocketChannel; /** * Created by Stark on 2018/1/2. * 测试channel之间的数据传输 */ public class ChannelCopy { ...
package com.tyss.cg.inheritence; public interface MethodsInterface { public void dispMessage(); // by default all the methods are public abstract. public void printMessage(); public static void showMessage() { System.out.println("public static showMessage() ofIMethodsInterface..."); } default void defaultMet...
package net.d4rk.inventorychef.inventory.expandablelistview.roomembedded.database.dao; import android.arch.lifecycle.LiveData; import android.arch.persistence.room.Dao; import android.arch.persistence.room.Delete; import android.arch.persistence.room.Insert; import android.arch.persistence.room.Query; import android.a...
package com.example.retail.models.jsonmodels; public class Suppliers { private String supplierName; private String supplierAddress; private String supplierContact; public Suppliers() {} public Suppliers(String supplierName, String supplierAddress, String supplierContact) { this.supplierN...
package com.cloudogu.smeagol.wiki.domain; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; public class ContentFragmentTest { @Test public void testValueOf() { ContentFragment abc = ContentFragment.valueOf("abc"); assertThat(abc).isEqualTo(ContentFragment.valu...
package com.example.demo; import ch.qos.logback.classic.LoggerContext; import ch.qos.logback.core.util.StatusPrinter; import org.junit.jupiter.api.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class LogbackTest { @Test public static void main(String[] args) { Logger logger = L...