text stringlengths 10 2.72M |
|---|
/*
* [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 mg.egg.eggc.compiler.libegg.base;
public class BLOC {
private TDS_ACTION locales;
public TDS_ACTION getLocs() {
return locales;
}
private BLOC frere;
public BLOC getFrere() {
return frere;
}
public void setFrere(BLOC f) {
frere = f;
}
public BLOC(TDS_ACTION t) {
locales = new TDS_ACTION(t... |
package com.ybg.base.jdbc;
import java.util.LinkedHashMap;
/** 改进的LinkedHashMap <br>
* put 元素取消 value为null的集合 **/
public class BaseMap<K, V> extends LinkedHashMap<K, V> {
/**
*
*/
private static final long serialVersionUID = 1L;
/** 当value 为空时,不加入集合中 **/
@SuppressWarnings("unchecked")
@Override
public ... |
package com.example.bratwurst.service;
import com.amazonaws.services.sns.AmazonSNS;
import com.example.bratwurst.model.FriendsViewModel;
import com.example.bratwurst.model.User;
import org.json.JSONException;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public interface UserService ... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.sync;
import org.chromium.base.ThreadUtils;
/**
* Starts up the sync backend and notifies the caller once the backe... |
import java.util.Scanner;
public class RectangleArea {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int sideA = scanner.nextInt();
int sideB = scanner.nextInt();
System.out.println(calculateArea(sideA,sideB));
}
private static int calc... |
package com.funlib.http.download;
/**
* 下载进度,状态,监听
*
* @author taojianli
*
*/
public interface DownloadListener {
/**
* 下载状态改变
* @param tag TODO
* @param index 下载任务的索引
* @param status
* @param filePath
* 文件保存路径
*/
public void onDownloadStatusChanged(Object tag , int index, int status... |
package com.smxknife.java2.thread.semaphore.demo07;
/**
* @author smxknife
* 2018-12-22
*/
public class ThreadP extends AbsThread {
public ThreadP(RepastService service) {
super(service);
}
@Override
public void exe() {
service.set();
}
}
|
package com.muryang.sureforprice.vo;
import java.sql.Date;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
* This class is POJO representing tbl_category table.
* @author Ethan Cha
* @date Apr 10, 2014
*
*/
public class Category {
private String id ;
private String parentId ;
priva... |
int main() {
int[] a;
a = new int[0];
printInt(a.length);
return 0;
} |
package com.meridal.example.mastodon.mvc;
import com.meridal.example.mastodon.domain.UserProfile;
import com.meridal.example.mastodon.service.UserService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import... |
package algo_basic.day5;
import java.util.Arrays;
public class P233_Nqueen {
private static int size =15;
private static int[][] map = new int[size][size];
public static void dfsBacktracking(int row) {
if(row==size) {
//끝까지 도달 --> 상태 확인
for(int[] line: map) {
System.out.println(Arrays.toString(line)... |
package com.cse308.sbuify.test;
import com.cse308.sbuify.album.Album;
import com.cse308.sbuify.test.helper.AuthenticatedTest;
import org.junit.Test;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
import org.springframe... |
package com.tingke.admin.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tingke.admin.entity.FrBook;
import com.tingke.admin.exection.CastD... |
package eiti.sag.facebookcrawler.visitor;
import eiti.sag.facebookcrawler.model.FacebookUser;
public interface FacebookUserVisitor {
boolean shouldVisit(String username);
void visit(FacebookUser user);
void onFetchUserFailed(String username, Exception e);
}
|
package example.api.v1;
public class HealthStatusUtils {
static public boolean isUp(HealthStatus healthStatus) {
if ( healthStatus.getStatus() != null && healthStatus.getStatus().compareToIgnoreCase("UP") == 0) {
return true;
}
return false;
}
}
|
/**
*
*/
package restaurante;
import java.io.Serializable;
import java.util.Comparator;
/**
* @author Gabriel Alves
* @author Joao Carlos
* @author Melissa Diniz
* @author Thais Nicoly
*/
public class OrdenaPorNome implements Comparator<Object>,Serializable{
private static final long serialVersionUID = 1... |
package planit_poc.helpers;
import org.openqa.selenium.By;
import org.openqa.selenium.TimeoutException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
public class PageObject {
... |
package interfaceTest;
public class Phone implements Phoneinterface {
@Override
public void contract(int con) {
System.out.println("약정을 했다");
}
@Override
public void Performance(String per) {
System.out.println("성능이 좋다");
}
@Override
public void Kinds(String kin) {
System.out.println("아이폰13을 샀다");
... |
package nl.funda.uitests;
import java.util.Map;
import org.testng.Assert;
import org.testng.annotations.Test;
import com.relevantcodes.extentreports.LogStatus;
import nl.funda.uitests.base.BaseTest;
import nl.funda.uitests.base.CsvDataProvider;
import nl.funda.uitests.pages.ResultsPage;
import nl.funda.uitests.page... |
package com.itractor.thread;
import android.os.Environment;
import java.io.FileWriter;
import java.io.IOException;
import java.sql.Timestamp;
/**
* Questa classe gestisce la scrittura su file esterno
* @autor Mark Tex
* @since 2014
*/
public class WriteInfo
{
FileWriter txOut, rxOut, fOut;
// costruttor... |
/*
* [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 com.codependent.mutualauth;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.secur... |
package com.clubrada.gui;
import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DateFormat;
import java.util.Date;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import jav... |
/*
* 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 modle;
import java.util.List;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.criterion.R... |
package com.foosbot.service.handlers.payloads;
import com.foosbot.service.handlers.Validates;
import lombok.Data;
@Data
public class BatchMatchCreatePayload implements Validates {
@Override
public boolean isValid() {
return false;
}
}
|
package com.FCI.SWE.ServicesModels;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.List;
import javax.ws.rs.FormParam;
import com.google.appengine.api.datastore.DatastoreService;
import com.google.appengine.api.datastore.DatastoreServiceFactory;
import com.google.appengi... |
package ru.aahzbrut.reciperestapi.domain.entities;
class IngredientTest extends BaseTestEntity {
} |
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
public class startCommuncation
{
public static Connection databaseConn() throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException {
Class.forName("co... |
package org.caonima.network;
public class Method {
public static final int GET = 0;
public static final int POST = 1;
}
|
package ru.krasview.tv;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.example.kvlib.R;
import ru.krasview.kvlib.adapter.CombineSimpleAdapter;
import ru.krasview.kvlib.indep.AuthAccount;
import ru.krasview.kvlib.indep.HTTPClient;
import ru.krasview.kvlib.indep.HeaderAccount;
impo... |
package com.szcinda.express.params;
import lombok.Data;
import lombok.EqualsAndHashCode;
@EqualsAndHashCode(callSuper = true)
@Data
public class QueryProfileParams extends PageParams {
private String name;
}
|
package com.sneaker.mall.api.model;
import com.google.common.collect.Lists;
import com.sneaker.mall.api.annotation.NODBFeild;
import java.util.Date;
import java.util.List;
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed ... |
package com.example.pingreception;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.Button;
import android.widget.TextView;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
public class makePing ex... |
// Shrey Shah
// ID: 112693183
// Shrey.Shah@stonybrook.edu
// Homework #7
// CSE214
// R.04 James Finn
import java.util.*;
public class IndexComparator implements Comparator<WebPage>{
public int compare(WebPage page1, WebPage page2) {
return Integer.compare(page1.getIndex(), page2.getIndex());
}
}
|
package com.bozhong.lhdataaccess.infrastructure.dao;
import com.bozhong.lhdataaccess.domain.DoctorOrderDO;
import com.bozhong.lhdataaccess.domain.DoctorPrescriptionDO;
import com.bozhong.lhdataaccess.domain.OrganizStructureDO;
import java.util.List;
/**
* User: 李志坚
* Date: 2018/11/5
* 处方数据的DAO
*/
public interfac... |
package com.lec.loop;
import java.util.Scanner;
// 사용자로부터 원하는 구구단수를 입력받아 해당 구구단을 출력해 보자
public class Q3_for {
public static void main(String[] args) {
Scanner scanner = new Scanner (System.in);
System.out.print("몇단 원해");
int dansu = scanner.nextInt();
for (int i=1; i<10; i++) {
System.out.printf("%d*%d= %... |
package rugal.westion.jiefanglu.core.dao;
import rugal.common.hibernate.Updater;
import rugal.common.page.Pagination;
import rugal.westion.jiefanglu.core.entity.Account;
import rugal.westion.jiefanglu.core.entity.QQThirdPart;
import rugal.westion.jiefanglu.core.entity.Route;
import rugal.westion.jiefanglu.core.entity.... |
package binary.search;
import java.io.File;
import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
IPAddress[] ipAddresses = new IPAddress[10000];
int[] octets = new int[4];
long longIP;
@SuppressWarnings("resource")
... |
package hirondelle.web4j.security;
import java.util.*;
import java.util.logging.Logger;
import javax.servlet.ServletConfig;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import hirondelle.web4j.BuildImpl;
import hirondelle.web4j.action.Action;
import hirondelle.web4j.... |
package Test;
import Entity.DataIdentify1997;
import Handler.MessageHandler;
import Handler.SendHelper;
import Params.CommandType;
import Utils.ConvertUtil;
import Utils.LogUtil;
import Utils.TimeUtil;
import com.sun.org.apache.xml.internal.res.XMLErrorResources_tr;
import org.junit.Test;
import Utils.CheckUtil;
impo... |
package com.niit.MobileShoppingBackend.DAO;
import java.util.List;
import com.niit.MobileShoppingBackend.DTO.Cart;
import com.niit.MobileShoppingBackend.DTO.CartLine;
public interface CartLineDao {
//for adding the cartLine into the databse
public boolean add(CartLine cartLine);
//for updating the cart... |
package br.com.helpdev.quaklog.usecase.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;
import java.util.List;
import java.util.Map;
@Data
@Builder
public class PlayerDTO {
private Integer id;
private String name;
private List<String> items;
privat... |
package com.wipe.zc.journey.http;
public class AppURL {
// 主机地址
public static String HostUrl = "http://121.42.185.7:8080/Journey/";
// public static String HostUrl = "http://10.0.3.2:8080/Journey/";
// public static String HostUrl = "http://120.27.97.82:8080/Journey/";
// 上传地址
public static String upLoad = Hos... |
package vegoo.newstock.core.dao;
import java.util.Date;
public class FhsgDao extends TaggedDao{
// private String MarketType;
private String SCode;
// private String Name;
private double SZZBL; // 送转总比例
private double SGBL; // 送股比例
private double ZGBL; // 转股比例
private double XJFH; // 现金分红
pri... |
import java.util.*;public class SoftmaxTest
{
public static void main(String[] args)
{
double[] inputs ={5d,2d,-1d,3d};
softmax(inputs);
System.out.println(Arrays.toString(inputs));
}
private static double[] softmax(double[] inputs)
{
if(inputs==null)
{
return null;
}
double sum = 0.0d;
... |
package com.example.tanapon.computerproject1;
import android.content.Context;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
/**
* Created b... |
package test;
import org.apache.log4j.Logger;
public class Log4jTest {
public static Logger log = Logger.getLogger(Log4jTest.class.getName());
/**
* @param args
*/
public static void main(String[] args) {
log.info("Entering application.");
}
}
|
package net.minecraft.server;
import java.io.OutputStream;
import net.minecraft.util.LoggingPrintStream;
public class DebugLoggingPrintStream extends LoggingPrintStream {
public DebugLoggingPrintStream(String p_i47315_1_, OutputStream p_i47315_2_) {
super(p_i47315_1_, p_i47315_2_);
}
protected void logSt... |
package com.kiseki.test;
import org.junit.Test;
import org.redisson.api.RHyperLogLog;
import java.time.LocalDateTime;
import java.util.concurrent.TimeUnit;
public class ClusterTest extends BaseTest{
@Test
public void test() throws Exception{
while (true){
try {
redissonCl... |
/*
FILMES
titulo, titulo original, diretor, data de lançamento, sinopse, IMAGEM, GENERO
*/
/**
*
* @author Roziana
*/
public class Filmes {
private String titulo,
tituloOriginal,
diretor,
anoLancamento,
sinopse,
imagem;
private int genero;
... |
package com.example.billage.frontend.ui.mypage.subView;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import com.example.billage.R;
public class AccountModify extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedI... |
package com.mediacom.service;
import java.util.List;
import javax.persistence.EntityManager;
//import javax.persistence.criteria.CriteriaBuilder;
//import javax.persistence.criteria.CriteriaQuery;
//import javax.persistence.criteria.Root;
import com.mediacom.domain.Member;
//import com.mediacom.domain.MemberRowMapp... |
package com.singtel.nsb.mobile.processor;
import static com.singtel.nsb.mobile.constants.HeaderConstants.ID;
import java.util.HashMap;
import java.util.Map;
import org.apache.camel.EndpointInject;
import org.apache.camel.Produce;
import org.apache.camel.ProducerTemplate;
import org.apache.camel.builder.RouteBuilder;... |
/*
* 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 tolteco.sigma.view;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.io.Buffere... |
/*
* [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 te... |
/*
* Copyright 2013 Josh Broch
* All rights reserved.
*/
package net.jbroch.dao.impl;
import net.jbroch.dao.UserDao;
/**
* Implementation of {@link UserDao}.
*/
public class UserDaoImpl implements UserDao {
public UserDaoImpl() {
}
}
|
package com.huyikang.design.pattern.abstractfactory;
import com.huyikang.design.model.abstractfactory.Color;
import com.huyikang.design.model.abstractfactory.Shape;
import com.huyikang.design.model.abstractfactory.color.Blue;
import com.huyikang.design.model.abstractfactory.color.Green;
import com.huyikang.design.mode... |
package com.suresh.learnings.twentynineteen.march;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class RandomNumberMasker {
private List<String> zeroToNineDigitsList;
public RandomNumberMasker() {
super();
this.zeroToNineDigitsList = new ArrayList<String> (10);
}
... |
package org.motechproject.server.filters;
import java.util.List;
public interface FilterChain<T> {
public List<T> doFilter(List<T> collection) ;
}
|
package gil.action;
import bol.BOLObject;
import gil.MainFrame;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JCheckBox;
import javax.swing.JCheckBoxMenuItem;
public class AddMode implements ActionListener {
BOLObject obj;
MainFrame frame;
... |
package com.alanb.gesturetextinput;
import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
import com.alanb.gesturecommon.CommonUtils;
import com.alanb.gesturecommon.MathUtils;
import com.alanb.gesturecommon.OneDInputView;
... |
package it.objectmethod.model;
public class Country {
private String code;
private String name;
private String Continent;
private String Region;
private int surfaceArea;
private int indepYear;
private int Population;
private int lifeExpectancy;
private int GNP;
private int GNPOld;
private String localName... |
package nl.rug.oop.flaps.aircraft_editor.controller.listeners.infopanel_listeners.cargo;
import nl.rug.oop.flaps.aircraft_editor.view.panels.aircraft_info.interaction_panels.CargoConfigPanel;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
/**
*
* listens to change in the slider in t... |
package com.chilkens.timeset.dto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* Created by hoody on 2017-08-20.
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PickResponse {
Long pickId;
public static PickResponse ... |
package com.tencent.mm.plugin.appbrand.app;
import com.tencent.mm.plugin.appbrand.widget.a.a;
import com.tencent.mm.plugin.appbrand.widget.h;
import com.tencent.mm.plugin.appbrand.widget.i;
import com.tencent.mm.plugin.appbrand.widget.m;
public final class g implements a {
public final i abc() {
return e.... |
package com.fansolomon.Behavioral.Visitor.Computer;
import com.fansolomon.Behavioral.Visitor.Computer.impl.Computer;
import com.fansolomon.Behavioral.Visitor.Computer.impl.Keyboard;
import com.fansolomon.Behavioral.Visitor.Computer.impl.Monitor;
import com.fansolomon.Behavioral.Visitor.Computer.impl.Mouse;
public int... |
package Bomberman;
public enum Animation {
MOVE_EAST,MOVE_WEST,MOVE_NORTH,MOVE_SOUTH,IDLE,DIE,
APPARITION,CHEST_OPEN,
EXPLOSION, EXIT,BOMB,IMPACT,
ITEM_BOMB,HURT,ITEM_RANGE,ITEM_DAMAGE,ITEM_PV,ITEM_KEY,ITEM_SPEED,
OBSTACLE,BACKGROUND,
GRASS;
public final static int DURATION_ANIMATION_ITEM... |
package ba.bitcamp.LabS07D04;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
public class Circle {
private int x;
private int y;
private int radius;
private boolean isFilled;
private Color color;
private int speedX;
private int speedY;
private Dimension windowDimension;
private... |
package offer;
// 统计一个数字在排序数组中出现的次数。
public class 数字在排序数组中出现的次数 {
public static void main(String[] args) {
int[] arr={1,2,3,3,3,3};
int k= 3;
System.out.println(GetNumberOfK(arr,k));
}
public static int GetNumberOfK(int [] array , int k) {
int count = 0;
f... |
package fr.jeanlouispiera.web;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Sort;
import org.springframework.stereotype.Controller;... |
public class NarcissisticNumber
{
public static void main(String[] args)
{
int count = 0;
for(int i = 100;i<1000;i++)
{
int unit = i%10;
int tens = i/10%10;
int hundreds = i/100;
if(i == unit*unit*unit+tens*tens*tens+hundreds*hundreds*hundreds)
{
count ++;
System.out.print(i+" ");
... |
package hibernate.jpa.daoClass;
import hibernate.jpa.tableClass.Client;
import javax.persistence.EntityManager;
public class ClientDao extends AbstractDao<Client> {
public ClientDao(EntityManager entityManager) {
super(entityManager);
}
public Client findByName(String name) {
return (Client) getEntityMana... |
/*
* 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 monocholor;
import com.flickr4java.flickr.Flickr;
import com.flickr4java.flickr.FlickrException;
import com.flickr4ja... |
package com.pojo;
public class POJO {
private String user;
private String password;
public POJO(String user, String password) {
super();
this.user=user;
this.password=password;
}
public String getUser() {
return user;
}
public String getPassword() {
return password;
}
}
|
package com.capgemini.exceptions;
public class PaymentFailureException extends Exception {
public PaymentFailureException(String message) {
super(message);
}
}
|
package net.minecraft.item;
import com.google.common.collect.Lists;
import java.util.List;
import javax.annotation.Nullable;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.item.EntityFireworkRocket;
import net... |
package engine.resources;
import engine.resources.ResourceManager.ResourceType;
/**
*
* @author Anselme FRANÇOIS
*
*/
public enum Resource {
BACKGROUND ("res/theme/default/background.png", ResourceType.TEXTURE),
UI_WINDOW ("res/theme/default/ui.png", ResourceType.TEXTURE),
CLIENT_CONFIG ("res/conf... |
package com.saven.batch.mapper;
import com.saven.batch.domain.CustomColumnDecorator;
import com.saven.batch.domain.Row;
import org.springframework.batch.item.ExecutionContext;
import org.springframework.batch.item.file.transform.FieldSet;
import org.springframework.validation.BindException;
import java.util.HashMap;
... |
/*
* 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 cl.auter.bmp;
import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persi... |
package com.tencent.mm.plugin.hp.tinker;
import com.tencent.mm.plugin.hp.tinker.a.a;
class a$1 implements Runnable {
final /* synthetic */ a kmW;
final /* synthetic */ a kmX;
a$1(a aVar, a aVar2) {
this.kmX = aVar;
this.kmW = aVar2;
}
public final void run() {
if (this.km... |
package com.fleet.rmi.provider.config;
import com.fleet.rmi.common.service.UserService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.remoting.rmi.RmiServiceExporter;
import javax.annotation.Resource;
/**
* @author April H... |
package com.tencent.mm.plugin.bottle.a;
public final class a {
int bWA = -1;
String content = "";
int dCV = 0;
String dCX = "";
String dCY = "";
int dSJ = 0;
String hjN = "";
int hjO = 0;
String hjP = "";
int hjQ = 0;
int hjR = 0;
long hjS = 0;
int msgType = 0;
... |
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import static org.junit.Assert.*;
import org.junit.contrib.java.lang.system.ExpectedSystemExit;
/**
* For Testing QuitOption
*/
public class QuitOptionTest {
private QuitOption quitOption;
@Rule
public final ExpectedSystemExit ... |
package org.usfirst.frc.team5951.robot.commands.gears.floorGearsIntake;
import org.usfirst.frc.team5951.robot.Robot;
import org.usfirst.frc.team5951.robot.subsystems.FloorGearsIntake;
import edu.wpi.first.wpilibj.command.InstantCommand;
/**
*
*/
public class ChangeToGearReleasePosition extends InstantCommand {
p... |
package io.github.leonkacowicz.tictactoe.core;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import static io.github.leonkacowicz.tictactoe.core.BoardState.CIRCLE_WINS;
import static io.github.leonkacowicz.tictactoe.core.BoardState.CROSS_WINS;
import static io... |
package io.summer;
import java.io.IOException;
import java.io.PrintWriter;
import jakarta.servlet.ServletException;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
public class Recruiter extends HttpServlet {
protected void d... |
/*
* Copyright 2016 RedRoma, 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 ... |
package se.Lexicon;
//Create a class called Car. The class should contain the following
//information. Car brand, registration number, max speed and owner
//name. Instantiate an Object of the class and assign values to the
//object.
public class Car {
String carBrand = "Kia";
String registrationNumber ="ABS12... |
package br.com.drogaria.teste;
import java.util.List;
import org.junit.Ignore;
import org.junit.Test;
import br.com.drogaria.dao.FabricanteDAO;
import br.com.drogaria.domain.Fabricante;
public class FabricanteDAOTest {
@Test
@Ignore
public void salvar() {
Fabricante f1 = new Fabricante();
f1.s... |
/*
* @Author : fengzhi
* @date : 2019 - 05 - 08 20 : 26
* @Description :
*/
package nowcoder_leetcode;
import java.util.ArrayList;
import java.util.HashSet;
public class p_25 {
private ArrayList<String> arrayList = new ArrayList<>();
private ArrayList<String> list = new ArrayList<>();
private ArrayLi... |
package com.home.closematch.controller.admin;
import com.home.closematch.entity.SysAdmin;
import com.home.closematch.pojo.Msg;
import com.home.closematch.exception.ServiceErrorException;
import com.home.closematch.service.CompanyService;
import com.home.closematch.service.HumanresoucresService;
import com.home.closema... |
package com.sinata.rwxchina.component_basic.hotel.utils;
import android.content.Context;
import android.graphics.drawable.ColorDrawable;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.PopupWindow;
import android.widget.T... |
package com.zhonghuilv.shouyin.service.impl;
import com.zhonghuilv.shouyin.service.OperatorService;
import org.springframework.stereotype.Service;
/**
* Created by llk2014 on 2018-07-04 17:13:49
*/
@Service
public class OperatorServiceImpl implements OperatorService {
}
|
package com.one.sugarcane.userinfo.controller;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.annotation.Resource;
import javax.servlet.ServletContext;
import javax.servlet.htt... |
package paskaita11;
public class Mangas extends Egzotiniai {
@Override
void kasAsEsu(){
System.out.println("as esu egzotinis vaisius");
}
}
|
package plugin.boot;
import java.io.IOException;
import org.apache.catalina.LifecycleException;
import com.yanan.framework.boot.BootArgs;
import com.yanan.framework.boot.Plugin;
import com.yanan.framework.boot.PluginBoot;
import com.yanan.framework.boot.PluginBootServer;
import com.yanan.framework.plugin.Environment... |
package martin.s4a.shift4all2;
import android.content.Context;
import android.graphics.drawable.GradientDrawable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import java.util.ArrayList;
import martin.s4a.templates.SchemeTemplates;
/**
* Created by Martin on 29.12.20... |
package edu.wayne.cs.severe.redress2.entity.refactoring.formulas.rmmo;
import edu.wayne.cs.severe.redress2.controller.MetricUtils;
import edu.wayne.cs.severe.redress2.controller.metric.CYCLOMetric;
import edu.wayne.cs.severe.redress2.controller.metric.CodeMetric;
import edu.wayne.cs.severe.redress2.entity.MethodDeclar... |
/*
* 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 Controller;
import Model.StatusUsuario;
import Util.Classes.Conexao;
import java.util.List;
/**
*
* @author Ta... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.