text stringlengths 10 2.72M |
|---|
package com.zihui.cwoa.system.service;
import com.zihui.cwoa.system.dao.sys_projectMapper;
import com.zihui.cwoa.system.pojo.sys_project;
import org.apache.ibatis.annotations.Param;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.CacheEvict;
import org.spring... |
package com.tencent.mm.plugin.aa.ui;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.vending.c.a;
import com.tencent.mm.vending.j.d;
import java.util.List;
class AAQueryListUI$6 implements a<Object, d<List, String, Boolean>> {
final /* synthetic */ AAQu... |
//Omar Mustafa Dalal 1180171
import java.io.File;
import java.util.ArrayList;
import javafx.application.Application;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.Alert.AlertType;
import javafx.scene.control.Button;
... |
package com.semantyca.nb.core.env;
import com.semantyca.nb.localization.constants.LanguageCode;
import java.util.Arrays;
public class EnvConst {
public static final String SERVER_VERSION = "4.0.0";
public static final String SERVER_NAME = "nb4";
public static final String FRAMEWORK_LOGO = "nextbase_logo... |
package com.infosys.bookingms.repository;
public interface BookingRepository {
}
|
package com.poly.duc.DucQuanLyQuanAO.controller;
import com.poly.duc.DucQuanLyQuanAO.model.Product;
import com.poly.duc.DucQuanLyQuanAO.sevice.ProductSevice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.... |
package com.kobotan.android.Vshkole.database;
import android.content.Context;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
import com.kobotan.android.Vshkole.entities.Content;
import com.kobotan.android.Vshkole.entities.Entity;
import com.kobotan.android... |
package com.tyss.cg.loanproject.services;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
import com.tyss.cg.loanproject.beans.AdminInfoBean;
import com.tyss.cg.loanproject.beans.CustomerInfoBean;
public class ServicesImpl implements ServicesDeclaration {
Scanner scanner = new Scanner(S... |
package com.tfjybj.integral.provider.controller;
import com.dmsdbj.itoo.sso.utils.UserUtil;
import com.tfjybj.integral.model.UserHomeModel;
import com.dmsdbj.cloud.tool.business.IntegralResult;
import com.tfjybj.integral.model.UserHomeModel;
import com.tfjybj.integral.provider.service.HomeLoadingService;
import io.swa... |
package com.clienteapp.demo.service;
import com.clienteapp.demo.entity.Cliente;
import java.util.List;
public interface IClienteService {
public List<Cliente> listarClientes();
public void guardarCliente(Cliente cliente);
public Cliente buscarPorId(Long id);
public void eliminarCliente(Long id);
}
|
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.Stroke;
import java.awt.BasicStroke;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionListener;
import java.util.Arr... |
package collections;
import java.util.Vector;
public class VectorExample {
public static void main(String[] args) {
// TODO Auto-generated method stub//is same as Array List.Vector methods are synchronized.Thread safety.
Vector <String> names = new Vector <String> ( );
names.add ("cherry");
names.add ("... |
import org.junit.Assert;
import org.junit.Test;
import java.io.*;
/**
* Created by Benedikt on 27.10.2016.
*/
public class ETest {
private static final InputStream sIn = System.in;
public static final PrintStream sOut = System.out;
static void inputOutput(String input, String output) {
try {
... |
package org.ah.minecraft.armour.mobs;
import java.util.ArrayList;
import java.util.List;
import org.ah.minecraft.armour.MoonPhases;
import org.ah.minecraft.armour.Plugin;
import org.bukkit.EntityEffect;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.entity.EntityType;
import org.bukkit.enti... |
package com.tencent.mm.d;
import com.tencent.mm.d.e.a;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.t.c;
class e$a$1 implements Runnable {
final /* synthetic */ a bCC;
e$a$1(a aVar) {
this.bCC = aVar;
}
public final void run() {
x.d("MicroMsg.EmojiAndTextArtist", ... |
package com.zs.service.impl;
import com.zs.dao.AreaDao;
import com.zs.entity.Area;
import com.zs.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* @Created by IDEA
* @author:LiuYiBo(小博)
* @Date:2018/7/24
... |
import java.awt.Color;
public class Tiger extends Critter
{
private Color color;
private boolean usedScissorsLast = false;
private int direction;
private int stepsToTake;
private int stepsTaken;
public Tiger(Color color)
{
this.color = color;
stepsTaken = 0;
stepsToTake = 5;
direction = SOUTH;
}
... |
package framework.commands;
import framework.dto.ReportDTO;
import framework.services.ReportService;
public class ReportCommand implements Command {
private ReportService service;
private ReportDTO dto;
private String reportResult;
public ReportCommand(ReportService service, ReportDTO dto){
this.service = se... |
package com.tencent.mm.plugin.wenote.model.nativenote.spans;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Paint.FontMetricsInt;
import android.graphics.Paint.Style;
import android.graphics.Path;
import android.graphics.Path.Direction;
import android.text.Layout;
import android... |
public class OverridingDeviceKeys extends BaseGameActivity {
// ====================================================
// CONSTANTS
// ====================================================
public static int WIDTH = 800;
public static int HEIGHT = 480;
// ====================================================... |
package com.example.kostas.myapplication;
import android.graphics.Bitmap;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.ImageView;
import android.widget.TextView;
import com.google.zxing.BarcodeFormat;
import com.... |
package br.com.recife.vacina.vacinarecife.mvp.vacinas;
import java.util.List;
import br.com.recife.vacina.vacinarecife.model.Record;
/**
* Created by morae on 06/01/2018.
*/
public interface IVacinasInteractor {
interface OnLoadVacinasFinish {
void onLoadVacinasSuccess(List<Record> records);
v... |
package com.aacademy.bike_station.repository;
import com.aacademy.bike_station.model.Type;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.Optional;
public interface TypeRepository extends JpaRepository<Type, Long> {
Optional<Type> findByType(String type);
}
|
package com.lingnet.vocs.dao.jcsj;
import java.util.HashMap;
import java.util.List;
import com.lingnet.common.dao.BaseDao;
import com.lingnet.qxgl.entity.QxLog;
import com.lingnet.util.Pager;
/**
*
* @ClassName: LogDao
* @Description: 日志管理dao
* @author 姜平豹
* @date 2014-3-26 上午10:07:02
*
*/... |
/*
Displays list of user's taken masechtos and allows user to choose one and open 'CompletedMasechta' activity
to then be able to change status to completed
*/
package com.example.mna.mishnapals;
import android.content.Context;
import android.content.Intent;
import android.content.res.ColorStateList;
import android.g... |
package com.tencent.mm.g.c;
import android.content.ContentValues;
import android.database.Cursor;
import com.tencent.mm.protocal.c.wl;
import com.tencent.mm.sdk.e.c;
import com.tencent.mm.sdk.platformtools.x;
import java.io.IOException;
public abstract class di extends c {
private static final int cKQ = "oriMsgId... |
package org.apache.commons.net.ftp.parser;
import java.text.ParseException;
import java.util.List;
import java.util.ListIterator;
import org.apache.commons.net.ftp.FTPClientConfig;
import org.apache.commons.net.ftp.FTPFile;
public class UnixFTPEntryParser extends ConfigurableFTPFileEntryParserImpl {
static final St... |
/**
* 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"); you... |
package ua.solomenko.inputoutput;
import java.io.*;
public class FileAnalyzer {
// Написать программу FileAnalyzer, которая в консоли принимает 2 параметра:
// 1) путь к файлу
// 2) слово
// Usage:
// java FileAnalyzer C:/test/story.txt duck
// Выводит:
// 1) Кол-во вхождений искомого сло... |
package tv;
/**
*
* @author Adriana
*/
public class Main1 {
public static void main(String[] args) {
Tv tv1 = new Tv();
Tv tv2 = new Tv();
tv1.encender();
tv1.subirVolumen();
tv1.subirVolumen();
tv1.subirVolumen();
tv1.subirVolumen();
tv2 = tv1;
tv1.subirVolumen... |
package com.mes.old.meta;
// Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final
import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;
/**
* JbpmIdUser generated by hbm2java
*/
public class JbpmIdUser implements java.io.Serializable {
private BigDecimal id;
private char class_;
pri... |
package com.zpjr.cunguan.presenter.impl.fragment;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
import com.zpjr.cunguan.R;
imp... |
package com.lito.fupin.meta.paper.entity;
import lombok.Data;
import java.util.Date;
@Data
public class Paper {
private Integer ids;
private String paperId;
private String title;
private String content;
private Date uploadTime;
private String uploadUserId;
private String status;
priva... |
package com.tencent.wecall.talkroom.model;
import com.tencent.wecall.talkroom.model.g.a;
class g$16 implements Runnable {
final /* synthetic */ g vyO;
g$16(g gVar) {
this.vyO = gVar;
}
public final void run() {
synchronized (this.vyO.cWy) {
for (a bgu : this.vyO.cWy) {
... |
package com.qf.Algorithm;
public class ListCode {
public static void main(String[] args) {
ListNode node = new ListNode(1);
node.next = new ListNode(2);
node.next.next = new ListNode(3);
node.next.next.next = new ListNode(4);
node.next.next.next.next = new ListNode(5);
... |
package datastructures.interfaces;
import misc.exceptions.NoSuchKeyException;
/**
* Represents a data structure that contains a bunch of key-value mappings. Each key must be unique.
*/
public interface IDictionary<K, V> {
/**
* Returns the value corresponding to the given key.
*
* @thr... |
package kodlamaio.hrms.dataAccess.abstacts;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import kodlamaio.hrms.entities.concretes.ConfirmationCode;
public interface ConfirmationDao extends JpaRepository<ConfirmationCode, Integer> {
ConfirmationCode getByConfirmationCode(St... |
package pl.finsys.beanscopes.services;
/**
* @author jarek@finsys.pl
*/
public class ServiceTwoImpl implements ServiceTwo {
private String message;
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
}
|
package android.support.v7.widget;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.RectF;
class p implements q {
final RectF Nx = new RectF();
p() {
}
public void eN() {
af.Ts = new af$a() {
... |
package com.crivano.swaggerservlet;
public interface IHTTP {
<T extends ISwaggerResponse> T fetch(String authorization, String url,
String method, ISwaggerRequest req, Class<T> clazzResp)
throws Exception;
}
|
package com.example.android.navigation_test;
import android.support.v4.app.Fragment;
import android.view.View;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.ViewGroup;
/**
* Created by Krishnendu Mukherjee on 12/12/16.
*The main purpose... |
package com.travel.models;
import javax.persistence.*;
import java.util.Set;
@Entity
@Table(name="amenities")
public class Amenity {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long id;
private String name;
private String description;
@OneToMany(mappedBy = "amenity")
pri... |
package com.umasuo.authentication;
import org.springframework.util.Assert;
/**
* This provider provide an tool to check the authentication of the token.
* default policy provider.
*/
public interface AuthPolicyProvider {
/**
* check the authentication of the token
*
* @param token token input.
*/
... |
package pl.mgd.util;
import java.sql.Connection;
import java.sql.SQLException;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.sql.DataSource;
/*Java Singleton Singleton pattern restricts the instantiation of a class and ensures
* that only on... |
package problem13;
/**
* @author Jackid
* JDK-version:1.8
* Problem:牛客网-剑指offer《机器人的运动范围》
* Result:已通过了所有的测试用例
*/
/*题目描述:
地上有一个m行和n列的方格。一个机器人从坐标0,0的格子开始移动,
每一次只能向左,右,上,下四个方向移动一格,
但是不能进入行坐标和列坐标的数位之和大于k的格子。
例如,当k为18时,机器人能够进入方格(35,37),因为3+5+3+7 = 18。但是,它不能进入方格(35,38),因为3+5+3+8 = 19。
请问该机器人能够达到多少个格子?
*/
public clas... |
package com.tencent.mm.plugin.appbrand.f;
import com.tencent.mm.plugin.appbrand.appusage.k;
import com.tencent.mm.plugin.fts.a.a.a;
import com.tencent.mm.plugin.fts.a.c;
import com.tencent.mm.plugin.fts.a.d;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
class b$b extends a {
... |
package com.huangyifei.android.androidexample.savestate;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import com.huangyifei.android.androidexample.BaseActivity;
import com.huangyifei.android.androidexample.R;
/**
* Created by huangyife... |
package server.rest.controllers;
import static org.junit.jupiter.api.Assertions.*;
class SkillsControllerTest {
} |
package com.tencent.mm.plugin.welab.d;
import android.text.TextUtils;
import com.tencent.mm.kernel.g;
import com.tencent.mm.s.c;
import com.tencent.mm.sdk.platformtools.ad;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.storage.aa.a;
import java.util.HashMa... |
/*]
*/
package com.cleverfishsoftware.loadgenerator.payload.air;
import static com.cleverfishsoftware.loadgenerator.payload.air.AirlineDataPayloadGenerator.removeBadChars;
import java.util.UUID;
/**
*
* @author peter
*/
public class AirlineDataFormatterCSV implements AirlineDataFormatter {
private static fin... |
package com.mo.serilanumber;
import com.mo.serialnumber.Application;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppCon... |
package com.anibal.educational.rest_service.comps.service.mail;
public interface MailService {
public void sendMail(MailContent content, MailConfigurator configurator) throws MailServiceException;
}
|
package com.kh.efp.band.model.service;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpSession;
import org.springframework.social.google.api.plus.Activity.Article;
import com.kh.efp.band.model.vo.Board;
import com.kh.efp.band.model.vo.Member_Band;
public interface Board... |
package com.amit.indiehooddemo;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.view.View;
import android.widget.ListView;
import android.widget.ProgressBar;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
import com.amit.indiehooddemo.adapter.ListAdapte... |
package com.khachik.explore.Activities;
import android.Manifest;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Environment;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentTransaction;
import android.suppo... |
package old;
import org.junit.Assert;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
public class TestCSS {
@Test
public void main() throws InterruptedException {
String baseUrl = "https://www.facebook.com/login/identify?ctx=recover";
WebDriver driver = DriverUtils.... |
package com.jessematty.myapplication;
import android.app.Activity;
import android.graphics.Color;
import android.graphics.Typeface;
import android.os.Bundle;
import android.text.InputType;
import android.text.Layout;
import android.view.Gravity;
import android.view.View;
import android.view.View.OnClickListener;
impor... |
package com.service.employee.dao;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import com.service.employee.domain.EmployeeExperienceDetails;
public interface IEmployeeExperienceDao extends JpaRepository<EmployeeExperienceD... |
/*
* 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.github.somi92.seecsk.model.tables.trening;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;... |
import jdk.javadoc.internal.tool.resources.javadoc;
/*
* @lc app=leetcode id=70 lang=java
*
* [70] Climbing Stairs
*/
// @lc code=start
class Solution {
public int climbStairs(int n) {
// int[] memo = new int[n];
// return countStepsMemo(0, n, memo);
return countSteps(n);
}
pub... |
package com.tuanhk.splashscreen;
import android.support.annotation.Nullable;
import com.tuanhk.ui.activity.BaseActivity;
import com.tuanhk.ui.fragment.BaseFragment;
public class SplashScreenActivity extends BaseActivity {
@Nullable
@Override
protected BaseFragment getFragmentToHost() {
return Sp... |
package vn.m2m.common.models.forms;
public class SearchConditionForm { //ho tro view
private String fieldName;
private String fieldType; // Date, Int, String
private String fieldValue;
private String compQueryOp; // eq, ne, gt, lt, gte , lte, like, nlike
public SearchConditionForm() {
... |
package com.jvmless.threecardgame.domain.shuffle;
import com.jvmless.threecardgame.domain.game.GameId;
public interface GameMovesRepository {
GameMoves findByGameId(GameId gameId);
void save(GameMoves gameMoves);
}
|
/*
* Copyright 2021 The Android Open Source Project
*
* 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 com.pybeta.daymatter.tool;
import android.graphics.Bitmap;
import android.graphics.Matrix;
public class ImageTool {
/**
* 修改Bitmap为制定宽高的Bitmap
* @param bitmap
* @param newWidth
* @param newHeight
* @return
*/
public static Bitmap getScaleImg(Bitmap bitmap, int newWidth, int newHeigh... |
package net.helpscout.sample.beacon;
import android.annotation.SuppressLint;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import com.helpscout.beacon.Beacon;
import com.helpscout.beacon.internal.core.model... |
package myproject1;
public class HelloWorld {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("Hello world 123");
System.out.println("Hello user");
}
}
|
package by.dt.web.controller;
import by.dt.entity.Category;
import io.swagger.annotations.ApiOperation;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.... |
package com.avogine.junkyard.util;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.ByteBuffer;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.atomic.AtomicInteger;
import org.lwjgl.BufferUtils;
import org.lwjgl.assimp.AIFile;
import org.lwjgl.assimp.AIF... |
package com.mrice.txl.appthree.adapter;
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 android.widget.TextView;
import com.mrice.txl.appthree.R;
import com.mrice.txl... |
package com.demo.withdrawal.util;
import java.util.LinkedHashMap;
import java.util.Map;
public class LruCache<K,V> extends LinkedHashMap<K,V>{
public static final int CACHE_SIZE = 300;
public LruCache(int initialCapacity, float loadFactor, boolean accessOrder) {
super(initialCapacity, loadFactor, accessOrder);
... |
package net.thumbtack.asurovenko.trainee;
import net.thumbtack.asurovenko.trainee.exceptions.TraineeException;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class TraineeTest {
@Test
public void testTraineeEmpty() throws TraineeException {
Trainee trainee = new Trainee();... |
package com.ng.ngcommon.ui.activity;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.util.DisplayMetrics;
import android.view.View;
import android.view.ViewGroup;
import android.view.WindowManager;
import android.view.inp... |
package com.jk.jkproject.ui.adapter;
import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.facebook.drawee... |
package ba.bitcamp.LabS02D03;
public class SlobodanPadSOdredjeneVisine {
public static void main(String[] args) {
/*Korisnik unosi vrijeme pada u sekundama i distancu u metrima
* code ispisuje
*/
System.out.print("Unesite vrijeme pada u sekundama: ");
double vrijeme = TextIO.getlnDouble();
System.ou... |
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
public class AddMusicUI {
public JFrame frame;
private LoginControl control;
private AddMusicControl aControl;
private JTextFiel... |
package com.javarush.task.pro.task13.task1313;
public class StringsLinkedList {
private Node first = new Node();
private Node last = new Node();
private Node newNode;
public void printAll() {
Node currentElement = first.next;
while ((currentElement) != null) {
System.out.pr... |
package com.sosagabriel.net.service;
import java.io.IOException;
import us.monoid.web.Resty;
public class Updater {
private String latestIp = null;
private String updateUrl = null;
public static String CHECK_IP_ENDPOINT = "https://indiana.nodolujan.com.ar/ip.php";
public Updater(String updateUrl) {
this.up... |
package sforum.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import sforum.model.Role;
@Repository
public interface RoleRepository extends JpaRepository<Role, Long> {
Role findOneByCode(String code);
}
|
package entities;
import creatures.BasicEnemy;
import creatures.Enemy;
import creatures.Player;
import game.Handler;
import statics.Boost;
import statics.Spawner;
import java.awt.*;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Iterator;
public class EntityManager {
private Handler h... |
package com.rgsj3.sebbs.repository;
import com.rgsj3.sebbs.domain.File;
import org.springframework.data.jpa.repository.JpaRepository;
public interface FileRepository extends JpaRepository<File, Integer> {
}
|
package com.smxknife.java.ex32;
/**
* @author smxknife
* 2021/1/14
*/
public class ExcepTest {
public static void main(String[] args) {
int i = 0;
try {
System.out.println();
} catch (Exception e) {
throw e;
}
}
}
|
package Erbauer;
// Reifenbreite, Reifengröße, Gewicht des Rahmens, Farbe des Rahmens, Anzahl der Gänge
public abstract class AbstractBike{
protected String name;
protected ITire tires;
protected IFrame frame;
protected IGearShift gearShift;
public void setTires(ITire tires) {
this.tires = tires;
}
... |
package Liftoff.launchcode.onlinebookstore.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class BookController {
@GetMapping("book")
public String displaybooks(Model model){
... |
/*
* 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 ProductPack;
import Entities.Contractor;
import Entities.Product;
import computersales.ConnectionClass;
import java.util.Array... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.LinkedList;
import java.util.Queue;
import java.util.StringTokenizer;
public class Main {
static int [] SIZE = new int[367];
public static void main(String[] args) throws IOException {
BufferedReader b... |
package com.revature.models;
public class Phone {
private int id;
private String modelName;
private String brand;
private String serviceProvider;
private OS nokiaOS;
private String phoneNumber;
public int getId() {
return id;
}
public void setId(int id) {
System.out.println("set id");
this.id = id;
}... |
package day5;
class Car {
private int yearOfManufacture;
private String color;
private String model;
public void setYearOfManufacture(int yearOfManufacture) {
this.yearOfManufacture = yearOfManufacture;
}
public int getYearOfManufacture() {
return yearOfManufacture;
}
... |
package View.GUIMain;
import Model.SistemaDeUsuario.Usuarios;
import View.GUISistemaDeAutenticacion.GUISistemaDeAutenticacion;
import View.GUISistemaDeCarrito.GUISistemaDeCarrito;
import View.GUISistemaDeInventario.GUISistemaDeInventario;
import View.GUISistemaDeMenu.GUISistemaDeMenu;
import View.GUISistemaDeOrdenes.G... |
/*
* 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"); you ma... |
package com.salmito.engine.main;
import android.app.Activity;
import android.app.ActivityManager;
import android.content.Context;
import android.content.pm.ConfigurationInfo;
import android.os.Bundle;
import android.view.Window;
public class MainScreen extends Activity {
private MainView mainView;
private Re... |
/*
* Copyright (C), 2013-2014, 上海汽车集团股份有限公司
* FileName: AnnotationVo.java
* Author: baowenzhou
* Date: 2016年3月16日 下午14:44:03
* Description: //模块目的、功能描述
* History: //修改记录
* <author> <time> <version> <desc>
* 修改人姓名 修改时间 版本号 描述
*/
package com.xjf.we... |
package com.example.hp.above;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.TextView;
import org.w3c.dom.Text;
public class BinarySearchTreeActivity extends AppCompatActivity {
@O... |
package fi.jjc.graphics.rendering.util;
import java.awt.geom.Rectangle2D;
import org.lwjgl.opengl.GL11;
import fi.jjc.graphics.image.Image2DData;
import fi.jjc.graphics.image.Texture2D;
import fi.jjc.graphics.image.TextureFilter;
import fi.jjc.graphics.image.TextureParameters;
import fi.jjc.graphics.image.TextureWra... |
package com.tencent.mm.g.a;
import com.tencent.mm.sdk.b.b;
public final class sm extends b {
public a cdp;
public sm() {
this((byte) 0);
}
private sm(byte b) {
this.cdp = new a();
this.sFm = false;
this.bJX = null;
}
}
|
package cdn.shared.message;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
import cdn.shared.GlobalLogger;
import cdn.shared.message.IMessage.MessageType;
public class MessageReader {
privat... |
package model;
import java.lang.reflect.Type;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
public class ReceiverLookupDocument implements StatusMessageObject
{
private final static Type typeOfMap = ne... |
package Tugas;
public class Dosen extends Manusia{
@Override
public void makan(){
super.makan();
System.out.println("Porsi Dosen");
}
public void lembur(){
System.out.println("Dosen lembur");
}
public void infoDosen(){
System.out.println("Dosen");
... |
package me.the_red_freak.bptf.commands;
import org.bukkit.boss.BarColor;
import org.bukkit.boss.BarFlag;
import org.bukkit.boss.BarStyle;
import org.bukkit.boss.BossBar;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Playe... |
package ncs.r4a118.rest;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Entity
@Table(name="users")
@Data
@NoArgsConstr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.