text stringlengths 10 2.72M |
|---|
package zuoshen.Tree;
import java.util.Stack;
public class 后序非递归 {
public void postOrder(treeNode head){
if(head==null){
return;
}
postOrder(head.left);
postOrder(head.right);
System.out.print(head.value+" ");
}
public void postOrderNo(treeNode head){
... |
package com.example.ocenika.service;
import com.example.ocenika.model.Comment;
import com.example.ocenika.model.Professor;
import com.example.ocenika.model.University;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.h... |
package com.tencent.mm.plugin.setting.ui.setting;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
class EditSignatureUI$2 implements OnMenuItemClickListener {
final /* synthetic */ EditSignatureUI mPP;
EditSignatureUI$2(EditSignatureUI editSignatureUI) {
this.mPP =... |
package self.learning.isudoku;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
*
* @author hshrishrimal
*/
public class Sudoku {
private int NUM_OF_ROWS = 9;
private int NU... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int heightOfBus = scanner.nextInt();
int numberOfBridges = scanner.nextInt();
int heightOfBridges;
int counter = 0;
while (scanner.hasNex... |
import java.io.*;
class Control4
{
public static void main(String[]args)
{
int s=Integer.parseInt(args[0]);
int r,t=0;
while(s>0){
r=s%10;
t=t+r;
s=s/10;
}
System.out.println("the sum of the digits of s is:"+t);
}
} |
package com.wb.cloud.config;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;
/**
* @ClassName : ApplicationContextConfig
* @Author :... |
package pro.roquelaure.leapyears;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
public class LeapYearsTest {
@Test
public void leapYears_return_true_if_the_parameter_is_divisible_by_400() {
int num = 400;
boolean isDivisibleByNum = LeapYears.calculate(... |
package com.libedi.demo.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.libedi.demo.domain.TestEntity;
/**
* TestRepository
*
* @author Sang-jun, Park (libedi@linecorp.com)
* @since 2019. 04. 02
*/
public interface TestRepository extends JpaRepository<TestEntity, Long> {
}
|
package com.project.backend.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.project.backend.entità.CaratteristicheQualitativeSt;
public interface CaratteristicheQualitativeStRepository extends JpaRepository<CaratteristicheQualitativeSt, String> {
}
|
package design_method.策略模式;
public class Context {
CalPrice calPrice;
public void method(double price){
calPrice.calPrice(price);
}
}
|
package com.blog.system.action;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRespon... |
/**
*
*/
package fl.sabal.source.interfacePC.Windows;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import fl.sabal.source.interfacePC.Codes.Event.lettersToUppsercase;
import fl.sabal.source.interfacePC.Codes.Event.notDigit;
import fl.sabal.source.interfaceP... |
package com.komdosh.yandextestapp.request;
import com.komdosh.yandextestapp.data.dto.DictionaryDto;
import retrofit2.Call;
import retrofit2.http.POST;
import retrofit2.http.Query;
/**
* @author Komdosh
* @since 19.03.2017
*/
public interface DictionaryAPI {
@POST("lookup")
Call<DictionaryDto> translate(@Query(... |
// Sun Certified Java Programmer
// Chapter 7, P627_2
// Generics and Collections
public class CreatingGenericMethods {
public static void main(String[] args) {
//
}
}
|
package pl.finsys.propertyPlaceholder;
public class Robot {
private String hi;
private String bye;
public String getHi() {
return hi;
}
public void setHi(String hi) {
this.hi = hi;
}
public String getBye() {
return bye;
}
public void setBye(String bye) {
... |
package com.chuxin.family.utils;
import com.chuxin.family.app.CxApplication;
import android.content.Context;
public class ScreenUtil {
// dp转换成pix
public static int dip2px(Context context, float dipValue){
final float scale = CxApplication.getInstance().getResources().getDisplayMetrics().density;
... |
/*
* [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.example.day02.contract;
import com.example.day02.bean.BannerBean;
import com.example.day02.bean.ListBean;
import com.example.day02.bean.ProjectBean;
import com.example.day02.util.net.INteCallBack;
public class MainContract {
public interface MainView {
void getBanner(BannerBean bannerBean);
... |
/*
* 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 pe.edu.upeu.control;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java... |
package com.hk.movie;
/**
* @author huangkai
* @date 2018-6-3 17:39
*/
public @interface ExcludeFromComponentScan {
}
|
package uz.kassa.test.domain.entity;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.stereotype.Service;
import uz.kassa.test.domain.entity.base.BaseEntity;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;
... |
package net.plazmix.core.api.service.group;
import lombok.Getter;
import net.plazmix.core.api.Core;
@Getter
public enum Group {
PLAYER("&7", "", "&7Игрок", false),
METEOR("&e", "", "&e&lMeteor", false),
COMET("&d", "", "&d&lComet", false),
STAR("&6", "", "&6&lStar", false),
GALAXY("&5", "", "&5&... |
/*
* Copyright (c) 2011, 2020, Frank Jiang and/or its affiliates. All rights
* reserved. AbstractParameter.java is PROPRIETARY/CONFIDENTIAL built in 2013.
* Use is subject to license terms.
*/
package com.frank.svm.config;
import java.io.PrintStream;
import libsvm.svm_parameter;
import libsvm.svm_print_... |
/*
* Copyright 2014 the original author or authors.
*
* 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 applica... |
package io.zipcoder.pets;
/**
* Created by joseph on 2/2/16.
*/
public class App {
public static void main(String[] args) {
PetQuery pq = new PetQuery();
pq.showPets();
}
}
|
package com.example.user.myapplication.main.activity.fragment;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
impo... |
package com.tingke.admin.controller;
import com.tingke.admin.entity.AclEvent;
import com.tingke.admin.model.R;
import com.tingke.admin.service.AclEventService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.bean... |
/*
* #%L
* OpenEHR - Java Model Stack
* %%
* Copyright (C) 2016 - 2017 Cognitive Medical Systems, Inc (http://www.cognitivemedicine.com).
* %%
* 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 Lice... |
package polydungeons.item.charms;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.util.math.Vec3d;
import polydungeons.entity.PolyDungeonsEntities;
import polydungeons.entity.charms.AnchorEntity;
import polydungeons.entity.charms.SubstituteEntity;
public class SubstituteCharmItem extends CharmIt... |
package renderer;
import java.awt.Color;
import java.awt.Graphics;
import java.util.ArrayList;
import java.util.List;
import renderer.sub.TextElement;
public class TextRenderer implements Renderable{
private static List<TextElement> toRender = new ArrayList<>();
private Graphics g;
public void se... |
/**
* Javassonne
* http://code.google.com/p/javassonne/
*
* @author [Add Name Here]
* @date Feb 12, 2009
*
* Copyright 2009 Javassonne Team
* 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 th... |
package com.jenmaarai.sidekick.swing;
import java.util.ArrayList;
import java.util.List;
import javax.swing.Icon;
import javax.swing.JCheckBox;
/**
* A kind of check box that can work as part of a complex group of checkboxes.
* This component maintains a list of <tt>JCheckBox</tt>es refered to as
* <em>constrain... |
package com.espendwise.manta.service;
import com.espendwise.manta.model.data.BusEntityData;
import com.espendwise.manta.model.data.StoreMessageData;
import com.espendwise.manta.model.entity.StoreMessageEntity;
import com.espendwise.manta.model.entity.StoreMessageListEntity;
import com.espendwise.manta.model.view.Enti... |
public class Game{
public String namaHero;
public Game(String namaHero){
this.namaHero = namaHero;
}
public void showNamaHero(){
System.out.println(namaHero);
}
} |
package SvgPac;
import java.awt.Color;
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.Serializable;
public abstract class SvgShape extends SvgObject {
private static final long serialVersionUID = -6257433982022624430L;
pub... |
package com.bozhong.lhdataaccess.domain;
import java.util.Date;
/**
* User: 李志坚
* Date: 2018/11/5
* 医生处方的Model对象
*/
public class DoctorPrescriptionDO {
private Long id;
private String doctorPrescriptionNumber;
private String patientId;
private String organizStructureCode;
private String d... |
package kyle.game.besiege.party;
//package kyle.game.besiege.playerPartyPanel;
//
//import com.badlogic.gdx.utils.Array;
//import static kyle.game.besiege.playerPartyPanel.Weapon.*;
//
//public enum UnitType {
// BANDITS(new Weapon[]{MILITARY_FORK, HATCHET, CLUB, SPEAR, MACE, SHORTBOW, RECURVE, LONGBOW}),
// PE... |
package com.pingcap.tools.cdb.binlog.instance.core;
import com.pingcap.tools.cdb.binlog.common.CDBLifeCycle;
import com.pingcap.tools.cdb.binlog.listener.CDBEventListener;
/**
* Created by iamxy on 2017/2/16.
*/
public interface CDBInstance extends CDBLifeCycle {
String getDestination();
CDBEventListener ... |
package rt.intersectables;
import javax.vecmath.*;
import rt.BoundingBox;
import rt.HitRecord;
import rt.Intersectable;
import rt.Ray;
/**
* Defines a triangle by referring back to a {@link Mesh}
* and its vertex and index arrays.
*/
public class MeshTriangle implements Intersectable {
private Mesh mesh;
priv... |
package zm.gov.moh.core.repository.database.entity.domain;
import androidx.room.*;
import zm.gov.moh.core.repository.database.entity.SynchronizableEntity;
import com.squareup.moshi.Json;
import org.threeten.bp.LocalDateTime;
@Entity(tableName = "person_name")
public class PersonName extends SynchronizableEntity {
... |
package com.supconit.kqfx.web.fxzf.notify.services;
import hc.base.domains.Pageable;
import hc.orm.BasicOrmService;
import com.supconit.kqfx.web.fxzf.notify.entities.Notify;
public interface NotifyService extends BasicOrmService<Notify,String> {
/**
* 分页查询信息列表
* @param pager
* @param condition
* @return
... |
/*
* 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 Interfaces2;
/**
*
* @author Brayan Castellanos
*/
public class Operar implements Calcular {
@Override
... |
package ui;
import game.UIController;
import javax.swing.*;
class MainMenuView extends JComponent {
private final UIController game;
MainMenuView(UIController game) {
this.game = game;
// draw menu options here, hooking their events to
// method calls on `game`
}
}
|
package com.ece496;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.BottomNavigationView;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;
imp... |
package com.libedi.demo.util;
import java.util.Objects;
import java.util.function.Function;
/**
* FunctionWithException functional interface
*
* @author Sang-jun, Park
* @since 2019. 02. 13
*/
@FunctionalInterface
public interface FunctionWithException<T, R, E extends Exception> {
R apply(T t) throws E;
... |
package com.github.jerrysearch.tns.server.util;
import java.text.SimpleDateFormat;
public final class DateUtil {
public static final SimpleDateFormat dateFormat = new SimpleDateFormat(
"yyyy-MM-dd");
public static final SimpleDateFormat dateTimeFormat = new SimpleDateFormat(
"yyyy-MM-dd HH:mm:ss");
pub... |
/*
* [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.tencent.mm.plugin.subapp.ui.friend;
import android.content.Intent;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import com.tencent.mm.plugin.account.bind.ui.BindMContactIntroUI;
import com.tencent.mm.plugin.account.bind.ui.MobileFriendU... |
package select;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Properties;
public class Test {
public static void main(String[] args) {
}
public static Con... |
package ru.rchol.springgo.modelwork;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import ru.rchol.springgo.model.Visitors;
import java.util.List;
/**
* Created by User on 012 12.06.18.... |
package com.abc.labEx;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.EntityTransaction;
import javax.persistence.Persistence;
public class BookAuthor {
public static void main(String[] args) {
EntityManagerFactory factory = Persistence.cr... |
package com.eiv;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class JdbcTemplate {
private Connection conn;
public JdbcTemplate(Connection conn) {
this.setConnectio... |
package interfaz;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import java... |
package com.bytedance.sandboxapp.b.b;
import android.text.TextUtils;
import com.bytedance.sandboxapp.b.a.b.b;
import d.f.b.l;
import org.json.JSONException;
import org.json.JSONObject;
public final class a {
public JSONObject a;
private final String b;
public a() {
this.b = "SandboxJsonO... |
package org.nishkarma.petclinic.model;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.xml.bind.annotation.XmlElement;
import org.springframework.beans.support.MutableSortDefinition;
import org.springframework.be... |
package com.cyberdust.automation.utils;
import com.cyberdust.automation.application.Logging;
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.ios.IOSDriver;
import io.appium.java_client.service.local.AppiumDriverLocalService;
import io.appium.j... |
package com.sourceallies.filter;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertSame;
import static org.mockito.Mockito.mock;
import javax.servlet.http.HttpServletResponse;
import org.junit.Test;
public class ResponseLoggerFactoryTest {
@Test
public void testCreate(){
HttpSe... |
package com.bloomberg.server.arithmeticservice.businesslogic;
import com.bloomberg.server.arithmeticservice.businesslogic.exceptions.ExpressionBuildException;
import com.bloomberg.server.arithmeticservice.businesslogic.interfaces.IExpressionBuilder;
import com.bloomberg.server.arithmeticservice.models.Expression;
impo... |
package com.chuxin.family.widgets;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.util.Log;
import android.util.TypedValue;
import android.view.LayoutInflat... |
package org.sourceit.entities;
import org.sourceit.properties.Gender;
public class Person {
protected String name;
protected int age;
protected Gender gender;
protected final String properties = "Name,Age,Gender";
public Person() {
this.name = "Your name";
this.age = 25;
... |
package com.elvarg.world.entity.combat.magic;
import java.util.Arrays;
import java.util.Optional;
import com.elvarg.engine.task.impl.CombatPoisonEffect.PoisonType;
import com.elvarg.world.content.PrayerHandler;
import com.elvarg.world.entity.combat.CombatFactory;
import com.elvarg.world.entity.impl.Character;
import ... |
package com.todo.persistence.model;
import java.util.UUID;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import lombok.Data;
@Data
@Entity
public class Task {
@Id
@GeneratedValue
private UUID id;
private String description;
private Status... |
package com.example.meetgo;
/**
* Constant values reused in this sample.
*/
final class Constants {
static final int SUCCESS_RESULT = 0;
static final int FAILURE_RESULT = 1;
private static final String PACKAGE_NAME =
"com.example.mapwithmarker";
static final String RECEIVER = PACKAGE_NAME + ... |
package top.kylewang.bos;
import org.junit.Test;
/**
* @author Kyle.Wang
* 2018/1/16 0016 13:50
*/
public class TestDemo {
@Test
public void test() {
System.out.println(inverseString("abcde"));
}
public String inverseString(String source) {
StringBuilder stringBuilder = new String... |
package jdichiera.platformer;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.PointF;
import android.graphics.Rect;
import android.graphics.RectF;
import... |
/**
*
*/
package uk.gov.hmcts.befta.util;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
/**
* @author korneleehenry
*
*/
class MapVerificationResultTest {
/**
* Test method for {@link uk.gov.hmcts.befta.util.MapVerificationResult#minimalUnverifiedResult(java.lang.Stri... |
package interviewTasks_Saim;
public class RecursionString {
public static void main(String[] args) {
permutationString("ABC");
}
public static void permutationString(String word){
permutationString("",word);
}
private static void permutationString(String perm, String word){
... |
package com.example.l03.projektpaszport;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextVie... |
package com.team5.dl;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
public enum MockFile {
SAMPLE_RESPONSE(
MockFileLocation.JSON,
"sampleResponse.json"
),
;
private String fileLocation;
private String fileName;
private MockFile(Mock... |
package com.spbsu.benchmark.flink.index.ops;
import com.spbsu.benchmark.flink.index.Result;
import com.spbsu.flamestream.example.bl.index.model.WordIndexAdd;
import com.spbsu.flamestream.example.bl.index.utils.IndexItemInLong;
import com.spbsu.flamestream.runtime.utils.tracing.Tracing;
import org.apache.flink.configur... |
package kh.cocoa.service;
import kh.cocoa.dao.PositionDAO;
import kh.cocoa.dto.PositionDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class PositionService implements PositionDAO {
@Autowired
PositionDAO ... |
package naruter.com.outsourcing.dao.impl;
import java.util.List;
import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import lombok.extern.slf4j.Slf4j;
import naruter.com.outsourcing.dao.ClientAnFreeDAO;
import n... |
package ejercicios.nonacces.estaticos;
public class MainPersona {
public static void main(String[] args) {
// TODO Auto-generated method stub
Paciente paciente1 = new Paciente();
paciente1.setNombre("Juan");
paciente1.setEdad(25);
paciente1.registrar(paciente1.getNombre());
// utilizar variable estatica... |
package com.tencent.tencentmap.mapsdk.a;
import android.graphics.Bitmap;
import android.graphics.Bitmap.CompressFormat;
import android.graphics.Bitmap.Config;
import android.graphics.Canvas;
import com.tencent.map.lib.gl.model.GLIcon;
import java.io.ByteArrayOutputStream;
import java.io.Closeable;
import java.io.Outpu... |
package com.diozero.devices.sandpit.motor;
/*-
* #%L
* Organisation: diozero
* Project: diozero - Core
* Filename: SilentStepStick.java
*
* This file is part of the diozero project. More information about this project
* can be found at https://www.diozero.com/.
* %%
* Copyright (C) 2016 - 2023 diozer... |
package com.zitrojjdev.sampleapp1;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class WebViewActvity extends AppCompatActivity {
private static final St... |
package br.com.pcmaker.dao.impl;
import java.util.List;
import org.hibernate.Criteria;
import org.hibernate.criterion.DetachedCriteria;
import org.hibernate.criterion.MatchMode;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Repository... |
package engine.util.math;
public class Vector2 {
private double x;
private double y;
public Vector2() {
x = 0;
y = 0;
}
public Vector2(double x, double y) {
this.x = x;
this.y = y;
}
public Vector2(Vector2 ... |
package com.fanniemae.www.messaging.services;
import java.sql.SQLException;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.r... |
package cn.nam.ssm.seckill.web;
import cn.nam.ssm.seckill.dto.Exposer;
import cn.nam.ssm.seckill.dto.SeckillExecution;
import cn.nam.ssm.seckill.dto.SeckillResult;
import cn.nam.ssm.seckill.entiy.Seckill;
import cn.nam.ssm.seckill.enums.SeckillStateEnum;
import cn.nam.ssm.seckill.exception.RepeatKillException;
import ... |
package com.test.demo;
import java.util.List;
public interface IStudentService {
public void save(List<Student> students);
}
|
package org.alienideology.jcord.event.handler;
import org.alienideology.jcord.JCord;
import org.alienideology.jcord.event.guild.GuildCreateEvent;
import org.alienideology.jcord.internal.object.IdentityImpl;
import org.alienideology.jcord.internal.object.guild.Guild;
import org.alienideology.jcord.internal.object.user.... |
package com.locadoraveiculosweb.mappers;
import java.util.List;
import javax.enterprise.inject.Model;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import com.locadoraveiculosweb.modelo.Carro;
import com.locadoraveiculosweb.modelo.dtos.CarroDto;
@Model
@Mapper(componentModel = "cdi", uses... |
package com.x.service;
import java.util.Date;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.http.HttpServletRequest;
import org.apache.log4j.Logger;
import com.x.model.weixin.WeixinSearchParams;
import com.x.model.weixin.message.resp.TextMessa... |
package com.lfd.day0000_01_tools.utils;
import java.io.File;
import android.annotation.SuppressLint;
import android.content.Context;
import android.os.Build;
import android.os.Environment;
import android.os.StatFs;
import android.text.format.Formatter;
public class StorageUtils {
/**
*
* @param... |
/*
* Copyright 2019 GcsSloop
*
* 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 w... |
package cn.edu.hebtu.software.sharemate.Adapter;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.I... |
package com.example.ecommerce.Model;
public class Deliverers {
private String name, phone, password, sid, address,email,balance,totalearning,totaldelivery,currentpick;
public Deliverers() {
}
public Deliverers(String name, String phone, String password, String sid, String address, String email, Strin... |
import java.io.IOException;
import java.rmi.RemoteException;
import java.util.*;
public class SubjectManager implements ISubjectManager {
private List<Subject> subjectList;
private int listSize;
// Default Constructor
public SubjectManager() {
}
// Alternative constructor
public SubjectManager(List<Subject>... |
package com.tencent.tencentmap.mapsdk.a;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
public class sy {
private static sy b = null;
private SharedPreferences a;
private sy() {
}
public static sy a() {
if (b == ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License... |
package com.tencent.mm.plugin.fingerprint;
import com.tencent.mm.bt.h.d;
import com.tencent.mm.model.ar;
import com.tencent.mm.model.p;
import com.tencent.mm.plugin.fingerprint.b.b;
import com.tencent.mm.plugin.fingerprint.b.c;
import com.tencent.mm.plugin.fingerprint.b.f;
import com.tencent.mm.plugin.fingerprint.b.g;... |
package org.luna.board.mapper;
import org.luna.board.domain.BoardVO;
public interface BoardMapper {
//게시글 전체 조회
BoardVO selectAll(BoardVO board);
//bno로 게시글 하나 조회
BoardVO selectOne(Integer bno);
//게시글 등록
void register(BoardVO board);
//게시글 삭제
void remove(Integer bno);
//게시글 수정
void modify(BoardVO b... |
package com.eCommerce.eComApp.model;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.List;
@Document("categories")
public @Data class Categorie {
private String id;
private String name;
private List<Item> items;
private String description;
}
|
package game.app.dtos.response;
import java.util.Date;
import lombok.Data;
@Data
public class GameResponse {
private String title;
private String description;
private Date release;
private Double price;
public GameResponse() {
}
}
|
package com.dayuanit.shop.domain;
import java.util.Date;
public class OrderDetail {
private Integer id;
private Integer orderId;
private Integer goodsId;
private String price;
private Integer goodsAccount;
private String goodsTotalPrice;
private String goodsName;
private Date createTime;
pub... |
package acs.logic;
import java.util.List;
import acs.boundary.UserBoundary;
public interface ExtendedUserService extends UserService{
public List<UserBoundary> getAllUsers(String adminDomain, String adminEmail, int size, int page);
}
|
package com.website.tools.navigation;
import com.website.views.WebPages;
/**
* The session manager.</br>
*
* @author Jérémy Pansier
*/
public class SessionManager {
/** The user cookie name. */
private static final String USER_KEY = "user";
/**
* The private constructor to hide the implicit empty public on... |
package vista;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.