text stringlengths 10 2.72M |
|---|
package com.androidvoyage.bmc.models;
import java.util.ArrayList;
public class DesiredCareer {
String industryType;
String departmentBranch;
String role;
boolean isPermanent;
boolean isContractual;
boolean isFullTime;
boolean isPartTime;
boolean currency;
String expectedIncome;
... |
package seedu.project.logic.parser;
import static java.util.Objects.requireNonNull;
import static seedu.project.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import java.util.InputMismatchException;
import seedu.project.commons.core.index.Index;
import seedu.project.logic.commands.CompletedCommand;
import se... |
package alien4cloud.paas.plan;
import lombok.Getter;
import lombok.Setter;
/**
* Update the state of an element.
*
* @author luc boutier
*/
@Getter
@Setter
@SuppressWarnings("PMD.UnusedPrivateField")
public class StateUpdateEvent extends AbstractWorkflowStep {
private final String elementId;
private fina... |
package first;
import org.apache.spark.SparkConf;
import org.apache.spark.SparkContext;
import org.apache.spark.api.java.JavaPairRDD;
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.storage.StorageLevel;
import scala.Tuple2;
public class Main {
public static void main(String[] args) {
... |
package contest.codejam;
import java.io.*;
import java.util.*;
public class GCJ_2021_Qualification_E {
static BufferedReader br;
static PrintWriter out;
static StringTokenizer st;
static final double START = -3 + 0.03;
public static void main(String[] args) throws IOException {
br = new BufferedReade... |
package xyz.carbule8.video.exception;
public class UploadOSSException extends VideoException {
private static final long serialVersionUID = -1393999788389903036L;
public UploadOSSException() {
}
public UploadOSSException(String message) {
super(message);
}
public UploadOSSException(S... |
package com.ssb.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.sprin... |
package io.dcbn.backend.evidence_formula.services.exceptions;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.Getter;
import lombok.Setter;
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.WRAPPER_OBJECT, property = "... |
/**
*
*/
package ok;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.util.Date;
/**
* @author cnmbx
*
*/
public class TextDataReader {
public static String[] read(File F,boolean flag_empty,String encode) {
BufferedReader BR = ... |
package com.learning.recursion;
/**
* Class for calculating sum of digits of natural number
*
* @author Eugeniy Zozulya
* @version 1.0
*/
public class SumOfNaturalNumber implements Executable {
/**
* @param number - any positive integer number or 0 and constrained by MAX_VALUE of type Long
* @retur... |
package com.aidigame.hisun.imengstar.adapter;
import java.util.ArrayList;
import com.aidigame.hisun.imengstar.R;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import andr... |
package com.Hackerrank.algos.warmup;
import java.util.Scanner;
public class PlusMinus {
public static void main(String[] args) {
/* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
float p=0,ne... |
package com.epam.controller;
import javax.validation.Valid;
import com.epam.dto.request.AuthenticationDTO;
import com.epam.dto.request.create.CreateUserDTO;
import com.epam.service.AuthenticationService;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.CrossOrigin;
import... |
package com.company;
import java.util.Scanner;
public class Ejercicio9_4 {
public static void main(String[] args) {
Scanner teclado = new Scanner(System.in);
System.out.print("Introduzca una frase: ");
String frase = teclado.nextLine();
int longitud = frase.length();
int ... |
package com.g52aim.lab04;
import java.util.Random;
import g52aim.domains.chesc2014_SAT.SAT;
import g52aim.satheuristics.genetics.CrossoverHeuristic;
/**
* Uniform Crossover
* @author Warren G. Jackson
*
*/
public class UniformXO extends CrossoverHeuristic {
public UniformXO(SAT problem, Random random) {
sup... |
package Keywords;
import java.util.Properties;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
import com.relevantcodes.extentreports.ExtentTest;
import com.relevantcodes.extentreports.LogStatus;
import Ad... |
/*
* Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license.
* See LICENSE in the project root for license information.
*/
package com.microsoft.office365.meetingfeedback.model.meeting;
import android.content.Context;
import android.text.Html;
import android.text.Spanned;
import android.view.V... |
package view;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.swing.BorderFactory;
import javax.swi... |
package hello.data;
import hello.data.config.ApplicationConfigurationProperties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jmx.export.annotation.*;
import org.springframework.stereotype.Component;
import javax.ann... |
package com.kmdc.mdu.oaid;
import android.content.Context;
import android.os.Looper;
import java.util.Map;
import zizzy.zhao.bridgex.l.L;
public class OAIDHelper {
public static void fetchOAID(Context context, OnFetchListener listener) {
if (Looper.myLooper() == Looper.getMainLooper()) {
ne... |
package com.example.viewpager;
import android.app.ListFragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.... |
package homework1.tasks;
import java.util.Scanner;
/**
* Пусть a, b, c - переменные, которым присваиваются введенные числа,
* а переменная m в конечном итоге должна будет содержать значение наибольшей переменной.
* Реаизация через статический метод в цикле зароса до корректного ввода чисел пользователем.
*/
pub... |
package com.lesports.albatross.utils.user;
import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.util.Log;
import com.lesports.albatross.activity.mine.LoginActivity;
import com.lesports.albatross.services.CommentService;
import com.sohu.cyan.android.sdk.api.CallBac... |
package in.anandm.oj.controller;
import in.anandm.oj.command.SolutionSubmissionCommand;
import in.anandm.oj.service.SubmissionService;
import in.anandm.oj.validator.SolutionSubmissionCommandValidator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
impo... |
package liu.lang.reflect.Method;
import java.lang.reflect.AnnotatedType;
import java.lang.reflect.Method;
/**Method类的常用方法:
* getAnnotatedReturnType()
* 返回一个AnnotatedType对象,该对象表示使用一个类型来指定由该可执行文件表示的方法/构造函数的返回类型
* (返回方法的返回值类型)
* @author LIU
*
*/
public class About_getAnnotatedReturnType {
public... |
package com.github.angads25.nature.elements;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.Point;
import android.util.AttributeSet;
import com.github.angads25.nature.model.NatureView;
/**<p>
* Created by Angad on ... |
package org.softRoad.controllers;
import io.quarkus.test.TestTransaction;
import io.quarkus.test.common.QuarkusTestResource;
import io.quarkus.test.h2.H2DatabaseTestResource;
import io.quarkus.test.junit.QuarkusTest;
import org.hamcrest.CoreMatchers;
import org.junit.jupiter.api.Test;
import org.softRoad.models.User;
... |
package org.juxtasoftware.dao;
import java.util.List;
import org.juxtasoftware.model.Metrics;
import org.juxtasoftware.model.Workspace;
public interface MetricsDao extends JuxtaDao<Metrics> {
List<Metrics> list();
Metrics get( final Workspace ws );
void update( final Metrics m );
}
|
package tailminuseff;
import mockit.Mocked;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class FileLineModelLineAddedEventTests {
@Test
public void getLineReturnsLine(@Mocked FileLineModel model) {
assertEquals("Hello", new FileLineModelLineAddedEvent(model, "Hello").get... |
import edu.princeton.cs.algs4.Digraph;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import static org.junit.jupiter.api.Assertions.*;
public class SAPTests {
@Test
public void constructor_Throws_WhenArgsNull() {
// Arrang... |
package two.gc;
/**
* @author Tedikova O.
* @version 1.0
*/
public class A {
public A() {
}
@Override
public void finalize() {
System.out.println("A.finalize");
}
}
|
package com.bcq.oklib.net.utils;
public enum ApiType {
POST,
GET
} |
package cn.net.bluechips.zsystem.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframe... |
package utils;
import java.awt.Graphics;
import java.awt.Image;
import javax.swing.ImageIcon;
import javax.swing.JPanel;
public class ImagePanel extends JPanel
{
private static final long serialVersionUID = 1L;
private Image image = null;
public ImagePanel()
{
}
publi... |
package message;
import component.Component;
public class MComponentAdded extends CMessage {
public MComponentAdded(Component source){
this.text = "ComponentAdded";
this.source = source;
}
}
|
package com.github.ytjojo.supernestedlayout;
import android.content.Context;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.v4.os.ParcelableCompat;
import android.support.v4.os.ParcelableCompatCreatorCallbacks;
import android.support.v4.view.AbsSavedState;
import android.support.v4.view... |
package com.zhicai.byteera.activity.community.topic.entity;
/** Created by bing on 2015/6/17. */
public class NormalUserEntity {
private String userId;
private String headPorait;
private String nickName;
public String getUserId() {
return userId;
}
public void setUserId(String userId)... |
package io.zentity.common;
import org.junit.Test;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import static org.junit.Assert.assertEquals;
public class StreamUtilTest {
@Test
public void testTupleFlatmapper() {
Stream<String> stream = Stream.of("0a", "0... |
package com.alibaba.druid.bvt.sql;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.sql.ast.SQLStatement;
import com.alibaba.druid.sql.parser.SQLStatementParser;
import com.alibaba.druid.sql.test.TestUtils;
public class SQLCommentStatementTest extends TestCase {
public void tes... |
package com.duanc.model.base;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
public class BasePhone implements Serializable {
private static final long serialVersionUID = 1L;
private Integer id;
private Integer brandId;
private Integer modelId;
privat... |
package cn.xuetang.common.util;
import org.nutz.ioc.loader.annotation.IocBean;
import javax.swing.*;
import java.awt.*;
import java.awt.image.BufferedImage;
/**
* Created by Wizzer on 14-5-22.
*/
@IocBean
public class ImagesUtil {
/**JAVA水印图处理,解决PNG背景透明问题
* @param fileImage 待处理图片
* @param markImage 水... |
package sandbox.fastqueryms;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Import;
import org.springframework.data.elasticsearch.re... |
package com.oformby.broadcast.application;
import java.io.IOException;
import java.net.ServerSocket;
import java.util.ArrayList;
import com.oformby.broadcast.domain.ThreadDetails;
import com.oformby.broadcast.threads.CommunicationsThread;
import com.oformby.broadcast.threads.MultipleConnectionThread;
public class Se... |
package app.akeorcist.deviceinformation.model;
/**
* Created by Akexorcist on 2/26/15 AD.
*/
public class SimpleData {
private String title;
private String detail;
public SimpleData(String title, String detail) {
this.title = title;
this.detail = detail;
}
public String getTitle... |
package com.fumei.bg.service.system;
import com.fumei.bg.domain.system.SysMenu;
import com.fumei.bg.domain.system.vo.RouterVo;
import java.util.ArrayList;
import java.util.List;
/**
* @author zkh
*/
public interface ISysMenuService {
/**
* 获取树形菜单
* @return 菜单集合
*/
List<SysMenu> getTreeMenus(... |
package pp;
import pp.model.Guild;
import pp.model.IModel;
import pp.model.Player;
import pp.service.GlRuService;
import java.io.IOException;
import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Map;
/**
* @author alexander.... |
/**
*
*/
package dao;
/**
* @author BALDE Baba-Abdoulaye
*
* 30 nov. 2016
*/
public interface IDao {
public double getValue();
}
|
package com.fanfte.algorithm.jz;
/**
* Created by dell on 2018/7/18
**/
public class FindKthToTail015 {
public static void main(String[] args) {
}
public ListNode findKthToTail(ListNode head, int k) {
if(head == null || k <= 0) {
return null;
}
ListNode first = hea... |
package com.cags.EC.PSO;
/**
* Particle Factory <P> to be implemented.
*/
public abstract class ParticleFactory<P> {
public abstract Particle<P> create();
}
|
package com.atguigu.lgl;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import org.junit.Test;
public class UseFidleMethod {
//获取指定的属性
@Test
public void test() throws Exception, Exception{
SubClass sc = new SubClass();
//获取Class对象
Class clazz = SubClass.class;
//获取指定的属性--任何权限修饰符... |
package ru.job4j.scopeex;
import java.util.Arrays;
import java.util.List;
import org.junit.Test;
import static org.junit.Assert.assertArrayEquals;
/**
* Класс ScopeTest демострирует область видимости и лямбда.
* @author Gureyev Ilya (mailto:ill-jah@yandex.ru)
* @version 2018-12-07
* @since 2018-09-11
*... |
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import ... |
package com.androidcorpo.lindapp.activities;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.provider.ContactsContract;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
im... |
/*
* ID: nareddyt
* LANG: JAVA
* TASK: ballet
*/
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.StringTokenizer;
public class ballet
{
public static void main(String[] args) throws IOException
{
BufferedReader f = new BufferedReader(new Fi... |
package com.teaboot.context.exception;
import java.io.IOException;
public class ResourceNotFoundException extends IOException {
/**
*
*/
private static final long serialVersionUID = -8819556200577695350L;
public ResourceNotFoundException() {
super();
}
public ResourceNotFoundException(St... |
package com.vc19003337.fakestagram.Fragments;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import androidx.activity.result.ActivityResult;
import androidx.activity.result.ActivityResultCallback;
import androidx.activity.r... |
/**
* Load-time weaving support for a Spring application context, building on Spring's
* {@link org.springframework.instrument.classloading.LoadTimeWeaver} abstraction.
*/
@NonNullApi
@NonNullFields
package org.springframework.context.weaving;
import org.springframework.lang.NonNullApi;
import org.springframework.l... |
package com.kevin.cloud.service.service;
import com.google.common.collect.Lists;
import com.kevin.cloud.commons.dto.RoleUserDto;
import com.kevin.cloud.provider.api.RoleService;
import com.kevin.cloud.provider.api.UserService;
import com.kevin.cloud.provider.domain.UmsAdmin;
import org.apache.dubbo.config.annotation.R... |
package com.gaoshin.points.server;
import org.junit.Before;
import org.junit.Test;
import com.gaoshin.points.server.bean.Cashier;
import com.gaoshin.points.server.bean.User;
public class CashierTest extends PointsResourceTester {
private User merchant = null;
private User customer = null;
@Before
public void c... |
package egovframework.adm.cfg.mng.dao;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;
import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
@Repository("managerDAO")
public class ManagerDAO extends EgovAbstractDAO{
public List selectManagerList(Map<String, Object... |
package org.example.codingtest.twoLevel;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* 0 또는 양의 정수가 담긴 배열 numbers가 매개변수로 주어질 때,
* 순서를 재배치하여 만들 수 있는 가장 큰 수를 문자열로 바꾸어 return 하도록 solution 함수를 작성해주세요.
**/
public class MaximumNum {
public static void main(String[] args) {
... |
/*
2022-08-08
[Leetcode][Easy] 461. Hamming Distance
*/
import java.util.*;
class Hamming {
/*
* Runtime: 2 ms, faster than 7.52% of Java online submissions for Hamming Distance.
* Memory Usage: 41.5 MB, less than 13.15% of Java online submissions for Hamming Distance.
*/
public int hamm... |
package org.bridgedb.webservicetesting.BridgeDbWebservice;
import java.util.Set;
import org.bridgedb.IDMapper;
import org.bridgedb.Xref;
import org.json.simple.JSONObject;
import org.restlet.data.MediaType;
import org.restlet.data.Status;
import org.restlet.representation.Representation;
import org.restlet.representa... |
package com.rkc.codeQualityAnalysis.payloads;
public class CyclomaticComplexityReport {
}
|
/*
* 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 com.mycompany.arbol_activacion.principal;
import com.mycompany.arbol_activacion.abs.Arbol;
import com.mycompany.arbol_activaci... |
package com.example.kuno.intentmultiex;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
public class MainActivity extends AppCompatActivity {
@Override
protected void on... |
package ffm.slc.model.enums;
/**
* The item(s) denoting language(s) spoken or written.
*/
public enum LanguageItemType {
SPANISH("Spanish"),
VIETNAMESE("Vietnamese"),
LAOTIAN_LAO_("Laotian (Lao)"),
CAMBODIAN_KHMER_("Cambodian (Khmer)"),
KOREAN("Korean"),
JAPANESE("Japanese"),
FRENCH("French"),
GERMAN("German... |
/*
* Copyright (c) 2020 Nikifor Fedorov
* 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 la... |
package com.github.evgdim.tdd.controller;
import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.a... |
package com.example.springaop.myaop;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
public class AopInvocationHandler implements InvocationHandler {
private Aspect aspect;
private Object bean;
public AopInvocationHandler(Aspect aspect, Object bean) {
this.aspect = ... |
package com.tyler_hoffman.ventriloquist.common;
import java.util.Iterator;
import java.util.Properties;
public class PropertiesUtil
{
private static final int KEY_INDEX = 0;
private static final int VALUE_INDEX = 1;
private static final String LINE_DELIMETER = ",";
private static final String KEY_VALUE_DELIMETER ... |
package day0228;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTextField;
... |
package day09methodoverloadingloops;
public class ForLoop01 {
public static void main(String[] args) {
numbersPrint();
printNumber();
divisionFive();
// String hello = "Hello world";
// int counter = 1;
//
// if (counter < 10) {
// counter++;
// ... |
package com.example.demo.Service;
import com.example.demo.Input.createInout;
import com.example.demo.Input.getMessageInout;
import com.example.demo.Output.createOutput;
import com.example.demo.Output.getMessageOutput;
/**
* @author qianchen
* @date 2019/12/26 11:51
*/
public interface StudentService {
/**
... |
package com.zs.ui.home.view;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.DialogFragment;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.Text... |
/*
* Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.engine.mock;
import java.util.Collections;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import pl... |
package com.bhuni.git.git_spring_test.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import com.bhuni.git.git_spring_test.service.GreetingService;
import com.bhuni.git.git_spring_test.service.NamaskaaraService;
@RequestMappin... |
package com.openfeint.game.archaeology;
import android.content.Context;
import android.view.View;
import android.widget.Button;
import com.openfeint.game.archaeology.beans.Card;
import com.openfeint.game.archaeology.beans.PlayerData;
import com.openfeint.game.archaeology.message.CardLostMessage;
import com.openfeint.... |
package controller.SQLserver;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import model.SQLserver.*;
public class BezeroaDao {
@PersistenceContext
private EntityManager entityManager;
/**
* Devuelve todos los usuarios de la base de datos.... |
package gamewon;
import com.fasterxml.jackson.databind.ObjectMapper;
import model.Player;
import textcolor.ColorText;
import utilities.additionalutilities.Additional;
import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
... |
package com.baihui.vo;
import com.baihui.pojo.Category;
import java.util.ArrayList;
import java.util.List;
public class CategoryVo extends Category{
//子分类列表
private List<Category> subClassifyList = new ArrayList<Category>();
public List<Category> getSubClassifyList() {
return subClassifyList;
... |
package indiana.jones.project;
import java.io.IOException;
import java.text.NumberFormat;
import java.util.InputMismatchException;
import java.util.List;
import java.util.Scanner;
import javax.swing.JOptionPane;
public class Starter {
private static final int WITH_REPETITIONS = 1;
private static final int WITHOUT... |
package com.taim.content.controller.customerclass;
import com.taim.backendservice.client.customerclass.CustomerClassClient;
import com.taim.content.mapper.CustomerClassViewMapper;
import com.taim.content.model.CustomerClassView;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfram... |
package roadgraph;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import geography.GeographicPoint;
public class MapNode {
private GeographicPoint location;
private double dist;
private double predDist;
private List<MapEdge> mapEdges;
public static final Comparat... |
package com.hb.framework.business.controller;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.json.JSONException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import o... |
package com.dbsys.rs.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.dbsys.rs.lib.entity.BahanHabisPakai;
import com.dbsys.rs.lib.entity.Baran... |
package com.junkstoreapp.services;
import com.junkstoreapp.entities.*;
import com.junkstoreapp.exceptions.AppSecurityException;
import com.junkstoreapp.security.SecurityUtil;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
import java.util.Collection;
/**
* @author David VanDu... |
package com.example.bigdata.mapper;
import com.example.bigdata.pojo.Screen;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
@Mapper
public interface ScreenMapper ... |
package com.transport.dao.impl;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logg... |
package be.kuleuven.mume.servlets;
import java.io.IOException;
import javax.jdo.PersistenceManager;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import be.kuleuven.mume.PMF;
import be.kuleuven.mume.shared.Persoon;
import be.kuleuv... |
package matthbo.mods.darkworld.world.gen.feature;
import java.util.Random;
import matthbo.mods.darkworld.init.ModBlocks;
import net.minecraft.init.Blocks;
import net.minecraft.util.BlockPos;
import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenCactus;
public class DarkWorldGenCactus exten... |
package com.miyatu.tianshixiaobai.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androi... |
package com.auro.scholr.core.application;
import android.app.Activity;
import android.content.Context;
import android.content.res.Configuration;
import com.auro.scholr.core.application.di.component.AppComponent;
import com.auro.scholr.core.application.di.component.DaggerAppComponent;
import com.auro.scholr.core.a... |
package com.sun.tools.xjc.generator.annotation.spec;
import javax.xml.bind.annotation.XmlElementWrapper;
import com.sun.codemodel.JAnnotationWriter;
public interface XmlElementWrapperWriter
extends JAnnotationWriter<XmlElementWrapper>
{
XmlElementWrapperWriter name(String value);
XmlElementWrapperWrit... |
/**
* This class is generated by jOOQ
*/
package schema.tables.records;
import java.sql.Timestamp;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.Record1;
import org.jooq.Record6;
import org.jooq.Row6;
import org.jooq.impl.UpdatableRecordImpl;
import schema.tables.CoursewareXmoduleuser... |
import java.util.*;
import java.awt.Graphics;
import java.lang.Math;
public class EntityEnemyBullet extends EntityEnemyBullets {
private static int numberOfInstances = 0;
private static String[] paths;
private static int[] indexs;
private int sprite = 0;
public EntityEnemyBullet(GameSprites s, int... |
package com.nanyin.config.exceptions.exceptionHandler;
import com.google.common.base.Strings;
import com.nanyin.config.util.Result;
import com.nanyin.config.enums.ResultCodeEnum;
import com.nanyin.services.LocaleService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.... |
package lorann_debug;
import java.awt.Color;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import javax.swing.JFrame;
public class Window extends JFrame implements KeyListener {
private static final lon... |
package com.zs.dao;
import com.zs.common.SP;
import com.zs.dao.auth.AppAuth;
/**
* author: admin
* date: 2018/01/02
* version: 0
* mail: secret
* desc: AppConstants
*/
public class AppConstants {
final String DEFAULT_PUBLIC = "58.240.131.58";
String strAddress = "124.70.50.244";
int nPort = 8000;
... |
/*
* Copyright (c) 2023, WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 LLC. licenses this file to you 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.