text stringlengths 10 2.72M |
|---|
package com.example.csc207app;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Calendar;
import type.Nurse;
import type.Patient;
import type.PatientDataBase;
import account.LoginAccount;
import android.os.Bundle;
import android.app.Activity;
import a... |
package com.elizeire.codecatas;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* You live in the city of Cartesia where all roads are laid out in a perfect grid. You arrived ten minutes too early
* to an appointment, so you decided to take the opportunity to go for a short walk. The city ... |
package com.yixin.kepler.dto;
import java.io.Serializable;
/**
* 接口返回值对象
* @author sukang
*
* @param <T>
*/
public class RespMessageDTO<T extends Object> implements Serializable{
private static final long serialVersionUID = 1L;
private T data;
private String errorMessage;
private boolean hasErrors;
... |
package com.example.ashvant.stock;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
imp... |
package com.xkzhangsan.time.holiday;
import com.xkzhangsan.time.LunarDate;
import com.xkzhangsan.time.constants.Constant;
import com.xkzhangsan.time.converter.DateTimeConverterUtil;
import com.xkzhangsan.time.formatter.DateTimeFormatterUtil;
import com.xkzhangsan.time.utils.CollectionUtil;
import com.xkzhangsan.time.u... |
package com.nmoumoulidis.opensensor.view;
import java.util.ArrayList;
import java.util.HashMap;
import android.support.v4.widget.SimpleCursorAdapter;
import android.widget.SimpleAdapter;
import com.nmoumoulidis.opensensor.R;
/**
* UI utility class, used to populate data results in a structured way using
* the pow... |
package com.example.mysqlite.annotion;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* PROJECT_NAME:MyApplication
* PACKAGE_NAME:com.example.mysqlite.annotion
* USER:Frank
* DATE:2018/10/29
* TI... |
package com.cflox.number_converter.service;
import com.cflox.number_converter.model.AuditTrail;
import com.cflox.number_converter.pojo.ApplicationResponse;
public interface ConverterService {
public ApplicationResponse saveRequest(AuditTrail auditTrail);
}
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package unalcol.types.integer;
import unalcol.io.Read;
import unalcol.io.RowColumnReaderException;
import unalcol.io.ShortTermMemoryReader;
import java.io.IOException;
/**
* @author jgomez
*/
public class IntegerPl... |
package com.example.android.tflitecamerademo;
import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.webkit.WebView;
public class BuyActivity extends Activity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onC... |
import Manager.DownloadManager;
import Utils.TableUtils.ProgressRenderer;
import Utils.TableUtils.DownloadsTableModel;
import Utils.TableUtils.ColumnKeeper;
import Utils.Utils;
import Config.Config;
import Sockets.TCPConnection;
import Sockets.TCPEchoSelectorProtocol;
import Sockets.TCPServerSelector;
import... |
/*
* Sonar PHP Plugin
* Copyright (C) 2010 Sonar PHP Plugin
* dev@sonar.codehaus.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, o... |
package com.project.service.taxi.stub_connector;
import com.project.service.taxi.exception.NotFoundException;
import com.project.service.taxi.stub_connector.utils.UtilsGeneration;
import org.springframework.stereotype.Component;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.ConcurrentHa... |
package com.testengine;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.RequestDispatcher;
impor... |
package lildoop.mapReduce.client;
import lildoop.mapReduce.enums.ConditionOperator;
public class QueryObject {
public String functionColumn;
public String field;
public ConditionOperator condition;
public String data;
public String conditionValue;
public String conditionColumn;
public boolean IsCondition()
{... |
package domain;
import datasource.daos.TrackDAO;
import javax.inject.Inject;
public abstract class Track {
private int id;
private String titel;
private String url;
private int afspeelduur;
private int resterendeTrackTijd;
private boolean offlineBeschikbaar;
private String performer;
... |
package net.cep.main;
public class Main {
public static void main(String[] args) {
garageStarter();
}
public static void garageStarter() {
Garage myGarage = new Garage();
Vehicle myFirstCar = new Car("clare", "blue", true, "SG10 FDB", "BMW");
Vehicle myFirstBike = new Bike("fish", "red", false, false);
Vehic... |
package com.tencent.mm.ui.chatting.gallery;
import android.view.animation.AnimationUtils;
import com.tencent.mm.R;
import com.tencent.mm.ui.chatting.gallery.MediaHistoryGalleryUI.3;
class MediaHistoryGalleryUI$3$1 implements Runnable {
final /* synthetic */ 3 tXG;
MediaHistoryGalleryUI$3$1(3 3) {
thi... |
package com.estrelladelsur.databases;
import android.content.Context;
public class DL {
private SQLiteDBConnection sqLiteDBConnection;
private static DL dl;
public DL(){
}
public static DL getDl() {
if (dl == null) {
dl = new DL();
}
return dl;
}
... |
package com.zpjr.cunguan.entity.parameter;
import com.zpjr.cunguan.common.base.BaseParameter;
/**
* Description: 描述
* Autour: LF
* Date: 2017/7/11 10:58
*/
public class InvestmentListParameter extends BaseParameter{
/**
* 当前页码
*/
public String currentPage;
/**
... |
/*******************************************************************************
* 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 r... |
package printtreelevelbylevel;
import java.util.LinkedList;
import java.util.Queue;
public class Solution {
public void printtree(TreeNode root){
if(root == null){
return;
}
Queue<TreeNode> queue = new LinkedList<TreeNode>();
queue.offer(root);
while(!queue.isEmpty()){
int size = queue.size();
for... |
package com.tencent.mm.plugin.multitalk.ui.widget;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup.LayoutParams;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.tencent.m... |
package org.sagebionetworks.repo.model;
import java.util.List;
import org.sagebionetworks.repo.web.NotFoundException;
public interface AccessRequirementDAO {
/**
* @param dto
* object to be created
* @param paramsSchema the schema of the parameters field
* @return the id of the newly created obj... |
package com.link.common.kit;
/**
* Created by linkzz on 2017-07-20.
*/
public class StrKit extends com.jfinal.kit.StrKit {
public static String subString(String str,int num){
if (str.length() > num){
return str.substring(0,num);
}else {
return str;
}
}
}
|
package ru.Makivay.sandbox.xlsxReport.cellsFiller;
import org.apache.poi.ss.usermodel.CellStyle;
public interface Stylist {
CellsFiller decorate(CellStyle cellStyle);
}
|
package problem_solve.bfs.baekjoon;
import java.util.LinkedList;
import java.util.Queue;
import java.util.Scanner;
public class BaekJoon2468 {
private static int[][] region;
private static boolean[][] visited;
private static int moveX[] = {0, 1, 0, -1};
private static int moveY[] = {1, 0, -1, 0};
... |
package com.appdear.client.utility.cache;
import java.util.List;
public interface ListviewSourceCacheInterface<T> {
//添加缓存信息到key文件/sdcard/appdear/source/key
public boolean addListview(String key,T source);
//从缓存取key文件资源
public T getListview(String key);
}
|
/* DAVID DE SAN LÁZARO LORENTE
* ACTIVIDAD DE APRENDIZAJE SEGUNDA EVALUACIÓN
*
* Esta es una aplicación para gestionar una cadena de cines. Su función es introducir la información de sus
* salas, películas o trabajadores. También permite consultar la información introducida.
*/
package com.sanvalero.cine;
publi... |
package com.database.endingCredit.domain.user.dto;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class SignUpDTO {
private String lastName;
private String firstName;
private String email;
private String ... |
package com.tuanhk.login;
import android.support.annotation.Nullable;
import com.tuanhk.splashscreen.SplashScreenFragment;
import com.tuanhk.ui.activity.BaseActivity;
import com.tuanhk.ui.fragment.BaseFragment;
public class LoginScreenActivity extends BaseActivity {
@Nullable
@Override
protected BaseFra... |
package com.example.rnztx.donors.models;
/**
* Created by rnztx on 9/3/16.
*/
public class KeyReference extends Object{
String uniqueKey;
public KeyReference() {
}
public KeyReference(String uniqueKey) {
this.uniqueKey = uniqueKey;
}
public String getUniqueKey() {
return uni... |
package interfaceTest;
public interface Car {
// 3개의 기능 정의 >> 추상메서드 정의
public void speed(int sp);
public void wheel(String wh);
public void key(String k);
}
|
package tree;
import java.util.Iterator;
public interface IIterator<T> extends Iterable<T> {
@Override
public Iterator<T> iterator();
public T next();
public boolean hasNext();
public void remove();
}
|
package com.simple.core.database;
public class FilterData {
private String filterDef;
private String filterParamName;
private Object filterParamValue;
public FilterData(String filterDef, String filterParamName, Object filterParamValue) {
this.filterDef = filterDef;
this.filterParamName = filterParamName;
t... |
package com.rs.game.player.dialogues;
public class Starter extends Dialogue {
public Starter() {
}
@Override
public void start() {
stage = 1; // STARTING DIALOGUE FOR WHEN A NEW PLAYER JOINS, THEY CHOOSE A GOD.
sendOptionsDialogu... |
class Solution {
public int[] topKFrequent(int[] nums, int k) {
/*
map of freq: 1: 3,2, 2, 3, 1
PriorityQueue
**/
HashMap<Integer, Integer> freq = new HashMap<>();
for (int i : nums) {
freq.put(i, freq.getOrDefault(i, 0) + 1);
... |
/*
* 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 Entidades;
import java.util.List;
/**
*
* @author Toditos
*/
public class entSesion {
private int posicion;
priv... |
package com.moon.sevlet.file;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.FileUploadException;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.servlet.ServletFileUpload;
import javax.servlet.ServletConfig;
import javax.servlet... |
import javax.swing.*;
import java.awt.*;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.io.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Set;
import java.util.TreeMap;
public class Creat... |
/*
* created 20.10.2005
*
* Copyright 2009, ByteRefinery
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* $Id... |
public class Problem1_3
{
public static void main(String[]args)
{
System.out.println(" J A V V A ");
System.out.println(" J A A V V A A ");
System.out.println("J J AAAAA V V AAAAA ");
System.out.println("J J A A V A A ... |
package com.puxtech.reuters.rfa.Common;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import jav... |
package java2.domain.builders;
import java2.domain.AnnouncementCategory;
import java2.domain.Term;
public class AnnouncementCategoryBuilder {
private int id;
private AnnouncementCategory parentCategory;
private Term title;
private Term description;
private AnnouncementCategoryBuilder() {}
pu... |
package com.bierocratie.ui.component;
import com.bierocratie.db.accounting.IncomeDAO;
import com.bierocratie.db.accounting.InvoiceDAO;
import com.bierocratie.model.accounting.BudgetYear;
import com.bierocratie.model.accounting.Category;
import com.bierocratie.model.accounting.CategoryAndMonth;
import com.bieroc... |
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any la... |
package birkann.com.kanaltakip.DbObject;
/**
* Created by birkan on 23.10.2016.
*/
public class ChannelStatistics {
private String id;
private String viewsCount;
private String subCount;
private String videoCount;
public ChannelStatistics(String id, String viewsCount, String subCount, String v... |
package com.ece496.feature_handling;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.view.View.OnClickListener;
import com.ece496.R;
import com.ece496.assignments.Essay;
import com.ece496.a... |
package com.packtpub.javaee8;
import org.glassfish.jersey.media.multipart.MultiPartFeature;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
import java.util.HashSet;
import java.util.Set;
/**
* Configures a JAX-RS endpoint.
*/
@ApplicationPath("api")
public class JAXRSConfigur... |
package com.wood.videoplayer;
import android.os.Bundle;
import android.support.v4.app.ListFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;
import android.widget.TextView;
public class NetFileFragment extends ListFragment {
TextView... |
package com.tencent.mm.plugin.wallet_core.ui;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.plugin.wallet_core.b.b;
import com.tencent.mm.plugin.wallet_core.model.Bankcard;
import com.tencent.mm.plugin.wxpay.a$i;
import com.tenc... |
package martin.s4a.shift4all2;
import android.appwidget.AppWidgetManager;
import android.content.ComponentName;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.GradientDrawable;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
imp... |
/*
* LumaQQ - Java QQ Client
*
* Copyright (C) 2004 luma <stubma@163.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any lat... |
package com.crimson.picshu;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import andro... |
package rent.common.dtos;
import rent.common.entity.AccountServiceEntity;
import rent.common.entity.CalculationTypeEntity;
import rent.common.entity.MeasurementUnitEntity;
import rent.common.entity.TariffEntity;
public class AccountServiceCalculationDto {
private AccountServiceEntity accountService;
private D... |
package com.wb.bot.wbbot.beans;
public class RemarkUser {
/**
* 用户uid
*/
private String uid;
/**
* 备注
*/
private String remark;
/**
* 简写
*/
private String jp;
/**
* 全拼
*/
private String qp;
public String getUid() {
return uid;
}
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import javax.servlet.http.HttpSessionListener;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSession;
import org.mvirtual.persistence.entity.Institution;
import org.mvirtual.persistence.hibe... |
package com.yunhe.core.numbersetting.factory;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* <per>
* 借入归还单 XSD
* 进货订单编号 JDD
* 销售订单编号 XDD
* 进货单编号 JHD
* 供应商编号 GYS
* 客户编号 KH
* 商品编号 SP
* 借出归还单 JCD
* 商品模板 MB
* ... |
package org.sbbs.demo.webapp.action;
import javax.servlet.http.HttpServletRequest;
import org.sbbs.base.webapp.action.BaseMaintainAction;
import org.sbbs.demo.model.DemoEntity;
import org.sbbs.demo.service.DemoEntityManager;
public class DemoEntityMaintainAction
extends BaseMaintainAction<DemoEntity, Lo... |
package com.groovybot.persistence;
import com.groovybot.model.ScriptExecutionEntity;
import com.groovybot.model.ScriptExecutionType;
public interface ScriptExecutionEntityDao {
ScriptExecutionEntity makePersistent(ScriptExecutionEntity entry);
ScriptExecutionEntity createEntry(String participantId, String s... |
package com.lupan.HeadFirstDesignMode.chapter7_adapterAndFacade.face;
/**
* TODO
*
* @author lupan
* @version 2016/3/23 0023
*/
public class Television {
public void turnOn(){
System.out.println("开电视!");
}
public void turnOff(){
System.out.println("关电视!");
}
}
|
package com.ahf.antwerphasfallen.Helpers;
/**
* Created by Jorren on 27/10/2018.
*/
public interface Subscriber {
void Update();
}
|
package com.tetris.pieces;
public abstract class Piece {
public int Ax;
public int Ay;
public int Bx;
public int By;
public int Cx;
public int Cy;
public int Dx;
public int Dy;
public int row = Ax;
public int col = Ay;
public Piece(int Ax, int Ay) {
this.Ax = Ax;
this.Ay = Ay;
... |
package com.tencent.mm.plugin.appbrand.dynamic.d;
import com.tencent.mm.ipcinvoker.extension.XIPCInvoker;
import com.tencent.mm.model.u;
import com.tencent.mm.plugin.appbrand.dynamic.d.a.a;
import com.tencent.mm.sdk.platformtools.ad;
import com.tencent.mm.u.b.b;
import com.tencent.smtt.sdk.TbsListener$ErrorCode;
impor... |
package Lista;
public class ManipuladorDaLista<T> {
private int top=-1,tamanho=15, gapAumento=5;
private T vetor[]= (T[]) new Object[this.tamanho];
protected void aumenta(int tam){
T aux[] = (T[]) new Object[tam+1];
for(int i=0;i<vetor.length;i++){
aux[i]=vetor[i];
... |
package com.framework.bean.common;
public class FileInfo {
private String name;//文件名称
private String path;//文件路径
private boolean isDirectory;//是否为目录
private boolean isFile;//是否为文件
public String getName() {
return name;
}
public String getPath() {
return path;
}
public boolean isDirectory() {
return isDi... |
import java.util.List;
import java.util.ArrayList;
import java.util.Scanner;
import java.util.Arrays;
import java.io.File;
import java.io.FileWriter;
public class Theatre implements TheatreInterface{
public final int NUM_ROWS = 10;
public final int NUM_SEATS = 20;
public Seat[][] seats;
public int seatsTaken;
pu... |
package de.propra2.ausleiherino24.service;
import de.propra2.ausleiherino24.data.UserRepository;
import de.propra2.ausleiherino24.model.Person;
import de.propra2.ausleiherino24.model.User;
import java.security.Principal;
import java.util.NoSuchElementException;
import java.util.Optional;
import org.slf4j.Logger;
impor... |
package pro.eddiecache.kits.paxos;
import java.util.HashSet;
import java.util.Set;
/**
* @author eddie
* use this class to track messages.
* All data up to that tail index is stored and accepted.
*
*/
public class MissingMessagesTracker
{
private long tail = 0;
/**
* have been received and store in.
*/
p... |
package com.sportingCenterWebApp.calendarservice.controller;
import com.sportingCenterWebApp.calendarservice.model.Event;
import com.sportingCenterWebApp.calendarservice.dto.User;
import com.sportingCenterWebApp.calendarservice.repo.EventRepository;
import com.sportingCenterWebApp.calendarservice.service.BookingService... |
package net.minecraft.entity.monster;
import java.util.UUID;
import javax.annotation.Nullable;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityCreature;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.SharedMonsterAttributes;
imp... |
package alg.graph;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
/**
* 广搜
*
* @author yang
*
*/
public class BreadthFirstSearch {
private boolean[] marked;
private int[] edgeTo;
private int s;
public BreadthFirstSearch(Graph g, int s) {
this.s = s;
marke... |
package com.qgbase.netty;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelPipeline;
import io.netty.channel.socket.SocketChannel;
import io.netty.handler.codec.string.StringDecoder;
import io.netty.handler.codec.string.StringEncoder;
import io.netty.handler.timeout.IdleStateHandler;
import o... |
package io.swagger.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.model.Category;
import java.util.ArrayList;
import jav... |
// import java.math.BigInteger;
public class Euler15 {
static int size = 20;
static long routes = 0;
public static void main(String[] args) {
move(0,0);
System.out.println("routes: "+routes);
}
public static void move(int x, int y) {
// bottom left corner ?
if (x == size && y == size) {
routes += 1... |
package com.fernamuruthi.mkuki.decoration;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.RecyclerView;
impor... |
package io.glacier.service;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import i... |
package com.spring1.Service;
/**
* com.spring1.Service
*
* @author jh
* @date 2018/8/21 16:55
* description:
*/
public class UserServiceImpl implements UserService {
@Override
public void save() {
//System.out.println ("打开事务");
System.out.println ("保存用户");
//throw new IllegalArgumentException ("aaaa");
... |
package com.tencent.mm.plugin.wear.model.e;
import android.os.Looper;
import com.tencent.liteav.network.TXCStreamUploader;
import com.tencent.mm.g.a.to;
import com.tencent.mm.g.a.tq;
import com.tencent.mm.model.au;
import com.tencent.mm.model.c;
import com.tencent.mm.model.s;
import com.tencent.mm.plugin.messenger.a.g... |
/*
* 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 dto.AttendanceDTO;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import jav... |
package model;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import config.OracleConfig;
public class MemberDao {
private static MemberDao instance = new MemberDao();
public MemberDao(){}
public... |
package com.csc214.rvandyke.assignment6application;
import android.os.Bundle;
import android.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
/**
* Rebecca V... |
package com.faisal.evaly;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class EvalyApplication {
public static void main(String[] args) {
SpringApplication.run(EvalyApplication.class, args);
}
}
|
package ctci.TreesandGraphs;
/**
* Created by joetomjob on 8/20/19.
*/
public class MimimumBST {
static TreeNode CreateMinBST(int[] array) {
return CreateMinBST(array, 0, array.length-1);
}
static TreeNode CreateMinBST(int[] array, int start, int end) {
if(end < start) {
retu... |
/**
*
*/
package org.springangularexample;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
/**
* @author manojkumar.m
*
*/
public class SpringAngularExampleServletInitializer extends SpringBootServletInitializer ... |
package display;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.geom.AffineTransform;
import decision.UserControl;
import environment.... |
/*
* [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.WebServiceProduceCrud.repository;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import com.WebServiceProduceCrud.model.Books;
@Repository
public interface BooksRepository extends CrudRepository<Books, Integer> {
Iterable<Books> findByBookid... |
package com.diozero.sampleapps;
/*-
* #%L
* Organisation: diozero
* Project: diozero - Sample applications
* Filename: MotionTest.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.erjiguan.apods.mvp.model.impl;
import com.erjiguan.apods.base.OnLoadDataListener;
import com.erjiguan.apods.mvp.model.IMainModel;
import com.erjiguan.apods.mvp.model.bean.BluetoothStatusBean;
public class MainModelImpl implements IMainModel {
@Override
public void registerBtStatusListner(final On... |
package com.dreamworks.example.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Created by mmonti on 4/20/17.
*/
@Data
@ConfigurationProperties(prefix = "wfg.neo4j")
public class Neo4jProperties {
private String domainPackage;
private String driv... |
package com.tencent.mm.wallet_core.ui.formview;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.plugin.wxpay.a.i;
import com.tencent.mm.ui.MMActivity;
import com.tencent.mm.ui.base.h;
class a$9 implements OnClickListener {
final /* synthetic */ MMActivity ixt;
a$9(MM... |
package annotator;
import java.io.File;
import java.io.IOException;
import java.util.Iterator;
import java.util.Map;
import org.apache.uima.UimaContext;
import org.apache.uima.analysis_component.JCasAnnotator_ImplBase;
import org.apache.uima.analysis_engine.AnalysisEngineProcessException;
import org.apache.uima.cas.F... |
public class BiggsDarklighter extends Character implements Pilot{
public BiggsDarklighter(){
super("Biggs Darklighter","Light Side","Rebel",false);
}
public boolean pilot(){
return true;
}
} |
/*
* Copyright (c) 2008-2019 Haulmont.
*
* 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... |
package zystudio.cases.prepare;
public class CaseForSortedHashMap {
}
|
package com.demo.sorting;
import java.util.Comparator;
public class Employee /*implements Comparable<Employee>*/ {
private int empId;
private String empName;
private int empAge;
public int getEmpId() {
return empId;
}
public void setEmpId(int empId) {
this.empId = empId;
}
public String ... |
package kr.ac.hansung.cst.recycleback.dao;
import kr.ac.hansung.cst.recycleback.model.User;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
public interface UserDao extends JpaRepository<User,String> {
User findByUsername(String username);
User findByEmail(String... |
package com.tao.logger.log;
import com.tao.logger.strategy.Strategy;
import static com.tao.logger.utils.Utils.getStackTraceString;
import static com.tao.logger.utils.Utils.isEmpty;
/**
* @project android_lib_logger
* @class name:com.nj.baijiayun.logger.log
* @describe
* @anthor houyi QQ:1007362137
* @time 2019... |
package com.sharpower.beckhoff;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.sharpower.entity.Fun;
import com.sharpower.entity.PlcType;
import com.sharpower.entity.Variable;
import com.sharpower.entity.VariableType;
import com.sharpower.scada.exception.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.