blob_id stringlengths 40 40 | language stringclasses 1
value | repo_name stringlengths 5 132 | path stringlengths 2 382 | src_encoding stringclasses 34
values | length_bytes int64 9 3.8M | score float64 1.5 4.94 | int_score int64 2 5 | detected_licenses listlengths 0 142 | license_type stringclasses 2
values | text stringlengths 9 3.8M | download_success bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|
73a24e43a1d0c32f760c3f64a4a4a8d0712e6e24 | Java | dlavilat/startsharp | /src/test/java/startsharp/stepdefinitions/CreateMeetingUnitSteps.java | UTF-8 | 2,713 | 1.976563 | 2 | [
"Apache-2.0"
] | permissive | package startsharp.stepdefinitions;
import static startsharp.navigation.Meetings.TXT_ASERTION_NAME_MEETING;
import org.openqa.selenium.WebDriver;
import io.cucumber.datatable.DataTable;
import io.cucumber.java.Before;
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;... | true |
1bfa58fa6712de4d9905bc01e13458620d622f72 | Java | MalcevaElena/IntroductionJava | /src/by/java_online/modul2/array_sorting/Task5.java | UTF-8 | 3,469 | 4.03125 | 4 | [] | no_license | package by.java_online.modul2.array_sorting;
/* Сортировка вставками.
* Дана последовательность чисел a1, a2, ..., an.
* Требуется переставить числа в порядке возрастания. Делается это следующим образом.
* Пусть a1, a2,..., ai упорядоченная последовательность, т. е. a1 <= a2 <= an.
* Берется следующее число ai+1 и ... | true |
c22235953e4c7c04aa7fb87117945565f0b818b5 | Java | quick-glitch/Ralm | /app/src/main/java/wait/list/manager/MyApplication.java | UTF-8 | 1,659 | 2.1875 | 2 | [] | no_license | package wait.list.manager;
import android.app.Application;
import android.graphics.Typeface;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import io.realm.Realm;
import io.realm.RealmConfiguration;
import wait.list.manager.utility.AppConstant;
publ... | true |
91518625c657404781231db11fd5c73ddd8e72d3 | Java | Jasonpyt/TestCode | /Code/src/com/itheima/web/servlet/LoginServlet.java | UTF-8 | 1,452 | 2.3125 | 2 | [] | no_license | package com.itheima.web.servlet;
import com.itheima.dao.UserDao;
import com.itheima.domain.User;
import com.itheima.service.UserService;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.... | true |
b88422d406a6f47fed3fb47feda66f844467a836 | Java | gaurravsh/Financial-Broker-Management | /src/test/java/com/fbm/finbrokermgmt/dao/DaoTest.java | UTF-8 | 795 | 2.140625 | 2 | [] | no_license | package com.fbm.finbrokermgmt.dao;
import static org.junit.Assert.assertTrue;
import java.util.List;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import com.fbm.finbrokermgmt.bean.BrokerService;
import com.fbm.finbrokermgmt.entity.BrokerDetails;
public class DaoTest {
@Aut... | true |
897beb99b85ce8f635eb4a2280e04e8f67979aff | Java | josecarlostrks/doisdois | /dois/src/main/java/com/mycompany/qualquer/controle/dependenteBean.java | UTF-8 | 1,888 | 1.992188 | 2 | [] | no_license | /*
* 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.mycompany.qualquer.controle;
import com.mycompany.qualquer.Dependente;
import com.mycompany.qualquer.Dependentes;
import j... | true |
d7f93084ab7c67751c60dd392b445def53b0ebdf | Java | mwarszczynski/BestBank | /src/main/java/com/example/demo/model/dto/ClientDTO.java | UTF-8 | 321 | 1.757813 | 2 | [] | no_license | package com.example.demo.model.dto;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Builder;
import lombok.Data;
@Data
@Builder
public class ClientDTO {
private long client_id;
private String firstName;
private String lastName;
@JsonIgnore
private String loginId;
}
... | true |
b730b0c69766d6017a1f43d6126fbfe885f7ec4f | Java | Rustyiller/POJ | /POJ/src/laboratorium/Studentci/2018/DeykRobert/Projekt/src/com/company/piz/Zamowienie.java | UTF-8 | 813 | 3.5625 | 4 | [] | no_license | package com.company.piz;
import java.util.ArrayList;
import java.util.List;
public class Zamowienie {
private List<Pizza> lista = new ArrayList<>();
private double koszt = 0;
private boolean dowoz = false;
public void setDowoz(){
dowoz = true;
}
public void dodajPizze(Pizza pizza){
... | true |
7e67a08b33b151478d2a50d5a8aca6ca96cc0e3c | Java | renandho/renandhoproject | /Java/spring/core-project/src/main/java/com/shop/core/constant/ContactType.java | UTF-8 | 193 | 1.695313 | 2 | [] | no_license | package com.shop.core.constant;
public enum ContactType {
EMERGENCY_PHONE,
OFFICE_PHONE,
HOME_PHONE,
MOBILE_PHONE,
MOBILE_PHONE_CDMA,
MAIL,
FAXIMILE,
BBM,
SKYPE
;
}
| true |
e6bd02c6f931800e348b03728bba75cdc9ad4d8a | Java | atem11/TT | /src/HW1.java | UTF-8 | 485 | 2.625 | 3 | [] | no_license | import java.io.IOException;
import java.util.Scanner;
import parser.Lexer;
import parser.Parser;
import tree.Tree;
public class HW1 {
public static void main(String[] args) throws IOException {
Scanner in = new Scanner(System.in);
StringBuilder input = new StringBuilder();
while (in.hasNext()) {
i... | true |
2b86b973b4c2a200ea1ee8e4d81d2fd67b6889bd | Java | danielcrean4/Dashboard | /src/NoteNode.java | UTF-8 | 677 | 3.078125 | 3 | [] | no_license |
public class NoteNode {
private String title, content;
// Constructors
public NoteNode() {
title = content = null;
}
public NoteNode(String title) {
this.title = title;
content = "(To add content, click 'edit text' button below)";
}
public NoteNode(String title, String content) {
this.title = ti... | true |
4e0526d44374ac6b3b8df443017197722db77860 | Java | voloschuk/itsource_homeworks | /src/com/sourceit/lesson3/MatrixInverter.java | UTF-8 | 1,130 | 3.5 | 4 | [] | no_license | /*
* MatrixInverter
*
* 0.0.1
*
* 2017/05/15
*
* This software is free
*/
package com.sourceit.lesson3;
import java.util.Arrays;
/**
* Inverts square Matrix.
*
* @version 0.0.1
*
* 15 May 2017
*
* @author Roman Voloschuk
*/
public class MatrixInverter {
public static void main(String[] args) {
... | true |
354b8182e7bf3a03e79df212588a6fbb3a14ce1b | Java | MilkyMiky/Android-NLU-Demo | /parser/src/main/java/coldash/easynlu/parse/tokenizers/BasicTokenizer.java | UTF-8 | 512 | 2.578125 | 3 | [] | no_license | package coldash.easynlu.parse.tokenizers;
import coldash.easynlu.parse.Tokenizer;
import java.util.Arrays;
import java.util.List;
public class BasicTokenizer implements Tokenizer {
@Override
public List<String> tokenize(String input) {
String cleaned = input.trim()
.replaceAll("[:,]", "")
.replaceAll("[... | true |
64b92b980b3ed0a6d75d42024f9977d105668735 | Java | JackChan1999/GooglePlay | /app/src/main/java/com/qq/googleplay/common/assist/FlashLight.java | UTF-8 | 2,517 | 2.390625 | 2 | [
"Apache-2.0"
] | permissive | package com.qq.googleplay.common.assist;
import android.hardware.Camera;
import android.os.Build;
import android.os.Handler;
/**
* ============================================================
* Copyright:Google有限公司版权所有 (c) 2017
* Author: 陈冠杰
* Email: 815712739@qq.com
* GitHub: https://github.com/JackChen1... | true |
c855b1117334f97cc0626f02e70ef382e41ca115 | Java | Baltan/leetcode | /src/leetcode/algorithms/PreimageSizeFZF.java | UTF-8 | 3,447 | 3.484375 | 3 | [] | no_license | package leetcode.algorithms;
/**
* Description: 793. Preimage Size of Factorial Zeroes Function
*
* @author Baltan
* @date 2020-01-11 14:23
*/
public class PreimageSizeFZF {
public static void main(String[] args) {
System.out.println(preimageSizeFZF(0));
System.out.println(preimageSizeFZF(1));... | true |
46b44f767e54e16e54f8a47eafc26efd891189c4 | Java | ragz2203/BasicAndroidApplications | /app/src/main/java/com/ragz/benchmarkapp/VibrateActivity.java | UTF-8 | 346 | 1.75 | 2 | [] | no_license | package com.ragz.benchmarkapp;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class VibrateActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activit... | true |
f74b3ca6faa4cb4b34d20a318ab61d20a9ea502c | Java | ericzhaow121/COMP90018-ParkingMate | /App/app/src/main/java/com/comp900019/MelbParking/DataManagement/ClusterRenderer.java | UTF-8 | 1,905 | 2 | 2 | [] | no_license | //package com.comp900019.MelbParking.DataManagement;
//
//import android.content.Context;
//import android.graphics.Bitmap;
//import android.graphics.PorterDuff;
//import android.graphics.drawable.Drawable;
//import android.graphics.drawable.LayerDrawable;
//import android.graphics.drawable.ShapeDrawable;
//import andr... | true |
d1ba4239cd072a8a2b0332a49a1b127c78549fad | Java | abx393/usaco-training | /src/Section 2.4/cowtour.java | UTF-8 | 5,096 | 2.6875 | 3 | [
"MIT"
] | permissive | /*
ID: abandar1
LANG: JAVA
TASK: cowtour
*/
import java.util.*;
import java.io.*;
public class cowtour2 {
public static int n;
public static int[][] pos;
public static int[] components;
public static ArrayList<ArrayList<Integer>> compList;
public static double[][] graph;
public static void main(String[] args) ... | true |
0d53ad55be247f460254908b27226ac2d96076cf | Java | butaotao/CommonLibraryProject | /incomeLibrary/src/main/java/com/dachen/incomelibrary/bean/IncomeDetailModel.java | UTF-8 | 1,386 | 1.945313 | 2 | [] | no_license | package com.dachen.incomelibrary.bean;
/**
* Created by Administrator on 2016/1/13.
*/
public class IncomeDetailModel extends BaseModel {
// {"keyYM":"2015年09月","list":[{"day":"15","money":100,"orderTypeName":"图文咨询","type":11}],"totalMoney":0,"totalNum":0}
private static final long serialVersionUID = -95127581... | true |
d389d163c768cc5b346f1aaddcf6d67561bb43d9 | Java | ygalvanetto/bankApp | /bankApp/src/java/ch/hearc/ig/odi/bankApp/beans/DetailsCompteBean.java | UTF-8 | 1,633 | 2.40625 | 2 | [] | no_license | /*
* 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 ch.hearc.ig.odi.bankApp.beans;
import ch.hearc.ig.odi.bankApp.business.Account;
import ch.hearc.ig.odi.bankApp.services.Servi... | true |
20d715c246c9719026778a896c7c6744aa73c50f | Java | zzongb/Book | /src/main/java/com/zzb/entity/Book.java | UTF-8 | 2,850 | 2.453125 | 2 | [] | no_license | package com.zzb.entity;
import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
/**
* 图书类
* @author Z
* @version 1.8
* @CreateDate 2018年3月19日 上午9:30:43
*/
public class Book implements Serializable{
/**
*
*/
private static final long serialVersion... | true |
c775609d567250f585645a023811d95680f24170 | Java | dreyna/SysH | /app/src/main/java/com/example/sysh/Login.java | UTF-8 | 2,789 | 2.28125 | 2 | [] | no_license | package com.example.sysh;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import com.example.sysh.entity.Usuario;
imp... | true |
041165e9f63ce7fe36533f173688c83d7b574e53 | Java | robinslager/Fitforlife_App | /app/src/main/java/com/example/user/fit4life/SQL_Database/SQLdatabase.java | UTF-8 | 5,716 | 2.3125 | 2 | [
"Apache-2.0"
] | permissive | package com.example.user.fit4life.SQL_Database;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
import com.example.user.fit4life.Objects.Active_... | true |
3b0f9cd25dd6f4741b59023c596f90f0e6c5e9d9 | Java | YxWuChris/Graph-Algorithm-Visualizer | /src/main/ShowCanvas.java | UTF-8 | 4,471 | 2.78125 | 3 | [
"Apache-2.0"
] | permissive | package main;
import java.util.Optional;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.control.TextInputDialog;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Pane;
import javafx.scene.layout.Priority;
import javafx.scene.paint.Color;
import... | true |
af20fa3fcb2fef8741b6c0777909b2e2d2212c30 | Java | sachinarora/QRCodeCapture | /app/src/main/java/com/qrcode/BaseActivity.java | UTF-8 | 2,867 | 1.945313 | 2 | [] | no_license | package com.qrcode;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.provider.Settings;
import android.view.View;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import com.google.android.material.snackbar.Snackbar;
import co... | true |
b73bf99ee851610cc112f0f7d3a5a5e6f196b985 | Java | bitswise/config | /src/main/java/com/bitswise/config/ConfigDeltaService.java | UTF-8 | 705 | 2.25 | 2 | [
"Apache-2.0"
] | permissive | package com.bitswise.config;
import java.util.HashMap;
import java.util.Map;
import com.bitswise.config.delta.Delta;
public class ConfigDeltaService {
/**
* maps config id to a set of its deltas
*/
private Map<String, Map<String, Delta>> configDeltas;
public ConfigDeltaService() {
configDeltas = new Has... | true |
bb76b58d694f9cef4c0dec0dbf6485dee12b91c0 | Java | lordjoe/hydra-proteomics | /gatk_tools/main/java/org/systemsbiology/gatk/SamToolsRunner.java | UTF-8 | 21,116 | 2.5 | 2 | [] | no_license | package org.systemsbiology.gatk;
import net.sf.samtools.*;
import java.io.*;
import java.util.*;
/**
* org.systemsbiology.gatk.SamToolsRunner
* User: Steve
* Date: 6/1/12
*/
public class SamToolsRunner {
public static final SamToolsRunner[] EMPTY_ARRAY = {};
public static File[] inclu... | true |
22fc89ac9b792ed6e9c0b18767b438b595de4b34 | Java | BlackSharkCZE/q13kamoskal87 | /src/main/java/net/airtoy/ares/jaxb/PriznakZmeny.java | UTF-8 | 2,565 | 2.046875 | 2 | [] | no_license | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.... | true |
78b55a9e442878bba441149c0e8e32435c7c6028 | Java | imrandev/goalkik | /app/src/main/java/com/codzunk/goalkik/data/repository/DatabaseRepo.java | UTF-8 | 381 | 1.96875 | 2 | [] | no_license | package com.codzunk.goalkik.data.repository;
import com.codzunk.goalkik.controllers.firebase.DatabaseRefController;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.ValueEventListener;
public interface DatabaseRepo extends ValueEventListener {
DatabaseRepo init(DatabaseRe... | true |
78badb70e72bd07c4a1efbb2f1b0146c934560d9 | Java | jackjzy/msbstydy | /ruoyi-system/src/main/java/com/ruoyi/system/service/impl/FfwyOrderCombomealPlanServiceImpl.java | UTF-8 | 3,195 | 1.953125 | 2 | [] | no_license | package com.ruoyi.system.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.common.utils.cos.CosUtil;
import com.ruoyi.system.domain.combomealorders.FfwyOrderCombomealPlan;
import com.ruoyi.system.mapper.combomealorders.FfwyOrderCombomealPlanMapper;
import org.springframewor... | true |
7b5684f7528a13c00dddf46160c95a709994a3eb | Java | elinformatico/learning-spring-jpa | /src/main/java/net/elinformatico/service/jpa/CategoriasService.java | UTF-8 | 677 | 2.109375 | 2 | [] | no_license | package net.elinformatico.service.jpa;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Sort;
import org.springframework.stereotype.Service;
import net.elinformatico.model.Categoria;
import net.elinformatico.repository.CategoriasRepository;
... | true |
2560dad1ea2f947d4c8f026be3bad5b25ad282cf | Java | sjpanda/mdoc-ejb | /MDOC-EJB-Client-Diallo-Shu/src/controllers/ContactGroupController.java | UTF-8 | 6,626 | 2.1875 | 2 | [] | no_license | package controllers;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import javax.faces.event.ComponentSystemEvent;
import javax.naming.InitialContext;
import ... | true |
3f30d693f49b7ed58f9ed7259d1a0551c64ffbdc | Java | HubertYoung/AcFun | /acfun5_7/src/main/java/tv/acfun/core/model/bean/RegionHeaderAndBottomContent.java | UTF-8 | 514 | 1.578125 | 2 | [] | no_license | package tv.acfun.core.model.bean;
import com.alibaba.fastjson.annotation.JSONField;
import java.io.Serializable;
public class RegionHeaderAndBottomContent implements Serializable {
@JSONField(name = "action")
public int actionId;
@JSONField(name = "ad")
public int ad;
@JSONField(name = "color")
... | true |
b5de676584ee38715c57468df4361eecd3fcd1f2 | Java | ZoranLi/thunder | /com/alibaba/sdk/android/feedback/xblink/view/a.java | UTF-8 | 3,927 | 1.867188 | 2 | [] | no_license | package com.alibaba.sdk.android.feedback.xblink.view;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.text.TextUtils;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view.anim... | true |
198b6dca5596e2bbac0d0b9c86beac64c56614df | Java | rodrigoclira/ia-algoritmos-geneticos | /project-full/src/ia/facol/ga/selection/parents/impl/RandomParentSelection.java | UTF-8 | 847 | 2.84375 | 3 | [] | no_license | package ia.facol.ga.selection.parents.impl;
import ia.facol.ga.genetic.Gene;
import ia.facol.ga.selection.parents.ParentSelection;
import java.util.List;
public class RandomParentSelection extends ParentSelection{
@Override
public Gene select(List<Gene> genes, Gene mother) {
Gene geneChosen = null;
int value ... | true |
518f9d60c5e8c01d7e493bebc6f37d719959c083 | Java | manojppatil/SmartShopee_delivery | /app/src/main/java/com/global/technolabs/smartshopee_delivery/MainActivity.java | UTF-8 | 3,729 | 1.976563 | 2 | [] | no_license | package com.global.technolabs.smartshopee_delivery;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;
import androidx.viewpager.widget.ViewPager;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Bundle;
import an... | true |
5c74126c68165674912a2ed8c49a8d5dba3f2a89 | Java | ryanhantruong/MazeGame | /java/hanscott/cs301/cs/wm/edu/amazebyhanscott/falstad/BasicRobot.java | UTF-8 | 23,829 | 3.140625 | 3 | [] | no_license | package hanscott.cs301.cs.wm.edu.amazebyhanscott.falstad;
import hanscott.cs301.cs.wm.edu.amazebyhanscott.falstad.MazeController.UserInput;
import hanscott.cs301.cs.wm.edu.amazebyhanscott.generation.CardinalDirection;
import hanscott.cs301.cs.wm.edu.amazebyhanscott.generation.Cells;
import hanscott.cs301.cs.wm.edu.a... | true |
ec38ba08a45530cee90243226468b9e0e50e84e0 | Java | chengMC/refillCard | /src/main/java/com/mc/refillCard/entity/LogInformation.java | UTF-8 | 2,551 | 2.0625 | 2 | [] | no_license | package com.mc.refillCard.entity;
import java.io.Serializable;
import java.util.Date;
/****
* @Author: MC
* @Description:Log构建
* @Date 2020-5-29 9:55:47
*****/
public class LogInformation implements Serializable{
private Long id;//主键
private String userName;//当前登录人
private Long userId;//登录人ID
private Long... | true |
32167363020eccfce05248f8fc4df26df219cea0 | Java | RepoForks/com.snapchat.android | /src/com/snapchat/android/analytics/framework/ScAnalyticsEventEngineStatic$9.java | UTF-8 | 1,168 | 1.828125 | 2 | [] | no_license | package com.snapchat.android.analytics.framework;
import java.util.concurrent.atomic.AtomicBoolean;
final class ScAnalyticsEventEngineStatic$9
implements Runnable
{
ScAnalyticsEventEngineStatic$9(int paramInt, long paramLong1, long paramLong2) {}
public final void run()
{
DatabaseHelper localDatabaseHe... | true |
3bae14f7425fa5b2daa7af30c21d22383535fb3b | Java | XiaoHuiHui96/study | /src/com/mvc/loginAction.java | GB18030 | 545 | 2.25 | 2 | [] | no_license | package com.mvc;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* ½ķ
* Դµ½ǰ
* ص½ĵַ
* @author Administrator
*
*/
public class loginAction implements Action {
@Override
public String Methods(HttpServletRequest request, HttpServletResponse resp) {... | true |
2c1696087a60b4d9dcfa33d32a024b58f4a645f5 | Java | neit98/WorkflowS | /Workflow_S/app/src/main/java/com/example/workflow_s/ui/history/HistoryContract.java | UTF-8 | 747 | 1.953125 | 2 | [] | no_license | package com.example.workflow_s.ui.history;
import com.example.workflow_s.model.Notification;
import java.util.List;
/**
* Workflow_S
* Created by TinhPV on 2019-07-25
* Copyright © 2019 TinhPV. All rights reserved
**/
public interface HistoryContract {
interface HistoryPresenter {
void getActivitie... | true |
1104777292b85d1b79f5f8f6cd76c4e6db0e19af | Java | deegree/deegree2-desktop | /src/main/java/org/deegree/igeo/views/swing/monitor/CommandMonitorPanel.java | UTF-8 | 6,154 | 1.828125 | 2 | [] | no_license | //$HeadURL$
/*---------------- FILE HEADER ------------------------------------------
This file is part of deegree.
Copyright (C) 2001-2008 by:
Department of Geography, University of Bonn
http://www.giub.uni-bonn.de/deegree/
lat/lon GmbH
http://www.lat-lon.de
This library is free software; you can... | true |
69e0564787020c674b4c0273713e2b6a0d51323b | Java | protreptic/PsrProductivity | /PsrProductivity/src/ru/magnat/sfs/bom/cache/promo/PromoTotalChangedListener.java | UTF-8 | 140 | 1.828125 | 2 | [] | no_license | package ru.magnat.sfs.bom.cache.promo;
public interface PromoTotalChangedListener {
public void onPromoTotalChanged(Promo promo);
}
| true |
6289be4117e125e9491f72584fab0a6a6fca6c9c | Java | dsfca/AASMA | /SCN/src/main/java/general/SCN.java | UTF-8 | 2,904 | 2.703125 | 3 | [] | no_license | package general;
import java.io.IOException;
import java.sql.Timestamp;
import java.time.Instant;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import org.ini4j.InvalidFileFormatException;
import agentes.IMA;
import agentes.MA;
import agentes.MPA;
import agentes.OMA;
import agentes.PPA;
... | true |
649b1893cc5cbf4d4dc0f04d4414fd8c615d68f1 | Java | suevip/pay-9 | /src/com/aotu/service/mobile/impl/ApiMobileService.java | UTF-8 | 2,136 | 2.140625 | 2 | [] | no_license | package com.aotu.service.mobile.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.aotu.entity.Customer;
import com.aotu.entity.token.AuthCodeToken;
import com.aotu.service.ICu... | true |
989768127df15b49fbcba4986cbb722e8257203a | Java | Milosh87/It-Bootcamp-Homeworks | /09052019/Baza.java | UTF-8 | 9,074 | 3.265625 | 3 | [] | no_license | /*2. Направити методу која на основу унетих вредности у базу уписује Студента
метода:
dodajStudenta(int indeks,String ime,String prezime,LocalDate datumUpisa,LocalDate datumRodjenja,String mestoRodjenja){
...
} // Treba samo da doda studenta na osnovu ovih informacija,ne mora da cini dodatne provere
Hint (Ovako... | true |
d60976c782d353a0dc9a1c7f476cb2ede2163c8e | Java | utFarabi/Banitro | /app/src/main/java/com/sm/banitro/data/model/seller/Seller.java | UTF-8 | 3,563 | 1.617188 | 2 | [] | no_license | package com.sm.banitro.data.model.seller;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
public class Seller {
@SerializedName("nickname")
@Expose
private String nickname;
@SerializedName("rich_editing")
@Expose
priva... | true |
bd979cbed70eacebb2432a7b030a14ed4430afda | Java | erdaldalkiran/shopping-cart-kata | /spring-boot/src/main/java/com/erdaldalkiran/cart/domain/campaign/CampaignRepository.java | UTF-8 | 167 | 1.726563 | 2 | [] | no_license | package com.erdaldalkiran.cart.domain.campaign;
import java.util.concurrent.Future;
public interface CampaignRepository {
Future<Void> add(Campaign category);
}
| true |
f2a549a4598c9af4751ca21914930532f94fe3db | Java | cvsekhar/modeldb | /backend/src/main/java/ai/verta/modeldb/job/JobServiceImpl.java | UTF-8 | 8,089 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | package ai.verta.modeldb.job;
import ai.verta.modeldb.CreateJob;
import ai.verta.modeldb.DeleteJob;
import ai.verta.modeldb.GetJob;
import ai.verta.modeldb.Job;
import ai.verta.modeldb.JobServiceGrpc.JobServiceImplBase;
import ai.verta.modeldb.ModelDBAuthInterceptor;
import ai.verta.modeldb.ModelDBConstants;
import ai... | true |
82073ee6f275817caeceb421c7e22846934b04fc | Java | CodecoolMSC2016/java-waste-recycling-in-an-oop-way-davidszilagyi | /Garbage.java | UTF-8 | 187 | 2.765625 | 3 | [] | no_license | public class Garbage {
String garbageName;
public Garbage(String garbageName) {
this.garbageName = garbageName;
}
public String getName() {
return this.garbageName;
}
}
| true |
03d80bd4c71886343c2720a6dde52131351898cb | Java | chenyibin/Algorithms | /tests/chenyibin/interview/compress/TestBinaryInput.java | UTF-8 | 3,550 | 2.859375 | 3 | [] | no_license | package chenyibin.interview.compress;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import org.junit.Assert;
import org.junit.Test;
import chenyibin.interview.compress.BinaryInput;
public class TestBinaryInput
{
@Test
public void testReadBytes()
{
byte[] buff = {(byte) 0x... | true |
a42ef8a882dfba4f978090c59a6107e479c2c6bd | Java | bmulvihill/RouterProgram | /src/routerprogram/RoutingServer.java | UTF-8 | 5,955 | 2.71875 | 3 | [] | no_license | /*
* Routing Server accepts updates and passes them to Routing Updater
*/
package routerprogram;
import java.io.*;
import java.net.*;
import java.util.*;
/**
*
* @author bmulvihill
*/
public class RoutingServer extends Thread {
private int serverPort = Config.getInstance().serverPort;
public Routing... | true |
c3bffd98aab26f80b1d7fc8f49f65ead90b65fc6 | Java | frmasson/MADprojet | /src/mad/views/VuePartie.java | UTF-8 | 94,471 | 2.5625 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package mad.views;
import java.awt.Color;
import java.awt.Image;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import mad.cards.Card;
import mad.cards.CardSet;
imp... | true |
b6709eb15344b2ae8aafe6825faeec3b598f23e9 | Java | pgolash/Codechef | /src/Design/Practice/SpreadSheet/Commands/PasteCommand.java | UTF-8 | 650 | 2.46875 | 2 | [] | no_license | package Design.Practice.SpreadSheet.Commands;
import Design.Practice.SpreadSheet.Commands.ICommand;
import Design.Practice.SpreadSheet.UI.UIElement;
/**
* Created by prashantgolash on 9/26/15.
*/
public class PasteCommand implements ICommand {
public boolean execute(UIElement element) {
// Store previou... | true |
c3b85e1b7c9aae2bd5b03bdac856f992f29a9b45 | Java | livcoding/CLXRegistration_OLD | /src/java/com/jilit/irp/persistence/dto/ScholarshipApplicants.java | UTF-8 | 4,038 | 1.976563 | 2 | [] | no_license | package com.jilit.irp.persistence.dto;
// Generated May 6, 2011 11:20:07 AM by Hibernate Tools 3.2.1.GA
import java.util.Date;
/**
* ScholarshipApplicants generated by hbm2java
*/
public class ScholarshipApplicants implements java.io.Serializable {
private ScholarshipApplicantsId id;
private Scholarsh... | true |
531288acb14f2a5c364c7fd16415b6848addb8be | Java | JackyCheungCode/wpcleaner | /WikipediaCleaner/src/org/wikipediacleaner/api/check/algorithm/a5xx/a56x/a565/CheckErrorAlgorithm565.java | UTF-8 | 6,810 | 2.359375 | 2 | [
"Apache-2.0"
] | permissive | /*
* WPCleaner: A tool to help on Wikipedia maintenance tasks.
* Copyright (C) 2013 Nicolas Vervelle
*
* See README.txt file for licensing information.
*/
package org.wikipediacleaner.api.check.algorithm.a5xx.a56x.a565;
import java.util.Collection;
import java.util.List;
import org.apache.common... | true |
15ec13b4573176fda4f9a843bcf188dd0bef50d9 | Java | jmarg30/PC03Rios | /app/src/main/java/com/movileii/isil/pc03_rios/servicios/impl/UsuarioServiceImpl.java | UTF-8 | 1,026 | 2.1875 | 2 | [] | no_license | package com.movileii.isil.pc03_rios.servicios.impl;
import android.content.res.AssetManager;
import com.movileii.isil.pc03_rios.daos.UsuarioDao;
import com.movileii.isil.pc03_rios.daos.impl.DaoFactory;
import com.movileii.isil.pc03_rios.daos.impl.UsuarioDaoImplFile;
import com.movileii.isil.pc03_rios.entidades.Usuari... | true |
6d2b7b26e53de557a5aa16e5a8f07f1caa44a6bc | Java | davidgreens/intellij-community | /python/educational-python/student-python/src/com/jetbrains/edu/learning/PyStudyPluginConfigurator.java | UTF-8 | 1,211 | 2.28125 | 2 | [
"Apache-2.0"
] | permissive | package com.jetbrains.edu.learning;
import com.intellij.openapi.actionSystem.DefaultActionGroup;
import com.intellij.openapi.project.Project;
import com.jetbrains.edu.learning.courseFormat.Course;
import org.jetbrains.annotations.NotNull;
public class PyStudyPluginConfigurator extends StudyBasePluginConfigurator {
... | true |
56e83fa53df67513c65a6710852a37bc9c548568 | Java | tbekker1/ScoreboardSimulator | /src/tb/archc/scoreboard/functionalUnits/FloatDividerFU.java | UTF-8 | 988 | 3.015625 | 3 | [] | no_license | package tb.archc.scoreboard.functionalUnits;
import tb.archc.scoreboard.Operation;
import tb.archc.scoreboard.storage.FpRegister;
/**
* Class FloatDividerFU:
*
* This is a child class of FunctionalUnit that deals with the Floating Point Divider Functional Unit
*
* Sets the count to complete execution to 40, an... | true |
2d3ddc9b40a7f3f8e8766e30b2264059a990613f | Java | sgruicic/RxPokemon | /app/src/main/java/co/infinum/rxpokemon/ui/search/di/SearchComponent.java | UTF-8 | 266 | 1.554688 | 2 | [] | no_license | package co.infinum.rxpokemon.ui.search.di;
import co.infinum.rxpokemon.ui.search.SearchPokemonActivity;
import dagger.Subcomponent;
@Subcomponent(modules = SearchModule.class)
public interface SearchComponent {
void inject(SearchPokemonActivity activity);
}
| true |
2e380ae0024bc376ab84af289cab6f6a7e1b8382 | Java | masakitk/napoleon | /src/napoleon/Runner.java | UTF-8 | 963 | 2.40625 | 2 | [] | no_license | package napoleon;
import napoleon.model.player.ManualPlayer;
import napoleon.model.player.Player;
import napoleon.model.role.Director;
import napoleon.model.rule.Table;
import napoleon.view.ConsoleViewer;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class Runner {
publ... | true |
2508dd32ae6ecfd3fcc8959d14467d72060e2fa9 | Java | mustafaguven/idfx | /idefix/app/src/main/java/tr/com/idefix/android/view/activities/NotifyPaymentActivity.java | UTF-8 | 4,456 | 1.773438 | 2 | [] | no_license | package tr.com.idefix.android.view.activities;
import android.app.Activity;
import android.app.DatePickerDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.AppCompatSpinner;
import android.support.v7.widget.Toolbar;
import android.text.TextUtils;
import android.widget.Dat... | true |
9876ac7ec456871b3a13cb96604b2c03d8a944ef | Java | aafdarweesh/NetworkExperienceSimulator | /src/entity/Server.java | UTF-8 | 793 | 2.796875 | 3 | [] | no_license | package entity;
import java.io.Serializable;
import java.util.ArrayList;
@SuppressWarnings("serial")
public class Server implements Serializable{
// Calculate all possible paths for all nodes, depending on the changes occurred
// to the system
public ArrayList<ArrayList<Integer>> CalculatePossiblePath... | true |
749d0e4fd86f285fb77b0a33d6ac2267d2f88376 | Java | Dinexpod/MateAcademy | /src/homeworks/hw2/transport/CarWheel.java | UTF-8 | 897 | 3.40625 | 3 | [] | no_license | package homeworks.hw2.transport;
public class CarWheel {
private double tireState;
private int index = 0;
public double getTireState() {
return tireState;
}
public CarWheel() {
if (tireState == 0) {
tireState = 1;
}
}
public CarWheel(double tireState) ... | true |
2d31809634f81d82bbd51695a1b59f493c50990d | Java | rjimenezda/MedievalSword | /TexturePacker/src/Packer.java | UTF-8 | 398 | 2.328125 | 2 | [] | no_license | import com.badlogic.gdx.tools.imagepacker.TexturePacker;
import com.badlogic.gdx.tools.imagepacker.TexturePacker.Settings;
public class Packer
{
public static void main(String[] args)
{
Settings settings = new Settings();
settings.padding = 2;
settings.maxWidth = 1024;
settings.maxHeight = 1024;
settings.... | true |
1cd4f26ec13f2ca962827697515bfaeec99ea8e1 | Java | harshit2704/MyMatrimonial | /app/src/main/java/com/expertwebtech/PeopleMatrimonial/LogSign.java | UTF-8 | 1,525 | 2.140625 | 2 | [] | no_license | package com.expertwebtech.PeopleMatrimonial;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentPagerAdapter;
import androidx.viewpager.widget.ViewPager;
import android.os.Bundle;
import android.vie... | true |
b3b6fec9c05388db1cef1c04367e7ecaddbccccc | Java | knightsu/leetcode | /IdeaProjects/leetcode/src/wordbreak.java | UTF-8 | 962 | 3.0625 | 3 | [] | no_license | import java.util.HashSet;
import java.util.Set;
/**
* Created by yingyang on 2/27/17.
*/
public class wordbreak {
public static boolean iswordbreak(String s, Set<String> dict)
{
boolean[] t = new boolean[s.length()+1];
t[0] = true;
for(int i=0; i<s.length();i++)
{
... | true |
159453d2ed073294dfe9a6367ab29cf0541493e9 | Java | AnaNikolic/NWTiS | /anikolic_zadaca_3/anikolic_zadaca_3_1/src/java/org/foi/nwtis/anikolic/ejb/sb/AirplanesFacade.java | UTF-8 | 3,454 | 1.976563 | 2 | [] | no_license | /*
* 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.foi.nwtis.anikolic.ejb.sb;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.List;
import ja... | true |
0f72df1210f25e246c24d8d496f93a13338c5fd2 | Java | silarion/SpringCRUDJpaMVC | /SpringCRUDJpaMVC/src/main/java/com/intech/model/Cut.java | UTF-8 | 2,100 | 2.015625 | 2 | [] | no_license | package com.intech.model;
import java.io.Serializable;
import javax.persistence.*;
import java.util.List;
/**
* The persistent class for the CUT database table.
*
*/
@Entity
@Table(name="CUT")
@NamedQuery(name="Cut.findAll", query="SELECT c FROM Cut c")
public class Cut implements Serializable {
p... | true |
6060f09c12c6025b823dd6145be9a49f67cc2850 | Java | tjsthiago/estudo-thread | /src/main/java/br/com/thread/exemplos/ExecutorServiceExample.java | UTF-8 | 1,043 | 3.0625 | 3 | [] | no_license | package br.com.thread.exemplos;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import br.com.thread.model.ExemploCallable;
... | true |
b992a5e8c956ac592833d333ec5b0a9d8db89556 | Java | xiaoma61/fuyaweb | /fuya-service/src/main/java/com/fuya/fuyaservice/impl/CHOOSEServiceImpl.java | UTF-8 | 1,200 | 2.046875 | 2 | [] | no_license | package com.fuya.fuyaservice.impl;
import com.fuya.fuyadao.dao.CHOOSERepository;
import com.fuya.fuyadao.entity.CHOOSE;
import com.fuya.fuyadao.model.AdminProblemAnswer;
import com.fuya.fuyaservice.CHOOSEService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotyp... | true |
1d3e4a35c7ac20344e76a608665102e6b2e86a2a | Java | ground0start/EECS132-Java-Projects | /Bond.java | UTF-8 | 2,100 | 3.625 | 4 | [] | no_license | /* Ming Zhuang Presented
* A class represents an asset which is a loan from a government or corporation*/
public class Bond extends Asset {
/* A field stores the principle of the bond*/
private final int principal;
/* A field stores the interest rate of the bond*/
private double interestRat... | true |
65f8bee94faa3f2b91bb33ed3332417d3254e463 | Java | rosetti/movie-base | /src/main/java/inputOutput/XMLWriter.java | UTF-8 | 5,487 | 2.578125 | 3 | [] | no_license | package inputOutput;
import movieControl.Movie;
import resources.Logger;
import java.io.File;
import java.util.ArrayList;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.*;
import javax.xml.tr... | true |
eaa6713c7a735de2bca5e0e1e7a203874bbd090b | Java | lsumx/compress_and_decompress | /src/TempNode.java | UTF-8 | 318 | 2.71875 | 3 | [] | no_license | class TempNode implements Comparable<TempNode>{
public byte uch;
public int weight;//频度
@Override
public int compareTo(TempNode tempNode){
if (this.weight<tempNode.weight)
return 1;
else if (this.weight>tempNode.weight)
return -1;
return 0;
}
}
| true |
9a7a1d055a0d366b9a2c955293bb29ec999223bc | Java | marianbuenosayres/drools-playground | /sprint-management-case-cdi/src/test/java/com/plugtree/training/SprintManagementCDITest.java | UTF-8 | 13,520 | 2.28125 | 2 | [] | no_license | package com.plugtree.training;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.jboss.weld.environment.se.Weld;
import org.jboss.weld.environment.se.WeldContainer;
import org.jbpm.services.task.utils.ContentMarshallerHelper;
import org.junit.After;
import o... | true |
80767c2f31068fbcff8690de69705827762b0809 | Java | Jotschi/mesh | /api/src/main/java/com/gentics/mesh/MeshEnv.java | UTF-8 | 325 | 1.96875 | 2 | [
"Apache-2.0"
] | permissive | package com.gentics.mesh;
public final class MeshEnv {
public static String CONFIG_FOLDERNAME = "config";
static {
String customConfDir = System.getProperty("mesh.confDirName");
if (customConfDir != null) {
CONFIG_FOLDERNAME = customConfDir;
}
}
public static final String MESH_CONF_FILENAME = "mesh.yml... | true |
e0f1550c8a4cfbd12a29b15ea33d58ee768206dc | Java | 4XWi11/Project3 | /app/src/main/java/com/example/project3/MainActivity.java | UTF-8 | 9,930 | 2.421875 | 2 | [] | no_license | package com.example.project3;
import static java.lang.Math.pow;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.provider.Settings;
import android.view.View;
import android.widget.Button;
import android.widget.Radi... | true |
5fdff6de27289f40e2e0754a023dd9ea84ceac68 | Java | matisyo/Bombita | /bombita/src/game/model/characters/LopezReggaeAlado.java | UTF-8 | 454 | 2.515625 | 3 | [] | no_license | package game.model.characters;
import game.model.Character;
import game.model.CharacterLopezReggaeAlado;
import game.model.Position;
import game.model.AladoStrategy;
import game.model.bombs.BombMolotov;
public class LopezReggaeAlado implements CharacterFactory {
public Character create(Position position){
Characte... | true |
2180d9b5a2552906a61b06207aeaf549b0d97284 | Java | ayoupov/asd | /app/utils/media/bbcode/substitutes/complex/GridUtil.java | UTF-8 | 795 | 2.671875 | 3 | [] | no_license | package utils.media.bbcode.substitutes.complex;
/**
* Created with IntelliJ IDEA.
* User: ayoupov
* Date: 10.09.2015
* Time: 19:55
*/
public class GridUtil
{
protected static final int colWidth = 100;
protected static final int colGutterWidth = 20;
public static int gridWidth(int from, int to, boolea... | true |
2d4094f3f6153e75b4dacf24246a3f0ef06f22e6 | Java | lucaskano/api-imdb | /api-server/src/main/java/br/com/lucaskano/api/external/imdb/parser/impl/ExternalImdbParserImpl.java | UTF-8 | 1,786 | 2.5 | 2 | [] | no_license | package br.com.lucaskano.api.external.imdb.parser.impl;
import br.com.lucaskano.api.external.imdb.model.ExternalImdbResponse;
import br.com.lucaskano.api.external.imdb.model.Movie;
import br.com.lucaskano.api.external.imdb.parser.ExternalImdbParser;
import br.com.lucaskano.api.logger.ApiCustomLog;
import com.google.in... | true |
027263d5b8b3ebdf51e46b8ba776deba2e4a61b9 | Java | coralexbadea/iLaboratory | /ilaboratory/src/main/java/com/example/ilaboratory/service/impl/LaboratoryServiceImpl.java | UTF-8 | 1,052 | 2.140625 | 2 | [] | no_license | package com.example.ilaboratory.service.impl;
import com.example.ilaboratory.domain.Laboratory;
import com.example.ilaboratory.repository.LaboratoryRepository;
import com.example.ilaboratory.service.LaboratoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.... | true |
0bbd9d55201b00fac86826e8aa7ba26c3f86c564 | Java | rifqird98/Water-Monitoring | /app/src/main/java/skripsi/com/Fragment_level/ContractorView.java | UTF-8 | 494 | 2.453125 | 2 | [] | no_license | package skripsi.com.Fragment_level;
public class ContractorView {
public ContractorView(){
}
String waktu, Data;
public ContractorView(String waktu, String data) {
this.waktu = waktu;
Data = data;
}
public String getWaktu() {
return waktu;
}
public void setWaktu(Str... | true |
128e6e67528003ae7f4c402e0ee86afadea5e828 | Java | prism-hr/old-prism-server | /src/main/java/uk/co/alumeni/prism/domain/profile/ProfileDocument.java | UTF-8 | 368 | 1.625 | 2 | [] | no_license | package uk.co.alumeni.prism.domain.profile;
import uk.co.alumeni.prism.domain.document.Document;
public interface ProfileDocument<T extends ProfileEntity<?, ?, ?, ?, ?, ?, ?, ?>> extends ProfileSection<T> {
String getPersonalSummary();
void setPersonalSummary(String personalSummary);
Document... | true |
ab3f1d745c10dd868743f5d498c1ad911b1f0b61 | Java | maulikdadhaniya/javainventory | /src/com/minimouse/model/StockInTxn.java | UTF-8 | 990 | 2.09375 | 2 | [] | no_license | package com.minimouse.model;
import java.util.Date;
public class StockInTxn {
private int stockInId;
private int productId;
private int clientId;
private int quantity;
private int poPrice;
private Date createdDate;
public int getStockInId() {
return stockInId;
}
public void setStockInId(int stockInId) {
... | true |
3fd603a95ef285eccbdd5ba650dd211436e67a7b | Java | mickkong/ffms | /src/main/java/com/finance/service/TradeService.java | UTF-8 | 669 | 1.921875 | 2 | [] | no_license | package com.finance.service;
import java.util.List;
import java.util.Map;
import com.finance.entity.Trade;
public interface TradeService {
/**
* 查询流水账
* @param map
* @return
*/
public List<Trade> findTrade(Map<String,Object> map);
/**
* 获取流水账记录数
* @param map
* @return
*/
public Long getTotalTra... | true |
d348fd1385307a5230300bf3b43728bd12952232 | Java | bellmit/LMM | /configuration/generated/wsi/remote/microsoft/bingmaps/geocodeservice2/types/complex/ConfidenceFilter.java | UTF-8 | 3,471 | 1.640625 | 2 | [] | no_license | /* Generated by Guidewire XML Code Generator */
package wsi.remote.microsoft.bingmaps.geocodeservice2.types.complex;
@javax.annotation.Generated("gw.xml.codegen.XmlCodeGenerator")
@gw.lang.SimplePropertyProcessing
@gw.xml.annotation.SuperTypeData(wsi.remote.microsoft.bingmaps.geocodeservice2.types.complex.FilterBase.... | true |
bd7eb9269f5dd14f3d40ecd753341a7f229c1c65 | Java | saurabh958/NeoSTORE | /app/src/main/java/com/example/saurabhneostore/model/RateModel.java | UTF-8 | 1,455 | 2.390625 | 2 | [] | no_license | package com.example.saurabhneostore.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class RateModel {
@SerializedName("status")
@Expose
private Integer status;
@SerializedName("data")
@Expose
private Rate_Data data;
@SerializedNa... | true |
4d8c878d8724271bc9d144b55cea5cdfe2cd1f76 | Java | xmxm666/ydy_departments | /src/main/java/com/ydy/application/service/department/impl/DepartmentsDeviceServiceImpl.java | UTF-8 | 2,102 | 2.03125 | 2 | [] | no_license | package com.ydy.application.service.department.impl;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.ydy.application.dto.department.DepartmentsDeviceDTO;
import com.ydy.application.entity.department.DepartmentsRBDP;
import com.ydy.application.entity.department.DepartmentsSection;
import com.ydy.applic... | true |
1723d7b5b1731bae2998917721bbabbf5949d54b | Java | sichengde/sygd-3.0 | /restaurant/src/main/java/com/sygdsoft/service/SzReportService.java | UTF-8 | 1,307 | 2.15625 | 2 | [] | no_license | package com.sygdsoft.service;
import org.springframework.stereotype.Service;
/**
* Created by Administrator on 2016/10/6 0006.
*/
@Service
public class SzReportService {
/*public void getAllPrinter() throws Exception {
JasperPrint jasperPrint = JasperFillManager.fillReport("C:/report/cookRoom.jasper",... | true |
9276d77a4c94bee697497eb23cca78eaedd61fd2 | Java | danieldizzy/sdetu-training | /src/algorithms/BinarySearch.java | UTF-8 | 746 | 3.640625 | 4 | [] | no_license | package algorithms;
public class BinarySearch {
public static int binarySearch(int[] dataSet, int target, int start, int end) {
System.out.println("Searching between " + dataSet[start] + " and " + dataSet[end]);
int midpoint = (int) Math.floor(((start + end) / 2));
int value = dataSet[mid... | true |
146ba35cd08b87ed1425964cef83edf515fc0076 | Java | tangchaolibai/mvp | /yours-dev-jenkins/mvp-ms-ticket/src/main/java/com/hsb/mvpmsticket/mapper/FilmScheduleMapper.java | UTF-8 | 767 | 1.90625 | 2 | [] | no_license | package com.hsb.mvpmsticket.mapper;
import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.annotations.Select;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hsb.mvpmsticket.model.entity.FilmSchedule;
public interface FilmScheduleMapper extends BaseMapper<FilmSchedule> {
... | true |
010fd284eeaf975e94789eedd5cbb579fcc21ab3 | Java | alexandraback/datacollection | /solutions_2652486_0/java/sunnyn/KSet.java | UTF-8 | 2,650 | 2.78125 | 3 | [] | no_license | import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class KSet {
static int N;
static long[] p;
static int[] m;
public static void main(Str... | true |
40e9b2e639f852cca5a5448b0eec6e43f07afec1 | Java | GuoYabin130/Spring | /src/test/java/com/baizhi/test/TestFactory.java | UTF-8 | 2,821 | 2.375 | 2 | [] | no_license | package com.baizhi.test;
import com.baizhi.dao.UserDAO;
import com.baizhi.entity.Order;
import com.baizhi.entity.User;
import com.baizhi.factorybean.MyConnection;
import com.baizhi.service.Service;
import org.apache.ibatis.session.SqlSessionFactory;
import org.junit.Test;
import org.springframework.context.Application... | true |
d2b29f61187ffcfbd5ac8bf24001ccc0d118a0fe | Java | gogilubana/CrimeLab | /src/java/com/crimelab/controller/PhysicalIdentificationController.java | UTF-8 | 7,757 | 1.9375 | 2 | [] | no_license | package com.crimelab.controller;
import com.crimelab.domain.MacroEtching;
import com.crimelab.domain.PiReport;
import com.crimelab.service.AssignmentService;
import com.crimelab.service.PiService;
import com.crimelab.service.MacroEtchingService;
import java.io.IOException;
import java.text.DateFormat;
import java.text... | true |
807a0af0304875bbfbdf334d81ed10f00a8746be | Java | SLYJason/OJ-ALG | /src/main/java/LeetCode/LC_1_200/LC106/Solution.java | UTF-8 | 1,112 | 3.1875 | 3 | [] | no_license | package LeetCode.LC_1_200.LC106;
import Shared.TreeNode;
import java.util.Map;
import java.util.HashMap;
public class Solution {
int[] inorder;
int[] postorder;
int post_idx; // index of postorder to traverse from the end.
Map<Integer, Integer> inorder_index = new HashMap(); // K: TreeNode value, V: v... | true |
c601a1ffe01e0f8c65d36271cd8b21b004c29540 | Java | dg5921096/Books-solutions | /Big-Java-for-Everyone-Late-Objects-Horstmann/Chapter-9-Inheritance-and-Interfaces/FillInQuestion.java | UTF-8 | 728 | 4.03125 | 4 | [] | no_license | import java.util.Scanner;
/* P9.2 Add a class FillInQuestion to the question hierarchy of Section 9.1. Such a question is
constructed with a string that contains the answer, surrounded by _ _ , for example,
"The inventor of Java was _James Gosling_" . The question should be displayed as
The inventor of Java was... | true |
39dcd16bddc8eb53246e579d88be9620bb66be35 | Java | jstrachan/guicey | /test/com/google/inject/GenericInjectionTest.java | UTF-8 | 5,993 | 1.992188 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright (C) 2006 Google 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... | true |
13cb4743b96c26657417931552773ea53f6287c3 | Java | Lunran/DesignPatternForJava | /builder/src/test/java/com/sample/HTMLBuilderTest.java | UTF-8 | 1,447 | 3.046875 | 3 | [
"Zlib"
] | permissive | package com.sample;
import junit.framework.TestCase;
public class HTMLBuilderTest extends TestCase {
HTMLBuilder html_builder;
public void setUp() {
html_builder = new HTMLBuilder();
}
public void testOpenAndClose() {
html_builder.open("Greeting");
StringBuilder sb = new StringBuilder("<html><head><title... | true |
16bc716a47a058a96bc92d3c5f502204275a11cb | Java | Good-Old-Living/app-platform | /ui/UI-Faces/src/main/java/meru/ui/faces/renderer/html/component/panel/HtmlPanelGridSectionRenderer.java | UTF-8 | 694 | 2.28125 | 2 | [] | no_license | package meru.ui.faces.renderer.html.component.panel;
import meru.ui.faces.tag.component.panel.PanelGridSection;
public class HtmlPanelGridSectionRenderer extends HtmlPanelGridRenderer {
public HtmlPanelGridSectionRenderer() {
super("div");
}
@Override
protected boolean preRe... | true |
d8574cbc64b136529207756a6b2c2eebf919e904 | Java | panagosg7/Android-NoSleep | /com.ibm.wala.core/src/com/ibm/wala/ssa/SSAArrayLengthInstruction.java | UTF-8 | 2,958 | 2.140625 | 2 | [] | no_license | /*******************************************************************************
* Copyright (c) 2002 - 2006 IBM Corporation.
* 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 a... | true |