text stringlengths 10 2.72M |
|---|
package com.grability.test.dlmontano.grabilitytest.interfaces;
import com.grability.test.dlmontano.grabilitytest.model.ContentType;
import java.util.Map;
/**
* Created by Diego Montano on 05/06/2016.
*/
public interface ContentTypeDataSource extends DataSource {
boolean defaultSourceContentHasContentTypes();
... |
package com.nearsoft.upiita.api.config;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.j... |
package com.paleimitations.schoolsofmagic.common.spells.modifiers;
public interface IHasArea {
}
|
package com.tencent.mm.protocal.c;
import f.a.a.b;
import f.a.a.c.a;
import java.util.LinkedList;
public final class bmo extends bhp {
public bhy rKi;
public bhy rKj;
public bhy rKk;
public float rYk;
public int rgC;
public int skL;
public bhy skM;
public bhy skN;
public bhy skO;
... |
/**
*
*/
package com.atanu.java.spring.offersvc.bo;
import java.util.List;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
import... |
package ruletas;
import imports.GQueue;
import imports.RadixSortQueue;
import javax.swing.JOptionPane;
public class RadixSortQueue_ruleta {
public static void main(String[] args) {
GQueue<Integer> mainqueue = new GQueue<Integer>();
int numcompras = Integer.parseInt(JOptionPane.showInputDialog(null, "D... |
package com.ds.algo.matters.bfs;
import java.util.*;
public class IterativeBfsTraversal {
public static void main(String[] args){
List<Edge> edges = Arrays.asList(
new Edge(1, 2), new Edge(1, 3), new Edge(1, 4),
new Edge(2, 5), new Edge(2, 6), new Edge(5, 9),
... |
package median;
import java.util.Collections;
import java.util.PriorityQueue;
public class Solution {
public Solution() {
// add new fields and complete the constructor if necessary.
largehalf = new PriorityQueue<Integer>();
smallhalf = new PriorityQueue<Integer>(11, Collections.reverseOrder());
}
... |
package br.com.becommerce.infrastructure.persistence;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframew... |
package com.company.domain;
import java.math.BigDecimal;
public class Business {
private Integer id;
private String password;
public Business(String password, String name, String addr, String ex, BigDecimal starPrice, BigDecimal sendPrice) {
this.password = password;
this.name = name;
... |
package com.jjw.sparkCore.others.partitioner;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import org.apache.spark.Partitioner;
import org.apache.spark.SparkConf;
import org.apache.spark.api.java.JavaPairRDD;
import org.apache.spark.api.java.JavaSparkContext;
... |
package com.tencent.mm.blink;
import com.tencent.mm.kernel.j;
import com.tencent.mm.sdk.platformtools.ad;
import com.tencent.mm.sdk.platformtools.x;
import java.util.ArrayList;
public final class a {
public static final int[] cVN = new int[]{0, 1, 2};
public static final int[] cVO = new int[]{3, 13, 23};
... |
/*
Java Power Info utility, (C)2021 IC Book Labs
Table model for Tree Monitor (text table built), abstract class
*/
package powerinfo;
import javax.swing.table.AbstractTableModel;
import javax.swing.tree.TreePath;
public abstract class TreeMonitor
{
public abstract AbstractTableModel getTableModelByPath( Tr... |
/*
* Copyright (c) 2015. ReviewBot by Jeremy Tidwell is licensed under a Creative Commons
* Attribution-NonCommercial-ShareAlike 4.0 International License.
* Based on a work at https://github.com/necanthrope/ReviewBot.
*/
package reviewbot.repository.metadata;
import org.hibernate.Criteria;
import org.hibernate.H... |
package com.mysql.cj.protocol.a;
import com.mysql.cj.Messages;
import com.mysql.cj.protocol.Message;
import com.mysql.cj.protocol.MessageHeader;
import com.mysql.cj.protocol.MessageReader;
import java.io.IOException;
import java.util.Optional;
public class MultiPacketReader implements MessageReader<NativePacketHeader... |
package com.ysyt.bean;
import java.io.Serializable;
import java.math.BigInteger;
import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
i... |
package br.com.conspesca.filter;
import java.io.IOException;
import javax.inject.Inject;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.serv... |
package org.spring.fom.support.task.pool;
import java.io.BufferedReader;
import java.io.IOException;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Clob;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.s... |
package org.milvus.regex.syntax;
public abstract class Regex {
public final RegexType type;
public Regex(RegexType type) {
this.type = type;
}
}
|
/*
* UniTime 3.2 - 3.5 (University Timetabling Application)
* Copyright (C) 2008 - 2013, UniTime LLC, and individual contributors
* as indicated by the @authors tag.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* ... |
package stepDefinition;
import io.cucumber.java.en.And;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
import pageObjects.DynamicLoadingExample1Page;
import pageObjects.DynamicLoadingExample2Page;
import pageObjects.DynamicLoadingPage;
import utils.TestContext;
import static org.testng.Assert.*;
p... |
package CSArmyBot.commands;
import java.awt.Color;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
import com.jagrosh.jdautilities.command.Command;
import com.jagrosh.jdautilities.command.CommandEvent;
import CSArmyBot.main;
import net.dv8tion.jda.core.EmbedBuilder;
public class ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Intrumentos_Virtuales;
import javax.swing.*;
import java.awt.*;
import java.awt.geom.*;
import java.awt.image.*;
import java.awt.GraphicsConfiguration;
import java.awt.font.FontRenderContext;
impor... |
package com.ewisnor.randomur.iface;
import android.graphics.Bitmap;
/**
* Implementers may receive a Bitmap of an image once it has been downloaded.
*
* Created by evan on 2015-01-04.
*/
public interface OnImageDownloadedListener {
/**
* Handle a downloaded image in Bitmap form.
* @param image imag... |
package excercie;
import java.util.Arrays;
public class test {
public static void main(String[] args) {
int a[] = {22,33,66,88,11};
Arrays.sort(a);
System.out.println(Arrays.toString(a));
min(a);
max(a);
//pour crée Array
int[] b = new int[3];
System.arraycopy(a, 0, b, 0, 3);
//p... |
package mude.srl.ssc.service.payload;
import mude.srl.ssc.rest.controller.command.model.RequestCommandResourceReservation;
public interface RemoteService {
RequestCommandResourceReservation validatePayload(String payload,String requestFrom) throws Exception;
}
|
package com.github.emailtohl.integration.core.common;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* 符合Ztree的数据结构
*
* @author HeLei
*/
public class ZtreeNode implements Serializable {
private static final long serialVersionUID = -7530502845259404928L;
/**
* 自定义属性,用于唯一... |
package com.jkxy.web.interceptor;
import java.util.Map;
import com.jkxy.web.model.User;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.AbstractInterceptor;
public class LoginCheck extends AbstractInterceptor{
@Override
public String intercept(ActionInvocation arg0) thr... |
public class BankAccount
{
private double banlance;
private String owner;
private int accountNum;
public BankAccount()
{
//Negative one means no account given
this(0.0, " ", -1);
}
public BankAccount (double banlance, String owner, int accountNum)
{
this.banlance = banlance;
this.owner = ... |
package com.epam.guest.mapper;
import com.epam.guest.models.dto.AddressResourceDTO;
import com.epam.guest.models.dto.GuestResourceDTO;
import com.epam.guest.models.entity.AddressEntity;
import com.epam.guest.models.entity.GuestEntity;
import java.util.Optional;
/**
* The interface Guest mapper.
*/
public class Gue... |
package com.sdk4.boot.enums;
import lombok.Getter;
@Getter
public enum SmsCodeStatusEnum {
/**
* 已发送待验证
*/
PENDING(10, "待验证"),
/**
* 验证成功
*/
SUCCESS(20, "验证成功"),
/**
* 发送或验证失败
*/
FAIL(40, "发送或验证失败");
private int code;
private String text;
SmsCodeStatusEnum... |
import org.junit.Assert;
import org.junit.Test;
public class CalculatorTest {
@Test
public void additionByteCheck() {
Assert.assertEquals(Calculator.getIntResult("+",10,20), (byte)30, 0);
}
@Test
public void additionIntCheck() {
Assert.assertEquals(Calculator.getIntResult("+",100,-... |
package com.tencent.mm.plugin.appbrand.jsapi.p;
import com.tencent.mm.plugin.appbrand.jsapi.base.b;
import org.json.JSONObject;
public final class g extends b {
public static final int CTRL_INDEX = 299;
public static final String NAME = "removeHTMLWebView";
protected final int k(JSONObject jSONObject) {
... |
package controler;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Iterator;
import model.ChefMagasin;
import model.ChefRayon;
import model.Rayon;
public class gestionUtilisateur {
public static void ajouterChefRayon(String nom, String prenom, String motDePasse, int IDChefMagasin, String no... |
package com.example.legia.mobileweb;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.webkit.URLUtil;
import andro... |
package de.jmda.fx.cdi.viewtemplate;
import de.jmda.fx.cdi.FXAppRunner;
/**
* Starts {@link ViewApp} by invoking {@link FXAppRunner#run(Class, String[])} from {@link #main(String[])}.
*
* @author ruu@jmda.de
*/
public class ViewAppRunner
{
public static void main(String[] args)
{
FXAppRunner.run(... |
package com.goodhealth.algorithm.lambda;
import com.goodhealth.algorithm.Jackson_FastJson.Student;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
import java.util.function.*;
/**
* @Description
* @Author WDH
* @Date 2019/9/19 14:57
**/
public class FunctionInterface {
public st... |
package JB15;
import java.util.Scanner;
public class Pr01Book {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int numberOfBookPages = Integer.parseInt(sc.nextLine());
int campingDays = Integer.parseInt(sc.nextLine());
int numberOfPagesRead = Integer... |
package com.cee.wsr.domain;
public class Appendix {
}
|
/*
* 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 javabankproject.Data;
/**
*
* @author Novin Pendar
*/
public class Branch
{
private int code ;
... |
package com.hcl.dmu.demand.vo;
public class DemandDetailsVo {
private Long Id;
private String streamName;
private String subStreamName;
private String skillName;
private long count;
private long fullfilled;
private long gap;
public Long getId() {
return Id;
}
public void setId(Long id) {
Id = id;
}
... |
package com.tencent.mm.g.a;
import com.tencent.mm.plugin.wallet_core.model.a;
public final class pl$a {
public a cao;
}
|
package com.simpson.kisen.fan.model.service;
import com.simpson.kisen.fan.model.vo.Fan;
public interface FanService {
int updateFan(Fan updateFan);
int deleteFan(String fanId);
}
|
package com.tencent.tencentmap.mapsdk.a;
import android.content.Context;
import android.graphics.PointF;
import android.graphics.Rect;
import com.tencent.map.lib.MapLanguage;
import com.tencent.map.lib.basemap.data.GeoPoint;
import com.tencent.map.lib.d;
import com.tencent.map.lib.gl.JNI;
import com.tencent.map.lib.gl... |
package com.steatoda.commons.fields;
/** Interface each enum that describes object's fields should implement */
public interface FieldEnum {
/**
* For fields that describes subobjects with their own fields, this method returns subobject's {@link FieldEnum} class
*
* @param <F> Field enum describing field type ... |
package programmers.lv3;
import java.util.Arrays;
public class Change_Test {
//거스름돈
//dp 문제
//너무 어려웠다. 처음에 dfs로 접근했다가 아 이건 아니지 싶어서 검색 후 해결했다.
//풀이를 봐도 처음에는 이해하기 어려웠다.
//계속 보다보니까 어느정도 이해는 되었는데 여전히 어질어질하다.
//https://tosuccess.tistory.com/57
//https://ydeer.tistory.com/59 참고
public int so... |
package com.micro.rest.endpoint.wsc;
import com.micro.db.DbOperation;
import com.micro.pojo.Message;
import com.micro.pojo.Transfer;
import com.micro.wsc.WebsocketClient;
import lombok.extern.slf4j.Slf4j;
import org.jooq.Record;
import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;
import javax.j... |
package com.flutterwave.raveandroid.rave_core.models;
/**
* Created by hamzafetuga on 25/07/2017.
*/
public class CardDetsToSave {
String first6;
public String getFirst6() {
return first6;
}
public String getLast4() {
return last4;
}
String last4;
public CardDetsToSav... |
package org.ca.View;
import java.io.IOException;
import java.io.PrintWriter;
import org.ca.Model.RequestPage;
import org.ca.controller.ClinicController;
import org.ca.controller.RequestPageController;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServ... |
package dev.borowiecki.home.after_week_2.company.standard;
public class OfficeWorker extends Employee {
}
|
package com.saha.test.page;
import com.saha.test.base.BasePage;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
public class ShoesAndBagPage extends BasePage {
public ShoesAndBagPage(WebDriver driver){
super(driver);
}
}
|
package com.example.demo.utility.exceptions.ProductExceptions;
import com.example.demo.utility.exceptions.TechnoMarketException;
public class CategoryAlreadyExistsException extends TechnoMarketException {
public CategoryAlreadyExistsException() {
super("Category already Exists");
}
}
|
package org.fuserleer.database;
import java.io.IOException;
@SuppressWarnings("serial")
public class DatabaseException extends IOException
{
public DatabaseException()
{
super ();
}
public DatabaseException(final String message, final Throwable throwable)
{
super(message, throwable);
}... |
package src.facility_maintenance;
public class RequestImpl implements Request {
private String maintRequest;
//Getters and Setters-------------------------------------------------------------------------------------------------------------------
public String getMaintRequest(){//retrieves the string o... |
import java.util.Scanner;
public class OddDecider2 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.print("请输入数字: ");
int number = scanner.nextInt();
System.out.println("是否为奇数? " + ((number & 1) != 0 ? '是' : '否'));
}
}
|
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.Document;
import org.w3c.dom.Elem... |
package com.polsl.edziennik.desktopclient.controller.student.teachers;
import java.awt.event.ActionEvent;
import javax.swing.ImageIcon;
import com.polsl.edziennik.desktopclient.controller.student.StudentAction;
import com.polsl.edziennik.desktopclient.view.common.Teachers;
import com.polsl.edziennik.desktopc... |
public class DeleteNode {
void deleteNode(Node node)
{
// Your code here
node.data = node.next.data;
node.next = node.next.next;
}
}
|
package com.coates.sharding.entity;
import lombok.Data;
/**
* @ClassName User
* @Description TODO
* @Author mc
* @Date 2019/8/28 16:10
* @Version 1.0
**/
@Data
public class User {
private Long id;
private String city;
private String name;
}
|
package com.zihui.cwoa.processone.dao;
import com.zihui.cwoa.financial.pojo.RoleAllUser;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;
@Mapper
public interface HumanMapper {
/**
* 查询请假出差记录
*/
List<Map<String,Object>> queryLeaveByVo(String ... |
/*
* 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 to in writing, software
* distributed u... |
/*
* Copyright 2004-2011 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
*/
package org.h2.test.store;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.... |
package pt.ulisboa.tecnico.cmov.projectcmu;
import android.content.ContentValues;
import android.content.DialogInterface;
import android.database.sqlite.SQLiteDatabase;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import... |
import java.util.ArrayList;
import java.util.HashMap;
public class Tokenization {
public HashMap<String, Integer> tokenAll(ArrayList<Table> table){
HashMap<String, Integer> map = new HashMap<>();
for(int i=0;i<table.size();i++){
String str = table.get(i).getText();
if(str!=null){
String temp... |
package logic;
import java.math.BigInteger;
public class HexBin implements Calculation {
public String getoutput(String input) {
return new BigInteger(input, 16).toString(2);
}
}
|
package org.chouchou;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.*;
import javafx.application.Platform;
import javafx.event.*;
import... |
package com.tencent.mm.plugin.account.friend.ui;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.view.View;
import android.view.ViewGroup;
import com.tencent.mm.a.o;
import com.tencent.mm.aa.c;
import com.tencent.mm.kernel.g;
import com.tencent.mm.model.q;
import com.tencent.mm.plugin.ac... |
package VSMTests;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
public class TestPrintWriter {
/*
* Testing whether print writer makes the file or not if the file does not
* already exist
*/
public static void main(String... args) {
PrintWriter writer = null;
try {
writer = new Pr... |
/*
* 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 view;
import helper.DialogHelper;
import helper.ShareHelper;
import java.awt.Desktop;
import java.awt.event.ActionEvent;
impor... |
/*
* 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 view;
import java.util.Calendar;
/**
*
* @author Caio
*/
public class Funcionarios extends Pessoas{
private String cod... |
package pl.edu.amu.datasupplier.repository;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.d... |
package com.tencent.mm.plugin.exdevice.a;
import com.tencent.mm.ab.l;
public interface b<T extends l> {
void b(int i, int i2, String str, T t);
}
|
package com.algaworks.ecommerce.jpql;
import com.algaworks.ecommerce.EntityManagerTest;
import com.algaworks.ecommerce.dto.ProdutoDTO;
import com.algaworks.ecommerce.model.Cliente;
import com.algaworks.ecommerce.model.Pedido;
import org.junit.Assert;
import org.junit.Test;
import javax.persistence.Query;
import javax... |
package sos.pojo.dto;
import java.util.Calendar;
public class Driver extends Person {
private String tcno;
private int birthYear;
public Driver(){}
public Driver(String name, String surname, String phone, String tcno,
int birthYear) {
super(name, surname, phone);
this.tcno = tcno;
this.birt... |
package com.manage.salary.employee;
import org.springframework.data.jpa.repository.Modifying;
import java.util.List;
import java.util.Optional;
public interface EmployeeService {
List<Employee> getEmployees();
void saveOrUpdateEmployee(Employee theEmployee);
Employee getEmployeeById(Long theId);
... |
package com.vouz.mobileV2.Utils;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
public class Util {
public static v... |
package org.rtmplite.main;
import java.io.IOException;
import java.io.InputStream;
import java.net.Socket;
import java.util.ArrayList;
import java.util.List;
import org.apache.mina.core.buffer.IoBuffer;
import org.rtmplite.amf.AMFObjectEncoder;
import org.rtmplite.amf.RTMPDecoder;
import org.rtmplite.amf.XRTMPDecoder... |
package com.example.root.monerotest.InitActivity.RestoreWallet;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import com.example.root.monerotest.R;
public class RestoreWalletActivity extends AppCompatActivity {
@Override
protected voi... |
package com.neuedu.test;
public class Test02 {
public static void main(String[] args) {
SalaryiedEmployee sa = new SalaryiedEmployee(1000,5);
HourlyEmployee hourlyEmployee = new HourlyEmployee(5,500,12);
SalesEmployee SalesEmployee = new SalesEmployee(120000,0.08,7);
System.out.prin... |
public class Conversion {
public static void main(String[] args) {
byte b;
int i=257;
double d=323.142;
System.out.println("conversion of int to byte");
b=(byte)i;
System.out.println("b and i "+b+" "+i);
System.out.println("conversion of double to int");
i = (int)d;
System.out.println("i and d "+i+... |
package br.com.test;
import java.util.concurrent.TimeUnit;
import javax.management.RuntimeErrorException;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElem... |
package com.example.androidhiveapp.adapters;
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;
... |
package br.ita.sem6dia2.HandsOnInterfaces;
public class Cachorro implements Barulhento {
@Override
public String fazerBarulho() {
return "AU au AU au AU au";
}
}
|
public class BowlingGame {
public int getBowlingScore(String bowlingCode) {
// a miss means get 0 score
bowlingCode = bowlingCode.replace('-', '0');
String[] frames = bowlingCode.split("\\|+");
int[] scores = new int[10];
int score = 0;
for (int i = 9; i >= 0; i--)... |
package net.youzule.shiro.chapter03;
/**
* @description:
* @company:
* @author:Sean
* @date:2018/7/13 11:48
**/
public class App {
}
|
package uk.co.jassoft.markets;
import org.springframework.beans.factory.annotation.Value;
import uk.co.jassoft.markets.datamodel.company.Company;
import uk.co.jassoft.markets.datamodel.company.CompanyBuilder;
import uk.co.jassoft.markets.datamodel.company.sentiment.StorySentiment;
import uk.co.jassoft.markets.datamode... |
package com.Appthuchi.Appqlthuchi.moder;
public class KhoanChi {
public String soTien,moTa,loaiChi;
public int maKhoanChi;
public String ngayChi;
public String getSoTien() {
return soTien;
}
public void setSoTien(String soTien) {
this.soTien = soTien;
}
public String... |
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import org.apache.poi.EncryptedDocumentException;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.S... |
package com.snab.tachkit.databaseRealm.structureTableDatabase;
import io.realm.RealmObject;
/**
* Created by Таня on 27.03.2015.
* таблица для мото - расположение цилиндров
*/
public class CylinderLocation extends RealmObject {
private int id_moto_cylinder_location;
private String mcl_name;
private int... |
package com.ybg.component.email.receivemail;
import java.util.Properties;
import javax.mail.Folder;
import javax.mail.Session;
import javax.mail.Store;
import com.ybg.component.email.EmailConstant;
public class ReceiveQQMailImpl extends AbstractReceiveMail {
@Override
public Store getStore(Session session) throws ... |
package cn.uway.util;
import java.io.UnsupportedEncodingException;
import java.text.FieldPosition;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import org.slf4j.Logger;
import cn.uway.config.Lo... |
package com.china.rescue.framework.security.service;
import cn.hutool.core.util.IdUtil;
import cn.hutool.core.util.StrUtil;
import com.alibaba.fastjson.JSONObject;
import com.china.rescue.framework.redis.RedisCache;
import com.china.rescue.framework.security.jwt.JWTProperties;
import com.china.rescue.po.LoginUser;
imp... |
package com.komaxx.komaxx_gl.texturing;
import java.nio.FloatBuffer;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
import android.graphics.Rect;
import android.graphics.RectF;
import android.opengl.GLES20;
import android.opengl.GLUtils;
... |
package com.simplewidget.demo;
import java.util.Calendar;
import android.app.Activity;
import android.app.DatePickerDialog;
import android.app.TimePickerDialog;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.DatePicker;
import android.widget.TextView;
import an... |
package creational.factory.method;
public class SonyASeries extends Mobile {
public void experience() {
System.out.println("Sony Premium Hardware.");
}
}
|
package cn.tarena.ht.controller;
import cn.tarena.ht.pojo.Dept;
import cn.tarena.ht.pojo.Module;
import cn.tarena.ht.pojo.Role;
import cn.tarena.ht.pojo.User;
import cn.tarena.ht.service.DeptService;
import cn.tarena.ht.service.RoleService;
import cn.tarena.ht.service.UserService;
import com.fasterxml.jackson... |
package com.mygdx.ObjectInfo;
public class SkillDamageInfo extends AbstractStatsInfo {
public float skillAreaWidth;
public float skillAreaHeight;
public long duration;
public String skillTyp;
public String skillGroup;
}
|
package com.products.domain;
import com.products.data.entities.ProductEntity;
import com.products.domain.dto.Product;
import com.products.domain.filters.FilterByProducts;
import com.products.domain.mappers.ProductsMapper;
import com.products.domain.respository.ProductsRepository;
import org.springframework.core.conve... |
package com.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.Bean.UserBean;
import com.Dao.UserDao;
public class UserServlet extends HttpServlet... |
package com.hesoyam.pharmacy.util.report;
import com.hesoyam.pharmacy.util.report.label.ReportLabel;
import java.util.Objects;
public class ReportData<T extends ReportLabel<T>> implements Comparable<ReportData<T>>{
private T label;
private Double data;
public ReportData(T label, Double data){
th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.