text stringlengths 10 2.72M |
|---|
package models;
import java.sql.Timestamp;
import java.util.Date;
import javax.annotation.Nullable;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.validation.constraints.NotNull;
import org.hibernate.validator... |
package com.tencent.mm.plugin.fts.ui;
public interface d$a {
void K(int i, boolean z);
}
|
package com.tencent.mm.plugin.ipcall.a.e;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.sdk.platformtools.bi;
public final class g extends a {
private long krK;
public long krL;
public long krZ = 0;
public String ksa = "";
public String ksb = "";
public long ksc = 0;
... |
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
public class ClassNotesTwo {
public static void main(String[] args) throws Exception {
//final int NUM_FLOWERS = 75;
String pathname = "C://Users/benja/Desktop/test.csv";
File file = new File(pathname);
FileReader fr = new File... |
package poo.u02;
public class Discografica {
private DiscoMusical[] discografia;
private String nombre;
private int anioCreacion;
private int cont;
public Discografica(int tam, String nombre) {
discografia = new DiscoMusical[tam];
this.nombre = nombre;
cont = 0;
}
public boolean agregarD... |
package test;
public class Test {
public static void main(String[] args){//主函数测试用
int n=3;
float[][] a= {{1,2,3},{4,5,6},{7,8,9}};
float[][] b= {{1,2,3},{1,2,3},{1,2,3}};
float c[][] = pro(a,b,n);
for (int i=0 ; i<n ; i++){
for (int j=0 ; j<n ; j++){
System.out.print(c[i][j]+" ");
... |
package pl.wojtech.weather.service;
import pl.wojtech.weather.model.ForecastDataType;
import pl.wojtech.weather.model.WeatherForecastData;
import pl.wojtech.weather.model.WeatherForecastDataSeries;
import pl.wojtech.weather.model.json.WeatherForecastJSON;
import java.util.List;
/**
* Created by Wojtech on 2018-03-0... |
package ch.ubx.startlist.server;
import java.util.Calendar;
import java.util.List;
import ch.ubx.startlist.shared.SentFlightEntry;
import com.googlecode.objectify.ObjectifyService;
import com.googlecode.objectify.Query;
import com.googlecode.objectify.util.DAOBase;
public class SentFlightEntryDAOobjectify extends D... |
/*
* Copyright (C) 2021-2023 Hedera Hashgraph, LLC
*
* 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 applicab... |
package com.neop.helloopengles.Graphics;
import android.content.Context;
import android.opengl.GLES30;
import com.neop.helloopengles.Utils.ShaderHelper;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
public class Triangle {
private static final int BYTES_LEN_FLOAT = 4;
... |
package com.organization.curso.recursos;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframew... |
package model;
import java.util.Date;
import java.util.Map;
public class ResignationNotice {
private String EmpNo;
private String IDNo;
private String EmpStatus;
private String Remarks;
private String EmpName;
private String EmpStatusDesc;
private Date dEffDate;
private String ReplacedBy;
pu... |
package org.cap.testmgt.service;
import java.math.BigInteger;
import org.cap.testmgt.entities.Question;
public interface IQuestionService {
Question addQuestions(Question question);
Question updateQuestions(BigInteger questionId, Question question);
Question deleteQuestions(BigInteger questionId);
Question fi... |
package com.tencent.mm.plugin.walletlock;
public final class a$i {
public static final int appbrandcomm_sqlite_lint_whitelist = 2131099655;
public static final int enmicromsg_sqlite_lint_whitelist = 2131099688;
public static final int snsmicromsg_sqlite_lint_whitelist = 2131099747;
public static final ... |
package com.qswy.app.adapter;
import android.content.Context;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.StringRequest;
import com.google.gson.reflect.TypeToken;... |
package com.tencent.mm.plugin.a;
public final class g {
public long eyZ;
public int eza;
public int id;
public int size;
public long start;
public final String toString() {
return " id: " + this.id + " start: " + this.start + " size: " + this.size + " sampleTime: " + this.eyZ + " sampl... |
package cn.fuego.led.ui.profile;
import java.util.ArrayList;
import java.util.List;
import org.codehaus.jackson.type.TypeReference;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.cont... |
package com.example.castro.logbuttonclick;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(... |
public class TestJava {
public static void main(String[]args){
System.out.println("a");
}
public String str = "string";
}
|
package com.tt.miniapp.view.webcore.scroller;
import android.content.Context;
import android.graphics.Rect;
import android.view.View;
import com.tt.miniapphost.AppBrandLogger;
public class VivoConcaveWebViewScroller extends WebViewScroller {
public VivoConcaveWebViewScroller(Context paramContext) {
sup... |
/**
*
*/
package com.trs.om.rbac.impl;
import java.util.*;
import org.apache.log4j.Logger;
import org.springframework.transaction.annotation.Transactional;
import com.trs.om.rbac.AuthorizationException;
import com.trs.om.rbac.IPrivilegeManager;
import com.trs.om.bean.Privilege;
import com.trs.om.rbac.dao.Authoriza... |
package views;
import java.awt.Color;
import java.awt.GridLayout;
import java.awt.event.ActionListener;
import java.util.Observable;
import java.util.Observer;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
public class Alans... |
/*
* [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 it.usi;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.ConnectException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
impo... |
package eu.rethink.globalregistry.tests;
import static org.junit.Assert.*;
import org.junit.Test;
import eu.rethink.globalregistry.util.XSDDateTime;
public class XSDDateTimeTest
{
//valid
public String validXSD1 = "2017-02-07T12:13:14+02:00";
public String validXSD2 = "2017-02-07T12:13:14Z";
//invalid
public... |
package com.tencent.mm.plugin.sns.ui;
class au$a {
public int oaA = -1;
public int oaB = -1;
public boolean oaC = false;
public int oaD = -1;
int oaE = 0;
public String oaF = "";
public String oaG = "";
public String oaH = "";
public int oaI = -1;
int oaJ = 0;
public boolean... |
package com.blog.blog.controllers;
import com.blog.blog.models.Ad;
import com.blog.blog.models.User;
import com.blog.blog.services.AdsService;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.spring... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.sudrf.parsing.strategies;
import java.util.Map;
import org.jsoup.nodes.Document;
import org.sudrf.dao.Attributes;
import o... |
package io.beaniejoy.bootapiserver;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class BootApiServerApplicationTests {
@Test
void contextLoads() {
}
}
|
package ProgramacionModular;
import java.io.IOException;
import java.util.Scanner;
public class calculadoraModular
//No me sale bien porque se hace con un boolean para salir
{
static Scanner ent=new Scanner(System.in);
public static void main(String[] args) throws IOException
{
System.out.println("Como mola Sa... |
package com.example.dou.mysale;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button... |
package spring4.iocdemo;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration//声明这是一个配置类
@ComponentScan("spring4")//自动扫描包下@Service,@Component,@Repository,@Controller,并注册为bean
public class Config {
}
|
package no.nav.vedtak.felles.prosesstask;
import java.util.Properties;
import javax.naming.NamingException;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.EntityTransaction;
import javax.persistence.Persistence;
import javax.sql.DataSource;
import org.... |
/**
* Copyright 2013-present febit.org (support@febit.org)
*
* 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 a... |
package com.ibm.jikesbt;
/*
* Licensed Material - Property of IBM
* (C) Copyright IBM Corp. 1998, 2003
* All rights reserved
*/
/**
Represents the relation between a class and a JVM "new" instruction that
creates it suhc as ldc, ldc_w, new, anewarray and multianewarray.
For a creation site the r... |
package zm.gov.moh.common.submodule.dashboard.client.adapter;
import android.content.Context;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentPagerAdapter;
import zm.gov.moh.common.submodule.dashboard.client.view.ClientDashboardCareServicesFrag... |
package com.example.parrotland94.testtaskdemo.storage.utils;
/**
* Created by parrotland94 on 6/21/2016.
*/
public class Helper {
public static Integer tryParse(String text) {
try {
return Integer.parseInt(text);
} catch (NumberFormatException e) {
return 0;
}
... |
package automation.amazon.tasks;
import net.serenitybdd.screenplay.Actor;
import net.serenitybdd.screenplay.Performable;
import net.serenitybdd.screenplay.Task;
import net.serenitybdd.screenplay.actions.Enter;
import net.serenitybdd.screenplay.targets.Target;
import net.thucydides.core.annotations.Step;
import static... |
package com.dw.Left;
import java.io.IOException;
import java.util.HashSet;
import java.util.Set;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.m... |
package nl.vdijkit.aas.aggregate;
import io.quarkus.test.junit.QuarkusMock;
import io.quarkus.test.junit.QuarkusTest;
import io.smallrye.mutiny.Uni;
import io.vertx.core.json.JsonObject;
import org.hamcrest.CustomMatcher;
import org.hamcrest.Matchers;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.ap... |
package de.rwth.i9.palm.persistence;
import java.util.List;
import de.rwth.i9.palm.model.Country;
import de.rwth.i9.palm.model.Location;
public interface LocationDAO extends GenericDAO<Location>, InstantiableDAO
{
public List<Location> getByCountry( String countryName );
public Location getByCountryAndCity( Count... |
package com.noteshare.course.article.services.impl;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.noteshare.course.article.dao.ArticleMapper;
import com.noteshare.course.article.model.Article;
import com.noteshare.course.arti... |
package com.example.spring04.modelVO;
public class PagingMaker {
private int totalListCount;
private int startPage;
private int endPage;
private boolean prev;
private boolean next;
private int displayPageNum = 10;
}
|
package com.xiaodao.core.enums;
/**
* 数据源
*
* @author ruoyi
*/
public enum DataSourceType {
/**
* 主库
*/
MASTER,
/**
* 从库
*/
SLAVE,
/**
* 共享库
*/
SHARE
}
|
package net.tyas.laundry.ui.map;
import net.tyas.laundry.ui.base.MvpPresenter;
public interface MapsMvpPresenter<V extends MapsView> extends MvpPresenter<V> {
}
|
package com.psybrainy.eshop.persistence.entity;
import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.List;
@Entity
@Table(name = "purchase")
public class PurchaseEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "puchase_id")
private Integer purch... |
package com.spbsu.flamestream.example.bl.index.ops;
import com.expleague.commons.text.lexical.StemsTokenizer;
import com.expleague.commons.text.lexical.Tokenizer;
import com.expleague.commons.text.stem.Stemmer;
import com.spbsu.flamestream.core.graph.SerializableFunction;
import com.spbsu.flamestream.example.bl.index.... |
/* ========================================================================
* Copyright 2014 EscherFinal
*
* Licensed under the MIT, The MIT License (MIT)
* Copyright (c) 2014 EscherFinal
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation file... |
/*
*
* Venkata Harish K Kajur
* Professor Wang
* CS 634-852
* April 5, 2014
*
*/
import java.util.*;
import java.io.*;
/*
*
* Node class
* Creates a Node with x, y and z values
* Creates a Node with x and y if only two parameters
* Sets a index for each node to keep track of them
*
*/
class Node{
pub... |
package Ventanas;
import java.awt.Color;
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.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.Sw... |
package com.facebook.react.devsupport;
import android.app.Activity;
import android.app.ActivityManager;
import android.app.AlertDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.Intent... |
package src.facility_maintenance;
public interface Request {
public String getMaintRequest();
public void setMaintRequest(String maintRequest);
} |
package cn.wycclub.interceptor;
import com.alibaba.fastjson.JSONObject;
import org.apache.log4j.Logger;
import org.springframework.web.method.HandlerMethod;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequ... |
import java.rmi.UnexpectedException;
import java.util.LinkedList;
import java.util.concurrent.Callable;
import java.util.function.Consumer;
import java.util.function.Function;
/**
* Created by benjaminclarke on 03/04/2017.
*/
public class Snake {
private Coordinates head;
private LinkedList<Coordinates> tra... |
package design.mode.delegate.dto;
public class Worker {
public void work(){
System.out.println("擅长做");
}
}
|
package edu.bupt.cbh.test.controller;
import edu.bupt.cbh.common.Constants;
import edu.bupt.cbh.test.entity.Test;
import edu.bupt.cbh.test.entity.TestResult;
import edu.bupt.cbh.test.service.TestService;
import edu.bupt.cbh.test.vo.CreateTestVO;
import edu.bupt.cbh.testing.entity.Testing;
import edu.bupt.cbh.testing.s... |
package com.example.landmark;
// How to use =============================================================
// landmark_info london = new landmark_info().get("london eye");
// String test = london.name;
// Toast.makeText(getApplicationContext(),
// test, Toast.LENGTH_LONG).show();
// ... |
import java.util.ArrayList;
public class RecursionMazePath {
public static void main(String[] args) {
System.out.println(getMaze(0, 0, 2, 2));
}
public static ArrayList<String> getMaze(int cr, int cc, int er, int ec) {
if (cr == er && cc == ec) {
ArrayList<String> base = new ArrayList<>();
... |
package com.mohammad.cryptography.AES;
import java.io.File;
import java.io.FileWriter;
import java.util.List;
import com.mohammad.cryptography.GF_Calculator;
public class AES_CORE {
private String _128bitKey;
private List<String[][]> AllRoundKeys;
private KeyGenerator KG ;
public Tools tool;
public static... |
package concurrent_test;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.FutureTask;
import java.util.concurrent.TimeUnit;
/**
* Description:
*
* @author Baltan
* @date 2018/6/18 16:19
*/
public class CallableTest implements Callable<Double> {
... |
package com.choa.freeboard;
import java.util.List;
import java.util.Map;
import com.choa.util.PageVo;
public interface FreeboardDAO{
// 게시물 작성
public void freWrite(FreeboardDTO dto);
// 게시물 삭제
public void freDelete(int no);
// 게시물 보기
public FreeboardDTO freView(int no);
/... |
package com.tencent.mm.ai;
import android.database.Cursor;
import android.util.Pair;
import com.tencent.mm.a.f;
import com.tencent.mm.ab.v;
import com.tencent.mm.model.am.b;
import com.tencent.mm.model.am.b.a;
import com.tencent.mm.model.au;
import com.tencent.mm.model.q;
import com.tencent.mm.model.s;
import com.tenc... |
package com.hb.rssai.view.iView;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
/**
* Created by Administrator on 2017/9/22.
*/
public interface ISearchSubscribeView {
RecyclerView getSubscribeRecyclerView();
LinearLayoutManager getSubscribeManager()... |
package com.framework.bean;
import java.util.List;
public class FormProduceInfo {
private Integer formId;
private String className;
private String packageName;
private List<String> codeFileType;
private String javaFilePath;
private String mapperXmlFilePath;
private String jsFilePath;
private String jspFilePat... |
package com.example.pratyush.servicetest;
import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
public class MyService extends Service {
private IBinder mBinder = new MyBinder();
@Override
public IBinder onBind(Intent intent) {
return mBi... |
package mod.coda.ambients.common.event;
import com.google.common.base.Predicate;
import net.minecraft.entity.Entity;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraft.entity.ai.EntityAIBase;
import net.minecraft.entity.passive.EntityTameable;
import net.minecraft.entity.ai.EntityAI... |
package collage;
import java.awt.image.BufferedImage;
import java.io.BufferedWriter;
import java.io.IOException;
import java.net.*;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import javax.sound.sampled.LineUnavailableException;
import com.xuggle.xuggler.IAudioSamples;
im... |
package com.sneaker.mall.api.util;
import com.google.common.base.Strings;
import com.sneaker.mall.api.exception.ParameterException;
import com.sneaker.mall.api.model.ResponseMessage;
import javax.servlet.http.HttpServletRequest;
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor... |
package com.e6soft.form.controllers;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttrib... |
package ch.springcloud.lite.core.connector;
import java.net.URI;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ScheduledThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.A... |
package com.packers.movers.service.resource;
import com.jayway.restassured.http.ContentType;
import com.packers.movers.test.SystemTest;
import org.testng.annotations.Test;
import java.net.HttpURLConnection;
import static com.jayway.restassured.RestAssured.given;
import static org.testng.Assert.*;
public class Order... |
package napps.com.nearbycoffee.Model;
/**
* Created by "nithesh" on 7/15/2017.
*/
public final class Photo {
private String photo_reference;
private String html_attribution;
private String height;
private String width;
public String getPhoto_reference ()
{
return photo_reference;... |
package com.witt.io;
import java.io.*;
public class TestFile_ReaderWriter {
public static void main(String[] args) {
File file = new File("./chapter-10/file/aa.txt");
File file1 = new File("./chapter-10/file/bb.txt");
funFileReaderWriter(file, file1);
}
public static void funF... |
package view;
import graphana.MainControl;
import graphana.UserInterface;
import graphana.graphs.GraphLibrary;
import graphana.graphs.GraphListener;
import view.argumentcomponents.ArgumentComponentManager;
import view.fileset.GraphFilesFrame;
import view.fileset.GraphFilesTable;
import visualizations.stdlayou... |
package com.zdzimi.blog.dao;
import com.zdzimi.blog.model.Photo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface PhotoRepository extends JpaRepository <Photo, Long> {
}
|
package com.smartwerkz.bytecode.vm.methods;
import com.smartwerkz.bytecode.primitives.JavaInteger;
import com.smartwerkz.bytecode.primitives.JavaLong;
import com.smartwerkz.bytecode.primitives.JavaObjectReference;
import com.smartwerkz.bytecode.vm.Frame;
import com.smartwerkz.bytecode.vm.OperandStack;
import com.smart... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.insat.gl5.crm_pfa.web.controller.product;
import com.insat.gl5.crm_pfa.model.Product;
import com.insat.gl5.crm_pfa.service.ProductService;
import com.insat.gl5.crm_pfa.web.controller.ConversationController;
... |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double a = sc.nextDouble();
double b = sc.nextDouble();
double c = sc.nextDouble();
resolveQuadraticEquation(a, b, c);
}
private static void resolveQ... |
package com.facebook.react.devsupport;
import android.os.Build;
class WindowOverlayCompat {
static final int TYPE_SYSTEM_ALERT;
static final int TYPE_SYSTEM_OVERLAY;
static {
int i = Build.VERSION.SDK_INT;
char c = '߶';
if (i < 26) {
i = 2003;
} else {
i = 2038;
... |
package com.tencent.mm.plugin.appbrand.app;
import com.tencent.mm.bt.h.d;
import com.tencent.mm.plugin.appbrand.launching.s;
class e$33 implements d {
final /* synthetic */ e ffn;
e$33(e eVar) {
this.ffn = eVar;
}
public final String[] xb() {
return new String[]{s.frM};
}
}
|
package com.prudential.car.service.bean;
public class OperationResult<T> {
private boolean success;
private String errorMessage;
private T resultValue;
public T getResultValue() {
return resultValue;
}
public void setResultValue(T resultValue) {
this.resultValue = resultValue;... |
package com.snab.tachkit.databaseRealm.structureTableDatabase;
import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;
/**
* Created by chybakut2004 on 08.06.15.
*
* Экологическая норма
*/
public class EmissionClass extends RealmObject {
@PrimaryKey
private int id_emission_class; // id
... |
package com.packers.movers.server;
import com.packers.movers.commons.utils.Sequence;
public enum ApplicationRole {
ADMIN("admin"),
USER("user");
private final String value;
ApplicationRole(String value) {
this.value = value;
}
public String getStringValue() {
return value;
... |
package com.shakeboy.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shakeboy.pojo.Signature;
import org.springframework.stereotype.Repository;
@Repository
public interface SignatureMapper extends BaseMapper<Signature> {
}
|
package com.example.demo.dao;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.rest.webmvc.RepositoryRestController;
import com.example.demo.entities.Etudiant;
@RepositoryRestController
public interface EtudiantRepository extends JpaRepository<Etud... |
package com.xvr.serviceBook.entity;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.*;
import java.util.Set;
@Getter
@Setter
@NoArgsConstructor
@Entity
@Table(name = "status_ticket")
public class StatusTicket {
@Id
@Column(name = "id", nullable = false)
... |
package com.cache.controller;
import com.cache.entity.Person;
import com.cache.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestController
@RequestMapping("/person")
public class PersonContro... |
package com.tencent.mm.plugin.webview.ui.tools.bag;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.LinearGradient;
import android.graphics.Paint;
import android.graphics.RectF;
import android.graphics.Shader.TileMode;
import android.util.AttributeSet;
import android.view.View;
... |
package com.it.userportrait.reduce;
import com.it.userportrait.analy.BrushEntity;
import com.it.userportrait.util.HbaseUtils2;
import org.apache.flink.api.common.functions.GroupReduceFunction;
import org.apache.flink.util.Collector;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
public cl... |
package com.tencent.mm.plugin.dbbackup.a;
import android.database.Cursor;
import com.tencent.wcdb.repair.RepairKit.Callback;
class a$1 implements Callback {
private int iaP = 0;
private boolean iaQ = false;
final /* synthetic */ int[] iaR;
final /* synthetic */ a iaS;
private int pF = 0;
a$1(... |
package com.server.pool.handle;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import java.nio.charset.Charset;
public class ProcessHandler extends SimpleChannelInboundHandler {
@Override
protected void channelRead0(ChannelH... |
public class emp2 {
}
|
package entity;
import dto.chatRoom.ChatRoomDTO;
import dto.chatRoom.CreateChatRoomDTO;
import dto.message.MessageDTO;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.per... |
package com.tencent.liteav;
import android.view.MotionEvent;
import android.view.View;
class b$a implements Runnable {
final /* synthetic */ b a;
private View b;
private MotionEvent c;
private b$a(b bVar) {
this.a = bVar;
}
public void a(View view) {
this.b = view;
}
... |
//package com.epam.training.sportsbetting.service;
//
//import static org.junit.Assert.assertEquals;
//
//import java.math.BigDecimal;
//import java.time.LocalDateTime;
//import java.time.Month;
//import java.util.ArrayList;
//import java.util.List;
//
//import org.junit.jupiter.api.Test;
//
//import com.epam.training.... |
package com.tt.miniapphost;
import com.tt.frontendapiinterface.e;
import com.tt.frontendapiinterface.j;
import com.tt.miniapphost.entity.AppInfoEntity;
import com.tt.miniapphost.preload.IPreload;
public interface IAppbrandApplication {
e getActivityLife();
AppInfoEntity getAppInfo();
String ge... |
package api.longpoll.bots.model.objects.basic;
import api.longpoll.bots.adapters.deserializers.BoolIntDeserializer;
import api.longpoll.bots.model.objects.media.Attachable;
import api.longpoll.bots.model.objects.media.Attachment;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.Serial... |
package com.papadogiannis.services;
import com.papadogiannis.entities.Account;
import com.papadogiannis.requests.AccountRequest;
import java.util.List;
public interface IAccountService {
//list of all accounts
List<Account> getAll();
//account by id
Account getAccountById(Long id);
//new accou... |
package com.cnk.travelogix.custom.zif.erp.ws.opportunity;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
import com.cnk.travelogix.sapintegrations.dto.factory.DTOObjectFactory;
/**
* This object con... |
/*
* @(#)ColorIcon.java 2.0 2007-06-26
*
* Copyright (c) 1996-2006 by the original authors of JHotDraw
* and all its contributors.
* All rights reserved.
*
* The copyright of this software is owned by the authors and
* contributors of the JHotDraw project ("the copyright holders").
* You may not use, cop... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.