text stringlengths 10 2.72M |
|---|
package com.senac.apps.SelectionQuickSort.model;
public class T4 {
private int comparacoes = 0;
private int trocas = 0;
public int getComparacoes() {
return comparacoes;
}
public void addComparacoes() {
this.comparacoes++;
}
public int getTrocas() {
return trocas;
}
public void addTrocas() {
this.... |
package com.example.android.booklistingapp;
import android.content.AsyncTaskLoader;
import android.content.Context;
import java.util.List;
/**
* Created by sksho on 11-Apr-17.
*/
public class BooksLoader extends AsyncTaskLoader<List<Books>> {
final private String url;
public BooksLoader(Context context... |
//package home.videotogif;
//
//
//import android.graphics.Bitmap;
//import android.graphics.drawable.AnimationDrawable;
//import android.media.MediaMetadataRetriever;
//import android.media.MediaPlayer;
//import android.net.Uri;
//import android.os.Environment;
//
//import java.io.File;
//import java.util.ArrayList;
/... |
package com.ssm.wechatpro.controller;
import org.springframework.stereotype.Controller;
@Controller
public class WechatAdminLoginMationController {
}
|
package pe.edu.upeu.hotel.daoImp;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
import pe.edu.upeu.hotel.dao.Persona... |
package com.rbysoft.myovertimebd.Layout;
import android.animation.ObjectAnimator;
import android.content.Intent;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.os.Handler;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ImageView;
import ... |
package action;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import pojo.Users;
import service.UsersService;
import service.impl.UsersServiceImpl;
import util.G... |
package szallasok.model;
import javax.persistence.*;
/**
* Created by Stefyy on 2017.05.25..
*/
@Entity
public class Felhasznalok {
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Id
private int id;
private String felhasznalonev;
private String teljesnev;
private String jelszo;
priva... |
package com.oxycab.provider.ui.activity.regsiter;
import com.oxycab.provider.base.MvpView;
import com.oxycab.provider.data.network.model.MyOTP;
import com.oxycab.provider.data.network.model.User;
public interface RegisterIView extends MvpView {
void onSuccess(MyOTP otp);
void onError(Throwable e);
}
|
# priyav
import java.io.*;
public class Asci
{
public void getChars()
{
int x=0;
String str="";
//boolean contain=false;
try
{
System.out.print("Enter a Char: ");
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
str=in.readLine();
System.out.println("Str is: "+str);
x=Integer.valueOf(str).intV... |
package il.co.xsites.developertest.base.ro;
import java.io.Serializable;
import java.util.Objects;
public abstract class BaseRO implements Serializable {
// ------------------------ Constants -----------------------
private static final long serialVersionUID = 1L;
// ------------------------ Fields ---... |
package com.github.abryb.bsm;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
public class NoteActivity extends AppCompatActivity {
@Override
protected void onCrea... |
package com.bulldozer.domain.site;
public interface ClearableBlock {
void clear(SiteCleaner visitor);
void markCleared();
boolean isCleared();
void setProtectedTreeDestroyed();
boolean isProtectedTreeDestroyed();
}
|
package com.testing.class7;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import java.util.HashMap;
import java.util.Map;
public class JsonText {
public static void main(String[] args) {
String ipStr="/**/jQuery110205334450459806954_1596263095138({\"status\":\"0\",\"t\":\"1596... |
package com.wuyan.masteryi.admin.controller;
import com.wuyan.masteryi.admin.service.OrderService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springf... |
package Tasks.LessonTwo;
public class TaskEleven {
// Выведите на экран все положительные делители натурального числа, введённого пользователем с клавиатуры.
public static void wtf(int a) {
for (int i = 1; i <= a; i++){
if (a % i == 0){
System.out.print(i + " ");
... |
package com.yahoo.random;
public class ArrayIndex {
/**
* @param args
*/
public static void main(String[] args) {
//int[] a = {d,a,c,f,f,b,};
int [] a = new int[5]; //here we can take 5 int values. Note local Array default init to 0
//a[5]=1; // throws java.lang.ArrayIndexOutOfBoundsException: 5
a[4... |
package com.bookapp.model.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.bookapp.dao.Book;
import com.bookapp.dao.BookDao;
@Service(value = "bookService")
public class BookServiceImpl implements BookService{
... |
package webprotocol;
import lombok.SneakyThrows;
import java.util.List;
public class Main {
@SneakyThrows
public static void main(String[] args) {
Integer idUser = 7;
User createdUser = HttpUtilClient.postRequest(newUser());
System.out.println("1.1) creating a new user :\n" + c... |
package com.herbet.ffm.control;
import com.herbet.ffm.repository.CustomerRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframewor... |
package com.project.group14.document;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection = "job")
public class JobInfo {
@Id
private String id;
private String Job_Name;
private String Company_Name;
private String Address;
priva... |
/**
* Ein eigener Datentyp, zum komfortableren Programmieren des Spiels.
* @author Pascal Weiß (s0544768)
*/
package othello.Miscellaneous;
public class OthelloLocation {
public int row;
public int column;
/**
* Initialisierung von row und column.
* @param row Zeile.
* @par... |
import java.util.*;
import java.io.*;
class lapalin{
public static void main(String args[]){
Scanner sc= new Scanner(System.in);
int testcase;
testcase=sc.nextInt();
while (testcase-->0) {
//String s;
//s=sc.nextLine();
StringBuffer s=new StringBuffer("gaga");
int len=... |
package com.snab.tachkit;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.Editable;
import android.text.Html;
import android.text.InputType;
import android.text.TextWatcher;
import android.view.View;
import android.widget.EditTe... |
import java.io.IOException;
public class App {
public static void main(String[] args) throws IOException, InterruptedException {
Lotto lotto = new Lotto();
lotto.Start();
}
} |
package utils;
public class ConvertUtil {
// 次の9文字は使用不可(< > : * ? " / \ |).
final static String FORBIDDEN1 = "<";
final static String FORBIDDEN2 = ">";
final static String FORBIDDEN3 = ":";
final static String FORBIDDEN4 = "*";
final static String FORBIDDEN5 = "?";
final static String FORBI... |
package com.tencent.tencentmap.mapsdk.a;
import com.qq.jutil.j4log.Logger;
public class ax {
static final Logger a = Logger.getLogger("jceClient");
static int b = 15;
public static void a(String str) {
a.info(str);
}
public static void a(String str, Throwable th) {
a.info(str, th... |
package com.handsome.android.designpattern.strategy;
import com.handsome.android.designpattern.strategy.impl.FlyBehavior;
import com.handsome.android.designpattern.strategy.impl.QuackBehavior;
/**
* 利用继承 缺点:
* 代码在多个子类中重复
* 运行时的行为不容易改变
* 很难知道所有鸭子的全部行为
* 改变会牵一发动全身,造成其他子类不想要的改变
* <p/>
* Created with Andrid Studio... |
package httpResponseStatus;
import http.HttpResponseStatus;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* Created by cenk on 01/01/15.
*/
public class HttpResponseStatusTest {
@Test
public void testGetStatus() throws NoSuchFieldException, InstantiationException, IllegalAccessExcepti... |
package fr.doranco.ecommerce.metier;
import fr.doranco.ecommerce.entity.pojo.Categorie;
public class CategorieMetier implements ICategorieMetier{
@Override
public void addCategorie(Categorie categorie) throws Exception {
// TODO Auto-generated method stub
}
@Override
public Categorie getCategorieById(Inte... |
package com.tencent.mm.plugin.radar.b;
import b.c.b.e;
import com.tencent.mm.g.a.mg;
import com.tencent.mm.kernel.c.a;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.messenger.foundation.a.i;
import com.tencent.mm.sdk.b.b;
import com.tencent.mm.sdk.b.c;
import com.tencent.mm.sdk.platformtools.x;
import c... |
package websearch.indexing;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.ObjectInputStream;
import java.util.ArrayList;
impo... |
package com.ifre.util.encrypte;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStrea... |
package ru.kappers.exceptions;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.*;
public class BetParserExceptionTest {
@Test
public void constructorWithMessageOnly() {
final String testMessage = "te... |
package patterns.command;
public class OpenFileCommand implements ICommand {
private IFileSystemReceiver fileSystem;
@Override
public void execute() {
// open command is forwarding request to openFile method
this.fileSystem.openFile();
}
public OpenFileCommand(IFileSystemReceiver fileSystem) {
this.fileSy... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.inftel.scrum.modelXML;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* @author migueqm
*/
public class Historico implements Serializable {
private static final long seri... |
/*
* 文 件 名: BTree.java
* 描 述: B树数据结构算法实现
* 修 改 人: root
* 修改时间: 2014-10-30
* 跟踪单号: <跟踪单号>
* 修改单号: <修改单号>
* 修改内容: <修改内容>
*/
package com.henry.tree;
/**
*
* <功能详细描述>
*
* @author root
* @version [版本号, 2014-10-30]
* @see [相关类/方法]
* @since [产品/模块版本]
*/
public class BTree
{
//树的根节点
pri... |
package com.example.recyclerview.Adaptador;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.Tex... |
package codesum.lm.topicsum;
public class Term {
private String term;
private Double score;
public String getTerm() {
return term;
}
public void setTerm(String term) {
this.term = term;
}
public Double getScore() {
return score;
}
public void setScore(Dou... |
package com.xxl.job.executor.jobhandler;
import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.IJobHandler;
import com.xxl.job.core.handler.annotation.JobHandler;
import com.xxl.job.core.log.XxlJobLogger;
import com.xxl.job.executor.service.MaintAlertService;
import com.xxl.job.executor.util.ListU... |
package com.linsr.mvpdemo;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import com.linsr.mvpdemo.service.MyIntentService;
import com.linsr.mvpdemo.service.MyService;
public class MainActivity extends AppCompatActivity {
@Overr... |
import java.awt.datatransfer.SystemFlavorMap;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
/*
Shape rectangle=new Rectangle(10,20);
System.out.println("\nRectangle");
System.out.println("Area is:"+ rectangle.calculateArea());
System.out.p... |
package com.mideas.rpg.v2.game.unit;
import java.util.ArrayList;
import com.mideas.rpg.v2.Mideas;
import com.mideas.rpg.v2.chat.ChatFrame;
import com.mideas.rpg.v2.chat.Message;
import com.mideas.rpg.v2.chat.MessageType;
import com.mideas.rpg.v2.game.CharacterStuff;
import com.mideas.rpg.v2.game.Party;
impo... |
package ad.joyplus.com.myapplication.entity;
/**
* 返回信息的数据模型
* Created by UPC on 2016/8/31.
*/
public class AdModel<T>{
/**
* 版本号
*/
public String VersonCode;
/**
* 返回码(1为正确返回或0错误返回)
*/
public String Code;
/**
* 返回为0时的错误信息
* 错误信息
*/
public String msg;
... |
package cc.protea.foundation.template.model;
import java.sql.ResultSet;
import java.util.List;
import org.skife.jdbi.v2.Handle;
import com.fasterxml.jackson.annotation.JsonIgnore;
import cc.protea.foundation.integrations.DatabaseUtil;
import cc.protea.platform.ProteaUser;
import cc.protea.platform.UserUtil;
public... |
package edu.kit.pse.osip.simulation.view.main;
import edu.kit.pse.osip.core.model.base.Pipe;
import org.junit.Test;
/**
* A class testing PipeDrawer.
*/
public class PipeDrawerTest {
/**
* Checks for InvalidWayPointsException if there are too few points.
*/
@Test(expected = InvalidWaypointsExcept... |
package it.dstech.film.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import... |
package org.rocksdb.memtable;
import org.rocksdb.Options;
import org.rocksdb.VectorMemTableConfig;
/**
* @fileName: MemTableConfig.java
* @description: MemTableConfig.java类说明
* @author: huangshimin
* @date: 2021/10/13 8:04 下午
*/
public class MemTableConfigFeature {
public static void main(String[] args) {
... |
package com.tencent.mm.plugin.appbrand.q;
import com.tencent.mm.y.g.a;
public final class d {
public long bJC;
public a bXA;
public long bYu;
public String bgo;
public String desc;
public String dyT;
public String gBq;
public String imagePath;
public String nickname;
public lon... |
/*
* Copyright 2013 JBoss Inc
*
* 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 i... |
package pers.student.dao;
import pers.student.entity.Student;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;
//数据访问层,原子性的增删改查
public class StudentDao {
//数据库连接数据
private final String DRIVER = "com.mysql.cj.jdbc.Driver";
private final String DB = "javadb";
private final String U... |
package com.tdd;
/**
* Created by Sylvester on 3/4/2017.
*/
public class Dollar extends Money {
private String currency;
Dollar(int amount, String currency) {
super(amount, currency);
}
//Money times(int multiplier) {
// return Money.dollar(amount * multiplier);
//}
//Money tim... |
package com.victoriachan.algorithmn;
/**
* @program: algorithm
* @description:
* 编写一个高效的算法来搜索 m x n 矩阵 matrix 中的一个目标值 target。该矩阵具有以下特性:
* 每行的元素从左到右升序排列。
* 每列的元素从上到下升序排列。
* 示例: 现有矩阵 matrix 如下:
* [
* [1, 4, 7, 11, 15],
* [2, 5, 8, 12, 19],
* [3, 6, 9, 16, 22],
* [10, 13, 14, 17, 24],
* [18... |
package com.apri.test.service;
import com.apri.test.entity.MataKuliah;
import java.util.List;
public interface MataKuliahService extends BaseService<MataKuliah>{
List<MataKuliah> findByMataKuliah(MataKuliah param);
} |
package com.tencent.mm.plugin.facedetect.ui;
import android.os.Bundle;
class FaceDetectPrepareUI$b {
String Yy;
int errCode;
int errType;
Bundle extras;
final /* synthetic */ FaceDetectPrepareUI iRf;
private FaceDetectPrepareUI$b(FaceDetectPrepareUI faceDetectPrepareUI) {
this.iRf = f... |
package com.java.smart_garage.controllers.rest;
import com.java.smart_garage.contracts.serviceContracts.EmailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.web.bind.annotation.PostMapping;
import org.springfram... |
package com.vilio.ppms.glob;
/**
* Created by dell on 2017/7/7.
*/
public class Fields {
/* 当前系统编号 */
public final static String SYSTEM_NO = "ppms";
/* 参数传递消息,错误号字段 */
public final static String PARAM_MESSAGE_ERR_CODE = "returnCode";
/* 参数传递消息,错误信息 */
public final static String PARAM_MESSAGE... |
package com.meridal.examples.recordcollection.domain.discogs;
public class Track {
private String duration;
private String position;
private String title;
public String getDuration() {
return duration;
}
public void setDuration(String duration) {
this.duration = duration;
}
public String getPosition() ... |
package com.softwarica.drinknepal.Activities;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import com.softwarica.drinknepal.R;
public class DrinkSplash extends AppCompatActivity {
Sh... |
import java.util.Scanner;
import java.math.BigInteger;
// one comment
public class Mission1_wrongOutput {
public static void main(String[] args) {
String text = "Ahhh my bits are showing";
String binary = new BigInteger(text.getBytes()).toString(2);
System.out.println(binary);
System.out.print("My ... |
package eu.precode.TestApp.controllers;
import eu.precode.TestApp.services.UsersService;
import eu.precode.TestApp.models.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.web.bind.annotation.*;
import org.springframework.data.d... |
package cb;
//Program that shows the True False Boolean
public class TrueFalseComparison {
public static void main(String[] args) {
int a=10;
int b=20;
System.out.println("The fact that a=b is "+(a==b)+" !!!");
System.out.println("The fact that a is different than b is "+(a!=b)+" !!!");
Sys... |
package com.zilker.contact.beanClass;
/*
* Contact Bean.
*/
public class Contact_Detail {
private String firstName, lastName, mailId;
public Contact_Detail(String fName, String sName, String mId) {
this.firstName = fName;
this.lastName = sName;
this.mailId = mId;
}
public void setFirstName(String fN... |
package com.research.cep;
import org.apache.flink.streaming.api.functions.AssignerWithPeriodicWatermarks;
import org.apache.flink.streaming.api.watermark.Watermark;
import javax.annotation.Nullable;
/**
* @fileName: Watermarks.java
* @description: Watermarks.java类说明
* @author: by echo huang
* @date: 2020-04-03 1... |
package com.warehouse.mapper;
import com.warehouse.entity.InStockMasterEntity;
import java.util.List;
import java.util.Map;
public interface InStockMasterMapper {
List<InStockMasterEntity> findList(Map<String, Object> params);
InStockMasterEntity findInfo(Map<String, Object> params);
Integer doInsert(I... |
package com.tencent.mm.plugin.aa.a.c;
import com.tencent.mm.plugin.aa.a.a;
import com.tencent.mm.protocal.c.o;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.vending.g.g;
import com.tencent.mm.vending.h.e;
public class g$a implements e<o, Long> {
final /* synthetic */ g eBH;
public g$a(g gV... |
package gr.athena.innovation.fagi.core.similarity;
import gr.athena.innovation.fagi.specification.SpecificationConstants;
import java.math.BigDecimal;
import java.math.RoundingMode;
import org.apache.commons.text.similarity.JaroWinklerDistance;
/**
* Class for computing the Jaro-Winkler Distance.
*
* @author nkar... |
package com.duanxr.yith.midium;
/**
* @author 段然 2021/3/12
*/
public class BaZiFuChuanZhuanHuanChengZhengShuLcof {
/**
* English description is not available for the problem.
*
* 写一个函数 StrToInt,实现把字符串转换成整数这个功能。不能使用 atoi 或者其他类似的库函数。
*
*
*
* 首先,该函数会根据需要丢弃无用的开头空格字符,直到寻找到第一个非空格的字符为止。
*
* ... |
package com.koreait.model.member;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
i... |
package com.feelyou.manager;
import android.app.Dialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import com.feelyou.R;
import com.feelyou.receiver.CallReceiver;
import com.feelyou.util.DialogUtil;
import com.feelyou.util.SystemUtil;
public c... |
import textio.TextIO;
/*
* This program will take a line inputted by the user and will print out 25
* characters for each character in the line. For example, if the input is "boy"
* then there will be 25 characters of the letter 'b', 25 characters of the letter 'o',
* and 25 letters of the character 'y'.
*/
public cl... |
package cs455.deleter;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
import org.apache.hadoop.mapreduce.lib.input.TextInputFormat;
import org.apache.h... |
package com.order.classes;
import org.bson.types.ObjectId;
public class Order{
public String recipientName;
public String streetAddress;
public String city;
public String state;
public String zipCode;
public String phoneNumber;
public String product;
public String quantity;
public String getCity() {
r... |
package Folha_De_Pagamento_Brenne;
import java.util.Calendar;
public class Data {
Calendar dataLimite;
public void setdata(String data) {
String[] arrayData = data.split("/");
int[] arrayDiaEMes = new int[2];
arrayDiaEMes[0] = Integer.valueOf(arrayData[0]);
arrayDiaEMes[1] = Integer.valueOf(arrayData[1]... |
/*
* This software is licensed under the MIT License
* https://github.com/GStefanowich/MC-Server-Protection
*
* Copyright (c) 2019 Gregory Stefanowich
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
... |
/*
* 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 DAL;
import DTO.dto_LopHoc;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
/**
*
... |
package IDecoratorSimple;
public class DecoratorTest {
public static void main(String[] args) {
ConcreteComponent concreteComponent = new ConcreteComponent();
concreteComponent.print("Test");
System.out.println();
ConcreteDecoratorLeftBracket concreteDecoratorLeftBracket = new Con... |
package com.jayqqaa12.abase.exception;
public class AbaseException extends RuntimeException {
private static final long serialVersionUID = 1L;
public AbaseException() {
super();
}
public AbaseException(String msg) {
super(msg);
}
public AbaseException(Throwable ex) {
super(ex);
}
public AbaseExce... |
package com.krokodillLl.degree.controllers;
import com.krokodillLl.degree.service.ConnectionService;
import com.krokodillLl.degree.service.Utils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.event.EventListener;
import org.springframework.http.ResponseEntity;
import... |
package com.tencent.mm.plugin.label.ui;
import android.view.View;
import android.view.View.OnClickListener;
class ContactLabelManagerUI$6 implements OnClickListener {
final /* synthetic */ ContactLabelManagerUI kBk;
ContactLabelManagerUI$6(ContactLabelManagerUI contactLabelManagerUI) {
this.kBk = con... |
package firemage.dynfx.shape;
import javafx.scene.paint.Paint;
import org.dyn4j.geometry.Triangle;
import org.dyn4j.geometry.Vector2;
public class FXTriangle extends FXPolygonBase {
public FXTriangle(Vector2 point1, Vector2 point2, Vector2 point3, Paint paint) {
super(new Triangle(point1, point2, point3),... |
package org.alienideology.jcord.internal.object.client;
import org.alienideology.jcord.handle.client.IClient;
import org.alienideology.jcord.handle.client.IClientObject;
import org.alienideology.jcord.internal.object.DiscordObject;
/**
* @author AlienIdeology
*/
public class ClientObject extends DiscordObject imple... |
package com.gmail.volodymyrdotsenko.cms.fe.vaadin.views;
import java.io.File;
import java.io.FileOutputStream;
import java.io.OutputStream;
import com.vaadin.server.Page;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.FormLayout;
import com.vaadin.ui.HorizontalLayout;
import... |
package com.xiaoxiao.contorller.backend;
import com.xiaoxiao.pojo.XiaoxiaoLabels;
import com.xiaoxiao.service.backend.LabelFeignService;
import com.xiaoxiao.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
/**
* _ooOoo_
* o8888888o
* 88"... |
package pt.ist.sonet;
import pt.ist.sonet.domain.ExternalServiceConfig;
import pt.ist.sonet.domain.Sonet;
import pt.ist.sonet.factory.ExternalServiceFactory;
import pt.ist.sonet.factory.LocalExternalServiceFactory;
import pt.ist.sonet.factory.RemoteExternalServiceFactory;
import pt.ist.fenixframework.Config;
import pt... |
package com.example.markus.todoregister.data;
import android.util.Log;
import java.util.Date;
/**
* Created by Markus on 7.4.2017.
* Task which has been given a specific time frame to complete
* if the time goes to zero, the tasks will show an alert
* and then delete itself after some time
*/
public class TimedT... |
package org.sero.cash.superzk.json;
import org.sero.cash.superzk.crypto.ecc.Point;
import org.sero.cash.superzk.protocol.AccountType;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com... |
/*
* 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 dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
imp... |
///////////////////////////////////////////////////////////////////////////////
// ALL STUDENTS COMPLETE THESE SECTIONS
// Title: TheGame
// Files: DirectedGraph.java, Player.java, Item.java, Room.java,
// TheGame.java
// Semester: 367 Fall 2015
//
// Author: ... |
package ga.islandcrawl.action;
import ga.islandcrawl.map.O;
import ga.islandcrawl.object.*;
import ga.islandcrawl.object.Object;
import ga.islandcrawl.object.unit.Unit;
/**
* Created by Ga on 9/7/2015.
*/
public abstract class Action {
protected Unit host;
public int animation = 0;
public int initAnimat... |
package fr.clivana.lemansnews.utils;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
//import android.os.RemoteException;
public class SingletonService extends Service {
// private final ISingletonService.Stub mBinder = new ISingletonService.Stub() {
// public void startSingle... |
/*
* 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 Ejercicios;
import java.util.Scanner;
/**
*
* @author Michael
*/
public class GranPiramideMetodos {
publ... |
package com.espendwise.manta.auth;
import com.espendwise.manta.util.trace.ApplicationRuntimeException;
public interface LogonService {
public AppUser logon(String userName, LogonRequest request) throws ApplicationRuntimeException;
}
|
package com.czm.cloudocr.PhotoSelect;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.util.DisplayMetrics;
import android.view.LayoutInflater;
imp... |
package studio.cyclingbits.byob2048;
import android.app.Activity;
import android.os.Bundle;
import android.view.ViewTreeObserver;
import android.widget.FrameLayout;
import android.widget.ImageView;
public class MainActivity extends Activity {
private RuntimeConstants constants = new RuntimeConstants();
priva... |
package com.rastiehaiev.notebook.controller;
import com.rastiehaiev.notebook.bean.User;
import com.rastiehaiev.notebook.management.ISuggestionManagementService;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.sp... |
package com.google.android.exoplayer2.e;
public interface c {
public static final c aqg = new 1();
a d(String str, boolean z);
a kp();
}
|
package utils;
import java.io.File;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.ArrayList;
import java.util.Collections;
public class SpiderUtils {
public static String getResultLine(String line){
String pattern ... |
package com.starmicronics.starprntsdk.functions;
import com.starmicronics.starioextension.IScaleCommandBuilder;
import com.starmicronics.starioextension.StarIoExt;
import com.starmicronics.starioextension.StarIoExt.ScaleModel;
public class ScaleFunctions {
public static byte[] createZeroClear() {
... |
package com.tencent.mm.plugin.wallet_core.id_verify;
import android.text.SpannableString;
import com.tencent.mm.ab.l;
import com.tencent.mm.plugin.wallet_core.ui.h;
import com.tencent.mm.plugin.wxpay.a;
import com.tencent.mm.ui.MMActivity;
import com.tencent.mm.wallet_core.d.g;
import com.tencent.mm.wallet_core.d.i;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.