text stringlengths 10 2.72M |
|---|
package com.example.android.popularmovies.dataobjects;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.List;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Original class generated with http://www.jsonschema2pojo.org/
* It's quite handy... |
package mc.monacotelecom.auth.config;
import java.util.concurrent.ConcurrentHashMap;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApp... |
package com.mobilephone.foodpai.fragment;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;... |
package br.com.codenation.domain;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import br.com.codenation.domain.PlayersCollection;
public class TeamRepository {
private final Map<Long, Team> teams = new HashMap<>();
private final Map<Long, Player> players = ne... |
package cn.izouxiang.manager.job.dao;
import java.util.List;
import cn.izouxiang.manager.common.mapper.MyMapper;
import cn.izouxiang.manager.job.domain.Job;
public interface JobMapper extends MyMapper<Job> {
List<Job> queryList();
} |
import javax.annotation.Resource;
import org.springframework.stereotype.Repository;
import com.zsl.web.common.dao.IOperations;
import com.zsl.web.common.service.AbstractService;
@Repository(value="modelService")
public class ModelServiceImpl extends AbstractService<Model> implements
IModelService {
@Resource(na... |
package com.niit.MobileShoppingBackend.DTO;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import org.hibernate.validator.constraints.NotBlank;
//entity annotaion for giving the h... |
package ru.molkov.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import ru.molkov.service.TakenItemServiceImpl;
@Controller
@RequestMapping("/index/takenitem")
public... |
package com.tencent.mm.plugin.appbrand.jsapi.appdownload;
import com.tencent.mm.plugin.appbrand.ipc.AppBrandMainProcessService;
import com.tencent.mm.plugin.appbrand.jsapi.a;
import com.tencent.mm.plugin.appbrand.l;
import org.json.JSONObject;
public final class JsApiAddDownloadTaskStraight extends a {
public sta... |
class Solution {
public int[] twoSum(int[] nums, int target) {
Map<Integer, Integer> map = new HashMap<>(); // num -> index
for(int i = 0; i < nums.length; i++){
int current = nums[i];
int op = target - current;
if(map.containsKey(op)){
re... |
package com.services.utils.object;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface DateFormat {
public String format() def... |
package com.tencent.mm.plugin.offline.ui;
import android.app.Activity;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
class b$4 implements OnClickListener {
final /* synthetic */ Activity mr;
b$4(Activity activity) {
this.mr = activity;
}
publ... |
package EmptyClass;
import java.util.Calendar;
public class Edge {
private String start;
private String end;
private int time_weight;
public Edge next;
public Edge() {
}
// for edgehead in Facility
public Edge(String start, String end) {
this.start = start;
this.end = end;
this.time_weight = 0;
this... |
package com.devcamp.currencyconverter.model.views;
import com.devcamp.currencyconverter.model.entities.Currency;
import java.math.BigDecimal;
public class RateView {
private Currency sourceCurrency;
private Currency targetCurrency;
private BigDecimal rate;
private Boolean rateHasDropped;
publ... |
package eu.tivian.musico.database;
import android.database.sqlite.SQLiteStatement;
import androidx.annotation.NonNull;
/**
* A simplified version of {@link SQLiteStatement} for retrieving single string value from the database.
*/
public class SimpleStatement {
/**
* The compiled SQL statement.
*/
... |
package org.cheng.login.model.impl;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;
import com.android.volley.RequestQueue;
import com.android.volley.toolbox.Volley;
import org.cheng.login.MyApp;
import org.cheng.login.activity.LoginActivity;
import org.cheng.login.entity.User;
i... |
package com.tencent.mm.plugin.game.wepkg.utils;
import com.tencent.mm.plugin.game.wepkg.ipc.WepkgMainProcessService;
import com.tencent.mm.plugin.game.wepkg.model.WepkgCrossProcessTask;
import com.tencent.mm.plugin.game.wepkg.model.WepkgVersion;
import com.tencent.mm.plugin.game.wepkg.model.h;
import com.tencent.mm.pl... |
package io.gdiazs.sample.service;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import static org.mockito.Mockito.*;
import org.mockito.MockitoAnnotations;
import... |
package com.example.strongM.mycalendarview.calendar;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import com.example.strongM.mycalendarview.R;
public class RowView extends LinearLayout {
private static final int COLUMN = 7;
priv... |
package lib.game;
import math.geom.Point3i;
public class Face {
public Point3i vertices;
public Point3i normals;
public Point3i texCoords;
public Face(Point3i vertices, Point3i normals) {
this.vertices = vertices;
this.normals = normals;
}
public Face(Point3i vertices, Point3i normals, Point3i texCoords) ... |
package matth.dungeon.GameUI;
import android.widget.TextView;
public class TextLines {
public static String getLine(LevelTile tile, int direction) {
String result = "";
if (tile.getType() == LevelTile.EMPTY) {
result += "There is an empty space";
}
else if (tile.get... |
package com.tencent.mm.app;
import com.tencent.mm.plugin.report.service.KVCommCrossProcessReceiver;
import com.tencent.mm.sdk.platformtools.ak.c;
class ToolsProfile$1 implements c {
final /* synthetic */ ToolsProfile bzj;
ToolsProfile$1(ToolsProfile toolsProfile) {
this.bzj = toolsProfile;
}
... |
package wicket;
import org.apache.wicket.behavior.AttributeAppender;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.markup.repeater.Item;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;
import org.apache.wicket.s... |
package com.jayqqaa12.abase.exception;
public class HttpException extends AbaseException {
private static final long serialVersionUID = 1L;
}
|
package com.pangpang6.hadoop.kafka;
import com.google.common.collect.Lists;
import org.apache.kafka.clients.admin.*;
import org.apache.kafka.common.KafkaFuture;
import org.junit.Before;
import org.junit.Test;
import java.util.Map;
import java.util.Properties;
public class TopicTest {
AdminClient adminClient;
... |
import java.util.*;
public class NumberInput {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("Please enter a number: ");
input.close();
try {
int number = input.nextInt();
System.out.println("You entered " + number);
}
catch (In... |
import java.util.Scanner;
public class GuessMyNumberAISolver {
public static void main(String[] args){
new GuessMyNumberAISolver();
}
public GuessMyNumberAISolver(){
showComputerBanter();
faceOff();
}
public void showComputerBanter(){
System.out.println("Guess a Number between 0 and 1000 inclusive and Rem... |
package org.browsexml.timesheetjob.dao;
import java.sql.Date;
import java.util.List;
import org.browsexml.timesheetjob.model.PayPer;
public interface PayPeriodDao extends Dao{
public void savePeriod(PayPer period);
public void removePayPeriod(Integer id);
public PayPer getPeriod(Integer id);
public PayPer g... |
/*
* 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.opensoft.model.services;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityMana... |
package com.emn.common;
import java.util.Map;
import com.opensymphony.xwork2.Action;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.AbstractInterceptor;
public class EmnIntercepter extends AbstractInterceptor{
private static... |
/* ์ ๋ชฉ : 13-6 flag๋ฅผ ์ด์ฉํ ์ค๋ ๋ ๊ฐ์ ์ข
๋ฃ
* ํ๋ฒ : 201611321
* ์ด๋ฆ : ์๋ฏผ์
*/
package SW;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class RandomThread extends Thread {
private Container contentPane;
private boolean flag = false; //flag๋ฅผ ํตํ์ฌ ์ค๋ ๋ ์ข
๋ฃ ํ์
public RandomThread(Container cont... |
package team.Training;
import java.util.List;
import team.Squad;
import team.player.Player;
public class Training {
private TrainingIntensity intensity;
public Training() {
// Default
intensity = TrainingIntensity.BALANCED;
}
public void workout(Squad squad) {
List<Player> playerList = squad.getPlaye... |
package tk.mybatis.simple;
import org.apache.ibatis.builder.xml.XMLMapperBuilder;
import org.apache.ibatis.datasource.unpooled.UnpooledDataSource;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.logging.log4j.Log4jImpl;
import org.apache.ibatis.mapping.Environment;
import org.apache.ibatis.session.Conf... |
package jbyco.analysis.patterns.instructions;
import jbyco.analysis.patterns.operations.AbstractOperation;
import jbyco.analysis.patterns.parameters.AbstractParameter;
import java.util.Arrays;
/**
* The representation of abstracted instruction.
* Abstract instructions are created by Abstractor.
*/
public class In... |
package com.uvaysss.queuemanager.data.database.entity;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.Ignore;
import android.arch.persistence.room.PrimaryKey;
@Entity
public class TaskEntity {
public static final int STATUS_QUEUE = 1;
public static final int STATUS_PROGRESS... |
package com.example.currency.util;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
public class DateUtil {
private static final DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
public static LocalDate convertToLocalDate (Object param) {
//strin... |
package co.staruml.awt;
import java.awt.Component;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import co.staruml.core.Cursor;
import co.staruml.core.DiagramControl;
import co.staru... |
package com.tencent.mm.protocal.c;
import f.a.a.c.a;
import java.util.LinkedList;
public final class bwo extends bhd {
public double altitude;
public int bjj;
public double latitude;
public double longitude;
public double ssO;
public double ssP;
protected final int a(int i, Object... objA... |
package com.chuxin.family.parse.been;
import com.chuxin.family.parse.been.data.CxCallDataField;
/**
* ๅฏนๅบPair/callๆฅๅฃๆฐๆฎ
* @author shichao.wang
*
*/
public class CxCall extends CxParseBasic{
private CxCallDataField data;
public CxCallDataField getData() {
return data;
}
public void setData(CxCallDataField da... |
package me.jessepayne.pad4j.core.enums;
public enum CCButtonEnum {
SCENE_1(89),
SCENE_2(79),
SCENE_3(69),
SCENE_4(59),
SCENE_5(49),
SCENE_6(39),
SCENE_7(29),
SCENE_8(19),
UP_ARROW(91),
DOWN_ARROW(92),
LEFT_ARROW(93),
RIGHT_ARROW(94),
SESSION(95),
N... |
package entities;
import lombok.*;
import repository.TableManagement;
import javax.persistence.*;
import java.util.Scanner;
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Entity
@Table(name = "prisoner")
public class Prisoner {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
... |
package Hipermarket;
/**
* Classe abstrata Company
*/
abstract class Company {
// variaveis de instancia de Company
private String name;
private int vatNumber;
/**
* Default company constructor
*/
public Company() {
}
/**
* construtor de company
* @param name
* ... |
import textio.TextIO;
public class WhatsYourName {
public static void main (String [] args) {
String userName;
int nameSpace;
String firstName;
String lastName;
char firstInitial;
char lastInitial;
System.out.println("Please enter your first name and last name, separated by a space.");
userName = ... |
/*
* [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... |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GN... |
/*
* created 11.10.2005
*
* $Id: ModifyForeignKeyOperation.java 668 2007-10-04 18:48:16Z cse $
*/
package com.byterefinery.rmbench.operations;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.ecl... |
package com.hxzy.service.impl;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.hxzy.common.util.MD5Util;
import com.hxzy.common.vo.BSTable;
import com.hxzy.common.vo.PageSearch;
import com.hxzy.common.vo.ResponseMessage;
import com.hxzy.enti... |
package com.tencent.mm.plugin.account.bind.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
import com.tencent.mm.g.a.hp;
import com.tencent.mm.g.a.hq;
import com.tencent.mm.kernel.g;... |
package com.tencent.mm.plugin.wallet.balance;
import android.app.Activity;
import android.os.Bundle;
import com.tencent.mm.ab.l;
import com.tencent.mm.plugin.wallet.balance.ui.WalletBalanceFetchPwdInputUI;
import com.tencent.mm.plugin.wallet.balance.ui.WalletBalanceFetchResultUI;
import com.tencent.mm.plugin.wallet.ba... |
package com.beiyelin.projectportal.controller;
import com.beiyelin.account.bean.AccountQuery;
import com.beiyelin.account.bean.EntityRelationAvailablePoolsReqBody;
import com.beiyelin.account.bean.EntityRelations;
import com.beiyelin.account.entity.Account;
import com.beiyelin.account.security.AccessPermission;
import... |
package com.example.mireia.sharetool_appnativa;
public class Latitudes {
private static Latitudes instance;
// Global variable
private Double datalt;
private Double datalg;
String address;
// Restrict the constructor from being instantiated
private Latitudes(){}
public void setData(... |
package com.santander.bi.configuration;
import java.util.Properties;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NameClassPair;
import javax.naming.NamingEnumeration;
import javax.sql.DataSource;
import org.modelmapper.ModelMapper;
import org.springframework.cont... |
package com.jim.multipos.data.operations;
import com.jim.multipos.data.db.model.unit.SubUnitsList;
import java.util.List;
import io.reactivex.Observable;
/**
* Created by DEV on 06.09.2017.
*/
public interface SubUnitOperations {
Observable<Long> addSubUnitList(SubUnitsList subUnitsList);
Observable<Lis... |
package com.tts;
import java.util.Scanner;
import java.util.ArrayList;
import java.util.Collections;
public class Main {
public static void main(String[] args) {
// 1) Ask user for 5 numbers to be in your array list
// Intro
System.out.println("Let's create an array! You will be asked to enter five ... |
package br.org.funcate.glue.controller.listener;
import java.awt.Cursor;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.... |
package domain;
public class Estudiante {
private int id;
private String nombre;
private String carrera;
public Estudiante() {
}
public Estudiante(int id, String nombre, String carrera) {
this.id = id;
this.nombre = nombre;
this.carrera = carrera;
}
public int getId() {
return id;
}
public voi... |
package Project;
//________________________________IMPORTACIONES_________________________________
import java.sql.*;
import javax.swing.*;
//_____________________________CONSTRUCTOR______________________________________
public class BaseDeDatos {
//__________________________________ATRIBUTOS__________________... |
package com.jlgproject.model;
import java.io.Serializable;
import java.util.List;
/**
* @author ็้ on 2017/6/15.
*/
public class DebtPerson implements Serializable{
private String idCode;//่บซไปฝ่ฏๅท
private String name;//ๅบไบไบบๅงๅ
private String provinceCode;//ๆๅฑ็
private String cityCode;//ๆๅฑๅธ
private S... |
package application.gui;
import java.awt.Color;
import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenu... |
package com.fnsvalue.skillshare.dto;
public class Question {
private int ask_no_pk;
private String user_tb_user_id_pk;
private String ask_tit;
private String ask_con;
private String ask_dt;
private int page;
private int perPageNum;
private int totalCount;
private int startPage;
private int endPage;
private ... |
package com.bunny.taskapi.service;
import com.bunny.taskapi.domain.Tasks;
import com.bunny.taskapi.repository.TasksRepository;
import org.springframework.stereotype.Service;
@Service
public class TaskCommandServiceImpl implements TaskCommandService
{
private final TasksRepository tasksRepository;
public Task... |
package com.lizogub.LabWork9.test;
import com.lizogub.LabWork9.pages.DashboardPage;
import com.lizogub.LabWork9.pages.DictionaryPage;
import com.lizogub.LabWork9.pages.LoginPage;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.sel... |
package tk.martijn_heil.elytraoptions.command;
import com.sk89q.intake.Command;
import com.sk89q.intake.Require;
import org.bukkit.command.CommandSender;
import tk.martijn_heil.elytraoptions.EPlayer;
import tk.martijn_heil.elytraoptions.ElytraOptions;
import tk.martijn_heil.elytraoptions.command.common.Sender... |
package com.nju.edu.cn.constant;
/**
* Created by shea on 2018/9/10.
*/
public class ContractBackTestHead {
//yield,max_drawdown,win_rate,profit_loss_ratio,position,
// today_profit_loss,average_trading_price,do_adjust_warehouse,trade_id,back_futures_position,
// nearby_futures_position,market_capital_ca... |
/*
* 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.view.panel;
import java.sql.Date;
import java.sql.SQLException;
import java.time.LocalDate;
import java.util.Calendar;
i... |
package com.example.kevin.weatherclothingapp;
import android.app.ActionBar;
import android.app.Activity;
import android.app.ListActivity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.location.Location;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import ... |
package Test;
import org.junit.*;
import Componentes.Jugador;
import Compuestos.Escudo;
import Compuestos.Mina;
import Compuestos.Provision;
import Principal.Juego;
public class JuegoTest {
@Test
public void seCreaElJuego() throws Exception {
Juego juego = new Juego();
Assert.assertNotNull(... |
package com.zhowin.miyou.recommend.activity;
import android.content.Context;
import android.content.Intent;
import androidx.fragment.app.Fragment;
import com.zhowin.base_library.adapter.HomePageAdapter;
import com.zhowin.base_library.utils.ConstantValue;
import com.zhowin.miyou.R;
import com.zhowin.miyou.base.BaseB... |
package test.pong;
import gfx.BitmapFont;
import java.io.IOException;
import org.lwjgl.input.Keyboard;
import org.lwjgl.util.vector.Vector2f;
import core.AppContainer;
import core.AppContext;
import core.AppState;
import core.StateBasedApp;
public class PongStartState extends AppState {
private BitmapFont rules;... |
package com.ts.dao;
import java.util.ArrayList;
import java.util.List;
import org.hibernate.Query;
import org.hibernate.SessionFactory;
import org.hibernate.Session;
import org.hibernate.cfg.Configuration;
import org.hibernate.SQLQuery;
import com.rest.dto.Review;
import com.rest.dto.Submit;
import com.rest.dto.Task... |
package response.helpers.classes;
public class Description {
private String description;
public Description() {
super();
}
public Description(String content) {
this();
description = content;
}
public static Description createSuccess(String resource, int id, String act... |
package com.example.mibrahiem.commonplaces;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
... |
package dev.amoeba.moexplorer.model;
import android.content.ContentProviderClient;
import android.database.Cursor;
import java.io.Closeable;
import dev.amoeba.moexplorer.libcore.io.IoUtils;
import dev.amoeba.moexplorer.misc.ContentProviderClientCompat;
import static dev.amoeba.moexplorer.BaseActivity.State.MODE_UNK... |
package org.mge.algos.dp;
public class NthFibonacciNumber {
static int[] memTable = new int[90];
public static void main(String[] args) {
int n = 50;
long startTime = System.currentTimeMillis();
System.out.println(getNthFN(n));
System.out.println("Time taken for recursion: "
+ (System.currentTimeMilli... |
package com.bright.website.shiro;
public class Contans {
public static final String CURRENT_USER = "user";
}
|
import java.io.Serializable;
/**
* Created by gcc on 13/04/17.
*/
public class SNP implements Serializable {
String rsID;
String alleleA;
String alleleB;
String maf;
String chrNr;
String pos;
double overallZscore;
public String getRsID() {
return rsID;
}
public void ... |
package com.github.ezauton.recorder;
import com.github.ezauton.core.action.ActionGroup;
import com.github.ezauton.core.action.BackgroundAction;
import com.github.ezauton.core.action.PurePursuitAction;
import com.github.ezauton.core.localization.estimators.TankRobotEncoderEncoderEstimator;
import com.github.ezauton.cor... |
package model.impl;
import java.util.Vector;
import model.AccessPoint;
import model.GridPoint;
import model.PathLossModel;
import model.Room;
import model.Trajectory;
import model.TxRadioImpl;
import model.Wall;
public class TransTxRadioImpl extends TxRadioImpl {//this is the transmit radio (DL) (of the transmitter)... |
package com.j2.io;
public class Tazza extends Coproduction { //๊ณต๋์ ์ํ์ํ
public Tazza(Movie movie) {
this.movie = movie;
}
public String getDescription() {
return movie.getDescription() + ", tazza";
}
public int rate() {
return 800 + movie.rate();//ํ์ง๊ด๊ฐ์์ ์ํ๊ด๊ฐ์๋ฅผ ๋ํจ
}
} |
/*
* 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 frsmanagementclient;
import ejb.session.stateless.AircraftConfigurationSessionBeanRemote;
import ejb.session.stateless.FlightR... |
import java.util.Arrays;
//Given an array of integers, every element appears twice except for one.
//Find that single one.
public class Solution {
public static int singleNumber(int[] A){
int x = 0;
for(int i = 0; i < A.length; i++){
x ^= A[i];
}
return x;
}
public static int singleNumber2(int[] A){
/... |
package machine;
import org.junit.Before;
import org.junit.Test;
public class GameMachineTest {
Table table;
GameAgainstMachine game;
// A - Ally
// E - Enemy
// O - Test
//
// ___________________
// |\|0|1|2|3|4|5|6|7|
// |0|_|_|K|_|_|_|_|_|
// |1|_|_|_|_|_|_|_|_|
... |
package com.example.demo_boot.dao;
import java.io.Serializable;
public class ExtendedRepositoryImpl<T, ID extends Serializable>
{
/* extends SimpleJpaRepository<T, ID> implements ExtendedRepository<T, ID> {
private EntityManager entityManager;
public ExtendedRepositoryImpl(JpaEntityInformation<T, ?... |
package org.fuserleer.ledger.messages;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.Objects;
import java.util.Set;
import org.fuserleer.crypto.Hash;
import org.fuserleer.network.messaging.Message;
import org.fuserleer.serialization.DsonOutput;
... |
package com.pay.database.mybatis.config;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;
@Repository
public interface BaseMapper<T> extends Mapper<T>,MySqlMapper<T> {
}
|
package com.cnk.travelogix.core.livesupporti.facade.impl;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import com.cnk.travelogix.core.livesupporti.client.BannedVisitorRestClient;
import com.cnk.travelogix.core.livesuppo... |
package code._3_in_class;
public class Main{
public static void main(String[] args){
//primitive:
//numere
//caractere
//boolean
//referinte/obiecte
//este o colectie/grup/gramada de primitive
Masina m=new Masina();
m.start();
m.steer();
... |
package hirondelle.web4j;
import hirondelle.web4j.security.SafeText;
import hirondelle.web4j.model.ModelCtorException;
import hirondelle.web4j.readconfig.ConfigReader;
import java.util.*;
import java.lang.reflect.*;
import java.util.logging.*;
import hirondelle.web4j.util.Util;
import hirondelle.web4j.model.C... |
package com.paytechnologies.cloudacar;
import java.util.ArrayList;
import java.util.HashMap;
import com.paytechnologies.DTO.NavDrawerItems;
import com.paytechnologies.cloudacar.AsynTask.InboxTask;
import com.paytechnologies.cloudacar.adapters.AdapterListForNavGrid;
import com.paytechnologies.cloudacar.interfa... |
package razerdp.basepopup;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import java.lang.ref.WeakReference;
import androidx.fragment.app.Fragment;
import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.Lifecyc... |
package com.rui.cn.config;
import com.netflix.client.config.IClientConfig;
import com.netflix.loadbalancer.*;
import com.rui.cn.annotation.AvoidScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configur... |
package com.chuxin.family.models;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.chuxin.family.utils.CxLog;
import android.content.Context;
/***
* ่ฎฐ่ดฆๆ็ปๆๆฐๆฎๅญๅจ
* @author shichao
*
*/
public class ChargeMonthDetail extends Model{
private static final String... |
/**
* MOTECH PLATFORM OPENSOURCE LICENSE AGREEMENT
*
* Copyright (c) 2010-11 The Trustees of Columbia University in the City of
* New York and Grameen Foundation USA. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that th... |
package ru.biv.msgSystem;
import java.util.HashMap;
import java.util.Map;
import ru.biv.base.Abonent;
import ru.biv.base.Address;
import ru.biv.base.AddressService;
public class AddressServiceImpl implements AddressService{
private Map<Class<?>, Address> addresses = new HashMap<Class<?>,Address>();
public Addr... |
package example;
import java.util.List;
class Geometric {
}
class Circle extends Geometric {
double radius;
}
class Rectangle extends Geometric {
double width;
double height;
}
class Triangle extends Geometric {
double firstSide;
double secondSide;
double thirdSide;
}
public class AreaGeom... |
package app.integro.sjbhs.models;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class Sjbhs_videos2List {
private String message;
public List<Sjbhs_videos2> getSjbhs_videos2Lists() {
return sjbhs_videos2Lists;
}
public void setSjbhs_videos2Lists(List<Sjbhs... |
package genscript.defaultops.factories;
import genscript.defaultops.OpConst;
import genscript.execution.ExecuterTreeElem;
import genscript.parse.ExecTreeElemFactory;
import genscript.syntax.tokens.Tokenizer;
import scriptinterface.execution.ExecutionScope;
import scriptinterface.execution.returnvalues.Execution... |
package com.shopify.order.popup;
import java.util.Map;
import javax.servlet.http.HttpSession;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.sprin... |
package stream.object.step1.test;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
/*
* ===========Serialization(์ง๋ ฌํ):: Data Unpack============
* Person๊ฐ์ฒด์ ์ ๋ณด๋ฅผ(ํ๋๊ฐ) ๋ค๋ฅธ๊ณณ(Sink::person.obj)์ผ๋ก ๋ ๋ฆฌ๋ ๋ก์ง์ ์์ฑ
* 1. Stream ๊ฐ์ฒด๋ฅผ ์์ฑ - - - ObjectOutput... |
package com.tt.option.e;
import org.json.JSONObject;
public interface k {
JSONObject buildErrorMsg(String paramString);
void invokeHandler(String paramString);
}
/* Location: C:\Users\august\Desktop\tik\df_miniapp\classes.jar!\com\tt\option\e\k.class
* Java compiler version: 6 (50.0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.