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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
a4f3c7e829a1f1d15e57beb976db2409c34a1aaf | Java | zhongxingyu/Seer | /Diff-Raw-Data/24/24_0c6f57f47a9871bd58efc53c518c76b3d5ee07c6/RoundRawDao/24_0c6f57f47a9871bd58efc53c518c76b3d5ee07c6_RoundRawDao_t.java | UTF-8 | 6,008 | 2.1875 | 2 | [] | no_license | package fr.vinsnet.compteurtarot.dao.raw;
import java.util.Date;
import java.util.List;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
import fr.vinsnet.compteurtarot.dao.RoundDao;... | true |
09468cb9535ce58f6808ace073b8267076090a44 | Java | joy32812/leetcode | /src/com/leetcode/P1103_DistributeCandiestoPeople.java | UTF-8 | 850 | 3.1875 | 3 | [] | no_license | package com.leetcode;
public class P1103_DistributeCandiestoPeople {
/**
* easy
* n is small, so brute force is working
* @param candies
* @param num_people
* @return
*/
public int[] distributeCandies(int candies, int num_people) {
int n = num_people;
if (n == 1)... | true |
a6afe8c1df078683e7f7aefde66f99a0e70a8653 | Java | DanBrowly/URI-Online-Judge-Problems-in-Java | /1080-Highest and Position.java | UTF-8 | 382 | 3.265625 | 3 | [] | no_license | import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
int tmp = 0;
int position = 0;
for(int i = 1; i <= 100; i++) {
int num = scan.nextInt();
if(num > tmp) {
tmp = num;
position = i;
}
}
Syst... | true |
62acfa92ea5eab4e8d6a6082740524ec2fb2ed98 | Java | rajlaxman2000/javatraningcourse | /CoreJavaBatch2Training/src/com/basic/classes/Student.java | UTF-8 | 791 | 3.3125 | 3 | [] | no_license | package com.basic.classes;
public class Student {
private String sName;
private int sNo;
private int age;
/**
* @return the sName
*/
public String getsName() {
return sName;
}
/**
* @param sName the sName to set
*/
public void setsName(String sName) {
this.sName = sName;
}
... | true |
6efb705f9d955348673104cc9c56706a9f4789ee | Java | leitiannian/TicktockMusic | /data/src/main/java/com/lauzy/freedom/data/net/interceptor/CacheInterceptor.java | UTF-8 | 2,266 | 2.484375 | 2 | [
"Apache-2.0"
] | permissive | package com.lauzy.freedom.data.net.interceptor;
import android.annotation.SuppressLint;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import java.io.IOException;
import okhttp3.CacheControl;
import okhttp3.Interceptor;
import okhttp3.Request;
import okhttp3.R... | true |
7a06b235a2b53aa7ce8ff1d2e06412dc063cb803 | Java | kubas1129/ProgramowanieObiektoweJAVA | /Lab10/src/main/java/pl/edu/agh/kis/java2015/domain/Heap.java | UTF-8 | 2,125 | 3.578125 | 4 | [] | no_license | package pl.edu.agh.kis.java2015.domain;
import java.util.ArrayList;
public class Heap {
private int heapSize = 0;
private ArrayList<Double> tab = new ArrayList<>();
public void insert(double value) {
int currentIndex = heapSize;
int parentIndex = parentIndex(currentIndex);
tab.add(value);
while( isChildG... | true |
3515014ca4766729856c560f6ef9f459cf083b05 | Java | ndslab-unipa/SecureBallot | /Evoting/Poll/src/main/java/poll/model/Poll.java | UTF-8 | 3,092 | 2.921875 | 3 | [] | no_license | package poll.model;
import java.util.ArrayList;
import model.AbstrModel;
import model.Procedure;
import model.State.StatePoll;
import poll.view.viewmodel.BallotResult;
//import utils.Logger;
/**
* Classe Model del modulo Poll. Contiene tutti i dati permanenti, utili allo svolgimento delle operazioni di spoglio (lis... | true |
83ff5e43f11b00345cfe0a0fe7ca944ce197f6fe | Java | jessie517/ClassFileAnalyze | /src/com/analyze/basic/accessFlag/bean/FieldAccessBean.java | UTF-8 | 3,325 | 2.625 | 3 | [] | no_license | package com.analyze.basic.accessFlag.bean;
import com.analyze.basic.accessFlag.FieldAccessFlagAnalyze;
/**
* Created by chenjiaxu on 2017/10/27.
*/
public class FieldAccessBean {
public static final int ACC_PUBLIC = 0X0001;
public static final int ACC_PRIVATE = 0X0002;
public static final int ACC_PROTEC... | true |
74540791e27cea56c82224895deee28a65793c8b | Java | zacklacanna/AstraCore | /AstariaPvp - Main/src/me/BoyJamal/astaria/listeners/WaterBreathingPerk.java | UTF-8 | 564 | 2.40625 | 2 | [] | no_license | package me.BoyJamal.astaria.listeners;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerMoveEvent;
import me.BoyJamal.astaria.utils.MainUtils;
public class WaterBreathingPerk implements Listener {
@EventHandler
public vo... | true |
8280f1f4dc826024b273d8504691d82542ce43b4 | Java | geistxyz/xyz_degree | /common_interfaces/src/edu/umss/devportal/common/reports/LineDataStructure.java | UTF-8 | 1,653 | 2.828125 | 3 | [] | no_license | /*
* @(#)LineDataStructure.java
*/
package edu.umss.devportal.common.reports;
/**
* @author Edson
* @version 1.0
*
* Represents the structure needed to generate a LineDataStructure
*/
public class LineDataStructure implements DataStructure{
private int value;
private String domainAxis;
private Stri... | true |
886f38f8d3d844251e794bb51a2cee5bb9425bf3 | Java | txtdis/txtdis | /txtdis-parent/mgdc-gsm-parent/txtdis-edms-mgdc-gsm/src/main/java/ph/txtdis/repository/EdmsSalesOrderDetailRepository.java | UTF-8 | 703 | 1.914063 | 2 | [] | no_license | package ph.txtdis.repository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import ph.txtdis.domain.EdmsSalesOrderDetail;
@Repository("edmsSalesOrderDetailRepository")
public interface EdmsSalesOrderDetailRepository //
extends ReferencedRepository<E... | true |
1adc56cc7a6504f6f690b4905ae73b8d0d815c66 | Java | alfayu6799/YHYHealthy | /app/src/main/java/com/example/yhyhealthy/datebase/EducationData.java | UTF-8 | 3,828 | 2.421875 | 2 | [] | no_license | package com.example.yhyhealthy.datebase;
import android.text.TextUtils;
import com.google.gson.Gson;
import java.util.List;
public class EducationData {
private List<ServiceItemListBean> serviceItemList;
public List<ServiceItemListBean> getServiceItemList() {
return serviceItemList;
}
pub... | true |
c11e56a06e40eef4b64487e78056968c6f723496 | Java | ACLXRD/Contigo | /ContigoApp/src/main/java/usa/modelo/dao/ConversatoriosDao.java | UTF-8 | 5,152 | 2.25 | 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 usa.modelo.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLE... | true |
7a34bc320772b9c44b13d969861dbe2d8580339d | Java | cddd2nhom3/CDDD2_nhom3 | /app/src/main/java/com/example/admin/myapplication/Adapter/MyAdapterHot.java | UTF-8 | 1,683 | 2.375 | 2 | [] | no_license | package com.example.admin.myapplication.Adapter;
import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import com.example.admin.myapplication.Object.ThuocTinh;
import com.example.adm... | true |
dd5571449e1e1b4a91d654eb4ff2ab468d2e7741 | Java | Pitoontakoonpol/Java | /java/02.Java1/05.EXCEPT/ThrowTest.java | UTF-8 | 854 | 3.453125 | 3 | [
"MIT"
] | permissive | class SumDivideDiffException extends Exception {
public int x, y;
SumDivideDiffException(int x, int y) {
super("SumDivideDiff Exception");
this.x = x;
this.y = y;
}
}
class ThrowTest {
public static void main(String[] args) {
try {
int i = sumDivideDiff(8, 4)... | true |
ad5d9df2b94cfc4884a41478e9fc3d2c906b3284 | Java | lqaxx7799/lqa-social-media-api | /src/main/java/com/example/demo/model/Post.java | UTF-8 | 2,940 | 2.09375 | 2 | [] | no_license | package com.example.demo.model;
import java.io.Serializable;
import javax.persistence.*;
import org.hibernate.annotations.Type;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import java.util.Date;
import java.util.List;
/**
* The persiste... | true |
717cad62e257eba5eb9cc4ad2f563ae1889f8ec2 | Java | lawrence-kim/crime_heat_map | /semi_JDBC2/src/main/java/com/springlec/semi_JDBC/controller/BController.java | UTF-8 | 3,903 | 2.0625 | 2 | [] | no_license | package com.springlec.semi_JDBC.controller;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.... | true |
c2c32460abcec36860f5a3699bfb12e39498d300 | Java | zhuhongguang/thinkinginjavatest | /thinkinginjava/src/twenty_one/EvenGenerator.java | UTF-8 | 362 | 2.4375 | 2 | [] | no_license | package twenty_one;
public class EvenGenerator extends IntGenerator{
private int currentEvenValue=0;
public int next(){
++currentEvenValue;
++currentEvenValue;
return currentEvenValue;
}
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
EvenChe... | true |
e3bb4a13f00a5149dc1941cfdbdb001fe47c60e4 | Java | xinsec/ckhd | /opengame/.svn/pristine/9d/9d1f0b2782fe3295be87fe15a91af73a71d55bef.svn-base | UTF-8 | 1,496 | 2.234375 | 2 | [] | no_license | package me.ckhd.opengame.online.request.alipay;
import java.util.Iterator;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import me.ckhd.opengame.online.request.BasePayCallBackRequest;
public class PayCallBackRequest extends BasePayCallBackRequest {
public PayCallBackRequest(String _code,Ht... | true |
af19651f6dafb167ed6aaa295dc922e8554fdb4e | Java | rmd13/imglib2-imaris-bridge | /src/main/java/com/bitplane/xt/ImarisSource3D.java | UTF-8 | 3,133 | 1.96875 | 2 | [
"BSD-2-Clause"
] | permissive | /*-
* #%L
* Expose the Imaris XT interface as an ImageJ2 service backed by ImgLib2.
* %%
* Copyright (C) 2019 - 2021 Bitplane AG
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of sou... | true |
968aaf96c59a4c074e626c7889e8ca573e3bc539 | Java | andreilorin/FullStack-CI | /WebSite/trade/src/service/UserService.java | UTF-8 | 146 | 1.796875 | 2 | [] | no_license | package service;
import java.util.List;
import entity.Customer;
public interface UserService {
List<Customer> getCustomers();
}
| true |
06bfe09e8d92be83b9b3ae541e6d72d593efdabb | Java | xeraph/kraken | /pcap/kraken-smb-decoder/src/main/java/org/krakenapps/pcap/decoder/smb/trans2struct/queryfsstruct/SmbQueryFsAttributeInfo.java | UTF-8 | 1,909 | 2.515625 | 3 | [] | no_license | package org.krakenapps.pcap.decoder.smb.trans2struct.queryfsstruct;
import org.krakenapps.pcap.decoder.netbios.NetBiosNameCodec;
import org.krakenapps.pcap.decoder.smb.SmbSession;
import org.krakenapps.pcap.decoder.smb.TransStruct;
import org.krakenapps.pcap.util.Buffer;
import org.krakenapps.pcap.util.ByteOrder... | true |
295cc3e485d509a62eed1eae1401f765ed28921b | Java | dbautista102/LABORATORIO_POO | /PRIMER PARCIAL/LPOO_P1_01/CAPITULO4/src/ProgrammingExercises/Circle.java | UTF-8 | 742 | 3.25 | 3 | [] | no_license | package ProgrammingExercises;
/*
* 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.
*/
import java.lang.Math;
/**
*
* @author bautista
*/
public class Circle {
private Double radius;
p... | true |
7ab9776fc483aa86f4492798425397c60980fc0a | Java | AndersonFCanel/ALURA-JAVA_Collections | /src/br/com/alura/TestaComparacaoStrings.java | ISO-8859-1 | 686 | 3.78125 | 4 | [] | no_license | package br.com.alura;
public class TestaComparacaoStrings {
public static void main(String[] args) {
String s1 = "paulo";
String s2 = "silveira";
int resultado = s1.compareTo(s2);
System.out.println(resultado);
/*
* COMO FAZER A COMPARAO:
*
* @Override
* public int compareT... | true |
1499f747940b4fdbcfba94c707708a950cad717d | Java | iver62/cinema-back | /src/main/java/org/sid/controller/AwardController.java | UTF-8 | 2,168 | 2.296875 | 2 | [] | no_license | package org.sid.controller;
import org.sid.service.AwardService;
import org.sid.domain.entities.Award;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Sort;
import org.... | true |
069277a9155807b1e816263bb63fc1eb77413303 | Java | compomics/searchgui | /src/main/java/eu/isas/searchgui/cmd/FastaCLIInputBean.java | UTF-8 | 3,225 | 2.75 | 3 | [
"Apache-2.0"
] | permissive | package eu.isas.searchgui.cmd;
import java.io.File;
import org.apache.commons.cli.CommandLine;
/**
* This class contains the information necessary for running the FastaCLI.
*
* @author Marc Vaudel
* @author Harald Barsnes
*/
public class FastaCLIInputBean {
/**
* The path settings.
... | true |
3646d7d78a9dcffed47a51ad24e2c012503ab620 | Java | pk07an/soa-demo | /meila_meigou_soa/soa-order/soa-order-api/src/main/java/com/meila/soa/order/api/model/response/DubboOrderStatusStatResponse.java | UTF-8 | 2,718 | 1.71875 | 2 | [] | no_license | package com.meila.soa.order.api.model.response;
import com.meila.dubbo.base.model.DubboBasicResponse;
/**
*
************************************************************
* @类名 : DubboOrderStatusStatResponse.java
*
* @DESCRIPTION : 订单统计返回结果
* @AUTHOR : yongqi
* @DATE : 2016-5-20
*****************************... | true |
9e9063db32bdb52415c47b3fc323cb9d543b1b63 | Java | djoudjou/berangere-planner | /src/main/java/fr/djoutsop/berangere/planner/akka/message/CrudMessages.java | UTF-8 | 747 | 1.984375 | 2 | [] | no_license | package fr.djoutsop.berangere.planner.akka.message;
public class CrudMessages {
public static class CreationSucces implements Message {
private static final long serialVersionUID = 1L;
public final String id;
public CreationSucces(final String id) {
this.id = id;
}
}
public static class ModificationSu... | true |
32dbd61643046535eac9b981b188ec49c39c35a3 | Java | ArRomanov/maxilect_test_task | /src/main/java/factories/WebDriverFactory.java | UTF-8 | 1,030 | 2.34375 | 2 | [] | no_license | package factories;
import io.github.bonigarcia.wdm.WebDriverManager;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
import org.openqa.selenium.firefox.FirefoxDriver;
import java.util.HashMap;
import java.util.Map;
public class We... | true |
25fa9680c5b7d51f0d72cac484b0aaf56df78911 | Java | weishihuai/imallCloudc | /iportal/iportal-core/src/main/java/com/imall/iportal/core/main/log/dicts/LogColumnTypeEnum.java | UTF-8 | 1,260 | 2.453125 | 2 | [] | no_license | package com.imall.iportal.core.main.log.dicts;
import com.imall.commons.dicts.GlobalExt;
import com.imall.commons.dicts.ICodeEnum;
/**
* User: ygw
* Date: 17-8-29
*/
public enum LogColumnTypeEnum implements ICodeEnum {
/**
* 正常
*/
NORMAL("NORMAL", "正常"),
/**
* 主键
*/
PRIMARY_K... | true |
e6a7157f02aefc7e9017af1fe9469acbf55bf152 | Java | BADLZ/ICD | /Sockets-ICD/src/main/Main.java | UTF-8 | 224 | 1.625 | 2 | [] | no_license | package main;
import Graphics.SceneManager;
import Server.Server;
public class Main {
public static void main(String args[]) {
new Server().start();
new SceneManager();
new SceneManager();
new SceneManager();
}
}
| true |
d860057b8c9babea88377df7d4b503d99d197615 | Java | vespa-engine/vespa | /container-search/src/main/java/com/yahoo/prelude/hitfield/ImmutableFieldPart.java | UTF-8 | 1,411 | 2.5625 | 3 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.hitfield;
/**
* Represents an element of a hit property which is an immutable string element
*
* @author Steinar Knutsen
*/
public class ImmutableFieldPart implements FieldPart {
... | true |
9d7d039d826b13ff8bbf184cc3e2c012a26f249b | Java | jscotty/scottyadventur | /src/my/game/moveAbleObjects/PlayerStats.java | UTF-8 | 4,375 | 2.484375 | 2 | [] | no_license | package my.game.moveAbleObjects;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.util.concurrent.CopyOnWriteArrayList;
import my.game.main.Assets;
import my.game.main.SaveLoadData;
import my.game.references.WorldData;
import my.game.references.WorldNames;
import my.game.state.Leve... | true |
ecf00d617bc55fd462e2e407c9acd1562db3ae66 | Java | manishladkat29/Test-Automation-Framework | /src/testCases/Driver.java | UTF-8 | 1,294 | 2.15625 | 2 | [] | no_license | /*##############################################################################
'Class Name: Driver.java
'Description:
'Prepared By: Minhaj Bakhsh
'Prepared On: 07/22/2015
'Updated By:
'Updated On:
'##############################################################################*/
package testCases;
import java.util... | true |
04ed8b699ee6be333141a22e9ad3892073a0ba71 | Java | esswa19/myfirstapp | /myfirstapp/src/main/java/utilities/readPropfile.java | UTF-8 | 966 | 2.875 | 3 | [] | no_license | package utilities;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;
public class readPropfile {
Properties prop = new Properties();
public void readPropData(String path)
{
File file = n... | true |
343949e279a6f181669237bd4c5638794a1a9da2 | Java | Sandhyasivaji/CourierManagemenetSystem | /CourierManagementSystem/src/main/java/service/PasswordEncryptor.java | UTF-8 | 799 | 2.921875 | 3 | [] | no_license | package service;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class PasswordEncryptor {
private static PasswordEncryptor INSTANCE = new PasswordEncryptor();
public static PasswordEncryptor getInstance() {
return INSTANCE;
}
private PasswordEncryptor() {
}
pub... | true |
b09c71932787e7f63d31c0306de8b8144774c0fd | Java | FrecelHawk/business | /src/cn/caregg/o2o/business/engine/http/base/BaseRequestHandler.java | UTF-8 | 1,536 | 2.21875 | 2 | [] | no_license | package cn.caregg.o2o.business.engine.http.base;
import java.io.UnsupportedEncodingException;
import org.apache.http.entity.StringEntity;
import cn.caregg.o2o.business.app.BusinessApplication;
import com.google.gson.Gson;
import com.lidroid.xutils.http.RequestParams;
import com.lidroid.xutils.http.callback.RequestC... | true |
6819077d98d6bf249b84b159bfafd2912360dea8 | Java | luis-ibanez/test_canchi | /ejercicios/src/ejercicios/Matrices/MatricesYVectoresParalelos3.java | UTF-8 | 1,823 | 4.03125 | 4 | [] | no_license | package ejercicios.Matrices;
import java.util.Scanner;
public class MatricesYVectoresParalelos3 {
private Scanner teclado = new Scanner(System.in);
private int[][] matriz;
private int fila, columna;
public void cargaMatriz() {
System.out.println("Introduce la cantidad de filas.");
fil... | true |
8b0e4823673f67a9583c6f577cb66ffa21236322 | Java | abstractionLevel/ReporektBackend | /src/main/java/com/example/ReportPlayer/repository/token/VerificationTokenBaseRepository.java | UTF-8 | 593 | 2.015625 | 2 | [] | no_license | package com.example.ReportPlayer.repository.token;
import com.example.ReportPlayer.models.token.VerificationToken;
import com.example.ReportPlayer.models.user.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository("verification_token_repositor... | true |
498611864d3b74351f3d035fbceccef4b2bcd992 | Java | hackathon-cyinsurtech/Sleeping-Sloth | /insuredme/src/main/java/com/sleepingsloth/insuredme/dao/PhotoRepository.java | UTF-8 | 375 | 1.820313 | 2 | [] | no_license | package com.sleepingsloth.insuredme.dao;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.query.Param;
import com.sleepingsloth.insuredme.domain.Photo;
public interface PhotoRepository extends CrudRepository<Photo, Long> {
public Iterable<Photo> findByQuoteRequ... | true |
f511609a5c8a6652e08df4b9fdcee957c240f654 | Java | JanakarM/Api | /src/java/servlet/AddEmp.java | UTF-8 | 1,147 | 2.3125 | 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 servlet;
import java.sql.*;
import java.util.Iterator;
import org.json.JSONObject;
/**
*
* @author Janakar-PT1585
*/
publi... | true |
561de11abfe69aa434575911be54145b1d812f97 | Java | WOWEunji/JAMExample | /src/taskManager/utility/CommunicationUtility.java | UTF-8 | 2,565 | 2.375 | 2 | [] | no_license | package taskManager.utility;
import kr.ac.uos.ai.arbi.agent.ArbiAgent;
import kr.ac.uos.ai.arbi.model.GLFactory;
import kr.ac.uos.ai.arbi.model.GeneralizedList;
import kr.ac.uos.ai.arbi.model.parser.ParseException;
import taskManager.TaskManager;
import taskManager.TaskManagerDataSource;
public class Communi... | true |
19bc462b8c110a3a06b7e2ceb43d5858dc21a3cd | Java | cansou/mtool | /light/light/com/easyctrl/ldy/net/ISocketResponse.java | UTF-8 | 115 | 1.773438 | 2 | [
"Apache-2.0"
] | permissive | package com.easyctrl.ldy.net;
public interface ISocketResponse {
void onSocketResponse(byte[] bArr, int i);
}
| true |
8e9df524021f2825621000778cc5fc809128e673 | Java | dermetfan/zanbox | /core/src/de/macbury/zanbox/screens/LoadingScreen.java | UTF-8 | 580 | 2.296875 | 2 | [] | no_license | package de.macbury.zanbox.screens;
import de.macbury.zanbox.Zanbox;
import de.macbury.zanbox.screens.menu.BaseMenuScreen;
import de.macbury.zanbox.ui.stage.LoadingStage;
/**
* Created by macbury on 26.05.14.
*/
public class LoadingScreen extends BaseMenuScreen {
public LoadingScreen() {
super(new LoadingStag... | true |
09beb397b41f9fc025067c2785f41f657f88fed3 | Java | husseyr/operatingsystems | /memoryallocator/src/memoryallocator/MemoryAllocator.java | UTF-8 | 692 | 2.71875 | 3 | [] | no_license | /**
*
*/
package memoryallocator;
import java.util.LinkedList;
import memoryallocator.ui.MainUI;
import memoryallocator.util.Fields;
import memoryallocator.util.Job;
import memoryallocator.util.Partition;
/**
* @author Rob Hussey
*
*/
public class MemoryAllocator {
private static final int DEFAULT_MEMORY_SIZE... | true |
5bee30206e9b5ceeb61b249a34bac3e8c130a2db | Java | haozm/legooframework | /com.legooframework.upload/src/main/java/com/legooframework/model/upload/service/AbstractBaseServer.java | UTF-8 | 801 | 2.109375 | 2 | [] | no_license | package com.legooframework.model.upload.service;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
public abstract class AbstractBaseServer implements ApplicationContextAware {
protected <T> T getBean(Class<T> clazz) {
return appCtx... | true |
2f5bd0ec641e6882aaff433bcf3e7cacac6c7caf | Java | sohaibsalman/chat_application | /src/com/ChatApplication/Client/ClientDriver.java | UTF-8 | 508 | 1.898438 | 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.ChatApplication.Client;
import java.sql.Timestamp;
import java.util.Date;
/**
*
* @author sohai
*/
publi... | true |
073e54020d19a9aa409b7acff2b2a983dd8fad59 | Java | gkj/data-structure-algorithm-java | /src/graph/DepthFirstPaths.java | UTF-8 | 3,247 | 3.578125 | 4 | [] | no_license | package graph;
import java.io.File;
import java.util.Scanner;
import datastructure.HashMap;
import datastructure.Stack;
public class DepthFirstPaths<T>
{
private HashMap<T, Boolean> marked; // marked[v] = true if v is reachable
// from s
private HashMap<T, T> edgeTo; // edgeTo[v] = last edge on path from... | true |
56a6873f1356f04eb87cab201e2905793f9d4d69 | Java | imolainformatica/bootique-camel-samples | /src/main/java/it/imolinfo/cura/tubo/receiver/ProcessRouteBuilder.java | UTF-8 | 1,485 | 2 | 2 | [] | no_license | package it.imolinfo.cura.tubo.receiver;
import it.imolinfo.cura.tubo.Configuration;
import it.imolinfo.cura.tubo.processor.Inflate;
import org.apache.camel.Exchange;
import org.apache.camel.LoggingLevel;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.model.dataformat.Base64DataFormat;
public cl... | true |
bf48836812a715aa60a5f827a7a1a2d200865585 | Java | kavya427/Collectionsbatch1 | /Collection/src/ListIterator1.java | UTF-8 | 394 | 3.484375 | 3 | [] | no_license | import java.util.*;
public class ListIterator1
{
public static void main(String[] args)
{
ArrayList<Integer> a=new ArrayList<>(Arrays.asList(1,2,3,4,5));
ListIterator<Integer> iterator=a.listIterator();
while(iterator.hasNext())
{
System.out.println(iterator.next());
}
while(iterator.hasPr... | true |
056b30b2eba212ef90358e4ee041acc1342c1eba | Java | PatriciaLocatelli/features-java | /src/feature11/IsBlank.java | UTF-8 | 348 | 3.015625 | 3 | [] | no_license | package feature11;
public class IsBlank {
public static void main(String[] args) throws Exception {
System.out.println(" ".isBlank());
System.out.println("Qualquer coisa".isBlank());
String s1 = "Qualquer coisa aqui";
System.out.println(s1.isBlank());
System.out.println("... | true |
03b95e886b9596fa3d1a448c151af0249b8fd454 | Java | pojozhang/playground | /solutions/java/src/main/java/playground/algorithm/SelectionSort.java | UTF-8 | 426 | 3.296875 | 3 | [
"MIT"
] | permissive | package playground.algorithm;
import static playground.util.Utils.swap;
public class SelectionSort {
public void sort(int[] nums) {
for (int i = 0; i < nums.length - 1; i++) {
int min = i;
for (int j = i + 1; j < nums.length; j++) {
if (nums[j] < nums[min]) {
... | true |
708ab3866fd37751a060d38276e8ded2218ff4b5 | Java | astadipati/retrofit-recycler-view | /app/src/main/java/info/androidboss/retrofit/activity/MainActivity.java | UTF-8 | 2,623 | 2.46875 | 2 | [] | no_license | package info.androidboss.retrofit.activity;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.BottomNavigationView;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import ... | true |
c1c48b39405610c00302afdf1ec615fa527336e9 | Java | Wistake/DaeProject | /AcademicManagement-ejb/src/java/dtos/AdministratorDTO.java | UTF-8 | 878 | 2.25 | 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 dtos;
import javax.xml.bind.annotation.XmlRootElement;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Se... | true |
389037d6ce930dd230f120538e02061d03bac2fe | Java | liujiye/LiuApiDemo | /app/src/main/java/com/liu/apidemo/entity/recyclerview/PostList.java | UTF-8 | 330 | 2.015625 | 2 | [] | no_license | package com.liu.apidemo.entity.recyclerview;
import android.support.annotation.NonNull;
import me.drakeet.multitype.Items;
/**
* recycleView 多类型数据
*/
public class PostList
{
public Items items;
public int currentPosition;
public PostList(@NonNull Items posts)
{
this.items = posts;
}
}
| true |
2e658c474a708658685a876f178a2838ab83f4f3 | Java | 1170300523/code | /Java/Rabin-Karp/src/animal/Speakable.java | UTF-8 | 264 | 2.75 | 3 | [] | no_license | package animal;
public interface Speakable {
int a = 5;
String name = "ll";
void talk();
void speak();
static void Speakable(){
System.out.println("speak");
}
static void haha(){
System.out.println("haha");
}
}
| true |
0bf62e39426faef47a2f7799f9d982433a6652ef | Java | MariyaR/StudentProject | /student-project/common-types/src/main/java/edu/javacourse/third/domain/Pair.java | UTF-8 | 826 | 2.453125 | 2 | [] | no_license | package edu.javacourse.third.domain;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
/**
* Created by maria on 11/04/17.
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootEl... | true |
0814d9b9a089ada9e1e00266e7e2e98f01fd99b7 | Java | akz792000/Labforward | /src/main/java/com/labforward/project/web/mapper/BaseMapper.java | UTF-8 | 172 | 1.867188 | 2 | [] | no_license | package com.labforward.project.web.mapper;
/**
* @author Ali Karimizandi
* @since 2021
*/
public interface BaseMapper<E, T> {
T toDTO(E entity);
E toEntity(T dto);
}
| true |
698339a92ad977c2b5b3acf6bd732eae3dba6f30 | Java | Guy-Erne/Concurrent-Parallel-Programming | /Activity 4/cpp3/part1/Car.java | UTF-8 | 1,672 | 3.328125 | 3 | [] | no_license | import java.io.Serializable;
// class represents a car
public class Car implements Serializable {
// car's attributes
private String registration, make;
private int price, mileage;
private boolean forSale;
// constructs the Car using the given attributes
public Car(String registratio... | true |
acf5f1deaade545c2e213dab5ff279a01d1d4c99 | Java | HKMOpen/ReWallet | /walletapp/ReWallet/src/main/java/com/imusic/rewallet/widgets/LoginDialog.java | UTF-8 | 729 | 2.109375 | 2 | [] | no_license | package com.imusic.rewallet.widgets;
import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import com.imusic.rewallet.R;
public class LoginDialog extends Dialog{
private Context _context;
public LoginDialog(Context context, int theme) {
super(context, theme);
this._context = c... | true |
68b183c2b35cb18be083d7bad0057c70f5027419 | Java | 07gaura/pinch | /app/src/main/java/com/example/textpinchzoom/MainActivity.java | UTF-8 | 1,715 | 2.484375 | 2 | [] | no_license | package com.example.textpinchzoom;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.widget.TextView;
import org.w3c.dom.Text;
public class MainActivity extends AppCompatActivity implements View.OnTouchListener {
... | true |
218649fad5ac12dfd85879f25c3d1e1dae352aa7 | Java | masroorbhatti/F21AS-2014-CW2 | /src/model/Item.java | UTF-8 | 2,548 | 3.125 | 3 | [] | no_license | package model;
import Backup.Global;
public class Item implements Comparable<Item> {
private String itemname;
private String categorydetail;
private double price;
/***
* Public default constructor for Item class
*/
public Item(){
itemname="";
categorydetail ="";
price = 0.0;
... | true |
48549ebb7b28ce07e51deb499d85fdc7b87b8a88 | Java | csy0617/WebBookManageSystem | /src/com/book/servlet/SearchBookServlet.java | UTF-8 | 1,228 | 2.25 | 2 | [] | no_license | package com.book.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class SearchBookSer... | true |
c7548d5461ef60f11435ddff4a17b79a7f6ed0d8 | Java | xschao/FlowerShope | /src/main/java/cn/jjxy/controller/AdminController.java | UTF-8 | 684 | 2.046875 | 2 | [] | no_license | package cn.jjxy.controller;
import cn.jjxy.service.AdminService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMappin... | true |
20a4c98ade27e9c157fcdbaefbcaf6d820733898 | Java | Delores-W/demo-modules | /demo-module-001-base/src/main/java/compare/Test.java | UTF-8 | 11,909 | 3.46875 | 3 | [] | no_license | package compare;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
/**
* @author William
* @date 2020/9/17 2:33 PM
* @description
*/
public class Test {
public static void main(String[] args) {
Integer[] array = new I... | true |
55197a932adce149d1ba35e3b988d5fc1e2fe524 | Java | chbitar/PFUMLOT1 | /src/main/java/com/planeta/pfum/repository/NoteMasterRepository.java | UTF-8 | 619 | 2.015625 | 2 | [] | no_license | package com.planeta.pfum.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import com.planeta.pfum.domain.NoteMaster;
/**
* Spring Data repository for the NoteMast... | true |
936fd24ba10362a1aa45f0f1147f7d14d11b0589 | Java | LewisBeau/eANTS_Java | /src/com/eants/robots/RobotManager.java | UTF-8 | 7,796 | 2.734375 | 3 | [] | no_license | package com.eants.robots;
import com.eants.gui.RobotPanel;
import com.eants.gui.UpdateListener;
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.Collections;
/**
* Created by lewis on 02/09/2017.
*
* This class is responsib... | true |
476458fbf278ccc83400f01583a1de11e74d48bc | Java | Antonia-1030/Proekt-y2 | /Kursov proekt vB/src/figures/Elf.java | UTF-8 | 1,204 | 3.125 | 3 | [] | no_license | package figures;
import java.awt.*;
public class Elf extends Piece {
public static int HP=10;
public static int ATTACK=5;
public static int DEFENCE=1;
public static int SPEED=3;
public static int RANGE=3;
public static boolean isDead=false;
public Elf(int row, int col, Color c... | true |
15dcc82ab68b1d902cf200dda9f53f3f7efc953c | Java | zhongyouyq/footprint | /src/com/aj/footprint/model/po/TMoveLog.java | UTF-8 | 1,573 | 2.359375 | 2 | [] | no_license | package com.aj.footprint.model.po;
import java.io.Serializable;
import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* 调班日志
* @a... | true |
c8f60eecc2603ae3f3ba25f6ae2be4559d944c73 | Java | YoonSung/2014-01-HUDI-ROLLINGPUPPY | /rollingPuppy/src/main/java/com/puppy/dto/Message.java | UTF-8 | 1,524 | 2.28125 | 2 | [] | no_license | package com.puppy.dto;
import java.sql.Timestamp;
public class Message {
private int id;
private int tblChatRoomId;
private int tblMemberId;
private String message;
private long month;
private long day;
private String time;
private String week;
private long isMyMessage;
public long getIsMyMessage() {
... | true |
ce8d4efb2d97457bfac3fa2e8e3e9ee19d1c35d4 | Java | ajithmoorthy/PractoOrderHealthProducts | /src/main/java/org/atmecs/practo/testbase/TestBase.java | UTF-8 | 1,714 | 2.21875 | 2 | [] | no_license | package org.atmecs.practo.testbase;
import java.io.IOException;
import java.util.Properties;
import org.atmecs.practo.contstants.FileConstants;
import org.atmecs.practo.utils.ExcelReader;
import org.atmecs.practo.utils.PropertiesReader;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDri... | true |
0dc54169bd84a945351c9d07b560e23a612b9e4c | Java | vanderson22/cursomc | /src/main/java/br/com/casa/services/validation/ClienteInsertValidator.java | UTF-8 | 2,440 | 2.5 | 2 | [] | no_license | package br.com.casa.services.validation;
import java.util.ArrayList;
import java.util.List;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import org.springframework.beans.factory.annotation.Autowired;
import br.com.casa.dominio.Cliente;
import br.com.casa.dominio.D... | true |
331326dd6da68aed071a97b2ae0fd821099e714f | Java | epam/eco-commons-kafka | /src/main/java/com/epam/eco/commons/kafka/serde/JsonStringDeserializer.java | UTF-8 | 2,652 | 2.203125 | 2 | [
"Apache-2.0"
] | permissive | /*******************************************************************************
* Copyright 2022 EPAM Systems
*
* 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.ap... | true |
e195b46d9aed230138fff3b4994dd388aa6663bc | Java | mkeshav218/Codility | /lesson12/CommonPrimeDivisors.java | UTF-8 | 781 | 2.921875 | 3 | [] | no_license | class Solution {
public int solution(int[] A, int[] B) {
int max = -1,count=0;
for(int i=0;i<B.length;i++) {
if(B[i]>max)
max=B[i];
}
long[] primes = new long[max+1];
primes[0]=1;
primes[1]=1;
for(int i=2;i<primes.length;i++) {
if(primes[i]==0) {
int j=i*2;
while(j<=max) {
primes[... | true |
aa8dd3305e2a5be58b23cb675fb30c2dcf4ba383 | Java | EdricThr/MyTestProject | /src/com/THR/ThinkingInJava/堆栈/TestNewString.java | ISO-8859-7 | 554 | 2.78125 | 3 | [] | no_license | package com.THR.ThinkingInJava.ջ;
public class TestNewString {
public static void main(String args[]){
String aa = new String("abc");
String bb = "abc";
String cc = "abc";
String dd = new String("abc");
System.out.println(aa == bb);
System.out.println(bb == cc);
... | true |
fdf70f4d7981a208ce88e35cf822c710c7fcbe4a | Java | xtutran/mapred-tutor | /secondary-sort/src/main/java/com/mapred/util/InMapperCombiner.java | UTF-8 | 4,781 | 2.6875 | 3 | [
"BSD-3-Clause"
] | permissive | package com.mapred.util;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.io.Writable;
import org.apache.hadoop.io.WritableComparable;
import org.apache.hadoop.io.WritableUtils;
import org.apache.hadoop.mapreduce.Mapper;
import java.io.IOException;
import java.util.LinkedHashMap;
import java.util... | true |
64236b55f013a08b4083e6a067be9ce5209879c5 | Java | lichao20000/resflow-master | /flow-master0925---处理/flow-master0925/flow/flow-intf/src/main/java/com/zres/project/localnet/portal/logInfo/service/ToOrderCenterIntf.java | UTF-8 | 1,119 | 1.867188 | 2 | [] | no_license | package com.zres.project.localnet.portal.logInfo.service;
import java.util.Map;
import com.zres.project.localnet.portal.logInfo.entry.ToKafkaTacheLog;
import com.zres.project.localnet.portal.logInfo.entry.ToOrderCenterLog;
import com.zres.project.localnet.portal.logInfo.entry.ToOrderCenterTacheLog;
public interface ... | true |
398d1b4af2f9ea009611c16ef3b7d648ff04d817 | Java | haegerman/FlightBase | /src/se/lexicon/model/types/BreakfastBusiness.java | UTF-8 | 1,545 | 2.9375 | 3 | [] | no_license | package se.lexicon.model.types;
public enum BreakfastBusiness implements typeInterface{
Sourdough_breakfast_sandwich("9.99") {
private double price = 9.99;
@Override
public double price() {
return price;
}
public void setPrice(double price) {
this... | true |
54fe9dca704afafbf330c111d515dd9173d2efec | Java | vldz/whattowatch | /src/main/java/com/vanillastorm/util/custom/JavaConfig.java | UTF-8 | 593 | 2.4375 | 2 | [] | no_license | package com.vanillastorm.util.custom;
import com.vanillastorm.repository.InMemMovieRepository;
import com.vanillastorm.service.SimpleMovieService;
import java.util.HashMap;
import java.util.Map;
public class JavaConfig implements Config {
private Map<String, Class<?>> configs = new HashMap<>();
public Java... | true |
b04ba56a5e4a7837aebfd306f63fe8694f43f008 | Java | limonnana/jhipster2 | /src/main/java/com/limonnana/repository/ListWrapperRepository.java | UTF-8 | 265 | 1.578125 | 2 | [] | no_license | package com.limonnana.repository;
import com.limonnana.domain.ListWrapper;
import com.limonnana.domain.MonthList;
import org.springframework.data.jpa.repository.JpaRepository;
public interface ListWrapperRepository extends JpaRepository<ListWrapper, Integer> {
}
| true |
80c7fb23665759d702eefa7b02bdc93a1eebcdf7 | Java | secuconnect/secuconnect-java-sdk | /src/main/java/com/secuconnect/client/model/ParentObj.java | UTF-8 | 3,933 | 2.296875 | 2 | [
"Apache-2.0"
] | permissive | package com.secuconnect.client.model;
import com.google.gson.annotations.SerializedName;
import java.util.Objects;
/**
* ParentObj
*/
public class ParentObj {
@SerializedName("object")
protected String object = null;
@SerializedName("id")
protected String id = null;
@SerializedName("trans_id")
protect... | true |
4ee59215625ccc38d026b673e915b2eee23e2fb1 | Java | ShiMengXue/autotest-selenium-testng | /src/main/java/aic/pages/exportpdf/ExportPDFElements.java | UTF-8 | 717 | 1.835938 | 2 | [] | no_license | package aic.pages.exportpdf;
import shared.page.PageElements;
import shared.page.SeBlob;
public class ExportPDFElements extends PageElements {
/** finds the Page title */
public static final SeBlob PAGE_TITLE = new SeBlob("#export_tool > .aic-service-title", "Export From PDF");
/** finds the Select PDF Files to ... | true |
382ad24c37ccb8fd94e02626c5894ac265048055 | Java | ShamkinRoman/second_1 | /chapter_009/src/main/java/cinemaServlet/Buyer.java | UTF-8 | 893 | 2.8125 | 3 | [] | no_license | package cinemaServlet;
public class Buyer {
private String place;
private String name;
private String phone;
public Buyer(String name, String phone) {
this.name = name;
this.phone = phone;
}
public Buyer(String place, String name, String phone) {
this.place = place;
... | true |
31ddec8209276bd160f61f83c8ce7d5a9aa7c6d0 | Java | kangjaenam/portfolio | /Seoul_outing/src/poly/service/IAdminService.java | UTF-8 | 1,085 | 1.929688 | 2 | [] | no_license | package poly.service;
import java.util.List;
import poly.dto.NoticeDTO;
import poly.dto.UserInfoDTO;
public interface IAdminService {
//유저 정보 불러오기
List<UserInfoDTO> getUserInfo(NoticeDTO pDTO)throws Exception;
//유저 권한 정보 가져오기
String getAuthority(String user_no)throws Exception;
//사용자 -> 관리자
int changeAuthor... | true |
436d163f59acf2730e78b3e4be6a9699391acb70 | Java | madhurimukund97/spring | /Project/CashRegister/src/main/java/com/example/exceptions/NoCheckoutInProgressException.java | UTF-8 | 407 | 1.890625 | 2 | [] | no_license | package com.example.exceptions;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus()
public class NoCheckoutInProgressException extends RuntimeException {
// private static final long serialVersionUID = 1L;
// public NoCheckoutInProgressException(... | true |
6e498160b2e9bdb010e93f79b787a9f46ebd3362 | Java | NanaShangguan/leetcode | /src/test/java/nano/shangguan/MaximumSubarrayTest.java | UTF-8 | 332 | 2.140625 | 2 | [] | no_license | package nano.shangguan;
import junit.framework.TestCase;
/**
* Created by Nano on 2016/1/5.
*/
public class MaximumSubarrayTest extends TestCase {
public void testMaxSubArray() throws Exception {
int[] arr = new int[]{-2,-1};
assertEquals("Wrong Answer", -1, new MaximumSubarray().maxSubArray(ar... | true |
582a00a3b264e48aa925f26037819457b9aa7dea | Java | iecker/jaguar615 | /framework/jcompany_controller/src/main/java/com/powerlogic/jcompany/controller/util/PlcConfigUtil.java | UTF-8 | 9,140 | 1.625 | 2 | [] | no_license | /*
Jaguar-jCompany Developer Suite.
Powerlogic 2010-2014.
Please read licensing information in your installation directory.Contact Powerlogic for more
information or contribute with this project: suporte@powerlogic.com.b... | true |
45d1db29823058f8fa15bb751e4209131ae3d2e7 | Java | joshaw/CompSci | /SoftwareWorkshop1/Worksheet1/Ex2/Student.java | UTF-8 | 979 | 3.78125 | 4 | [] | no_license | /** Defines the class Student for holding info about a student at university
*
* @author Josh Wainwright
* UID : 1079596
* Worksheet : 1
* Exercise : 2
* @version 2013-10-11
*/
public class Student {
private String name, studentID, course;
/** A simple class to hold info about a student at university
... | true |
fe3076a3a75ee05f7eaaa2d83dd7c18f5e6984d6 | Java | whisperknight/blog | /src/main/java/com/mycompany/controller/admin/BloggerAdminController.java | UTF-8 | 2,954 | 2.375 | 2 | [] | no_license | package com.mycompany.controller.admin;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import javax.annotation.Resource;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;... | true |
3bce5646ed1adf3625c05657b9e460380132325c | Java | guandoublex/wfx-merchant | /src/main/java/com/gxx/wfx/merchant/controller/CustomerController.java | UTF-8 | 2,648 | 2.484375 | 2 | [] | no_license | package com.gxx.wfx.merchant.controller;
import com.gxx.wfx.merchant.VO.ResultVO;
import com.gxx.wfx.merchant.pojos.Customer;
import com.gxx.wfx.merchant.service.CustomerService;
import com.gxx.wfx.merchant.service.MemeberService;
import io.jsonwebtoken.*;
import org.springframework.web.bind.annotation.*;
import java... | true |
5cb1b7c94597ae41525fcea7cae4e2eec7a8c825 | Java | zhouguolei/store4 | /akkatest/src/main/java/org/aktest1/Message.java | UTF-8 | 810 | 2.375 | 2 | [] | no_license | package org.aktest1;
/**
* Created by zgl on 17-10-11.
*/
public class Message {
private int totalpage;
private int totalbytes;
public Message() {
}
public Message(int totalpage, int totalbytes) {
this.totalpage = totalpage;
this.totalbytes = totalbytes;
}
public int g... | true |
ecd08e603d968be54ce328bd18e1fe7cab8ad1ba | Java | jcdang/vision | /app/src/main/java/io/dang/vision/MainActivity.java | UTF-8 | 771 | 2.078125 | 2 | [
"MIT"
] | permissive | package io.dang.vision;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import org.rajawali3d.surface.RajawaliSurfaceView;
import java.util.concurrent.atomic.AtomicBoolean;
public class MainActivity extends AppCompatActivity {
private AtomicBoolean mIsConnected = new AtomicBoolean(fal... | true |
a373bd0742307948134977b4800f70a957c9f045 | Java | huaminglin/java-demo | /servlet-demo/spring-mvc-demo/spring-mvc-custom-demo/src/main/java/huaminglin/demo/spring/mvc/CustomValueHttpMessageConverter.java | UTF-8 | 1,275 | 2.671875 | 3 | [] | no_license | package huaminglin.demo.spring.mvc;
import java.io.IOException;
import org.springframework.http.HttpInputMessage;
import org.springframework.http.HttpOutputMessage;
import org.springframework.http.MediaType;
import org.springframework.http.converter.AbstractHttpMessageConverter;
import org.springframework.http.convert... | true |
9034228621ab18e03ea605223b631159ffd716e4 | Java | MatthiasRaepsaet/Jigsaw | /EmotionAnalyzerModule/src/module-info.java | UTF-8 | 130 | 1.59375 | 2 | [] | no_license | module EmotionAnalyzerModule {
requires AnalyzerModule;
provides analyzer.Analyzer with emotionanalyzer.EmotionAnalyzer;
} | true |
c1a269bf716b62773dc8772402c5b9f94ad177d0 | Java | ChonPiggy/OhBot | /src/main/java/ohbot/utils/PgLog.java | UTF-8 | 185 | 1.945313 | 2 | [] | no_license | package ohbot.utils;
public class PgLog {
public static void error(String log) {
System.err.println(log);
}
public static void info(String log) {
System.out.println(log);
}
} | true |
4803dcc870e73bb46dbfc04e2a11959a5046d6f0 | Java | praveenkumarnh/SpyMyBuddy | /java/com/example/vipul/spyapp10/livePannelService.java | UTF-8 | 12,183 | 1.820313 | 2 | [] | no_license | package com.example.vipul.spyapp10;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.hardware.Camera;
import android.media.AudioManager;
import android.media.MediaRecorder;
import android.med... | true |
2722696bb1b61e5431e9da5a5d5fc900f2c2f7f2 | Java | Zed180881/Zed_repo | /IdeaProjects/src/part2/chapter21/MappedChannelRead.java | UTF-8 | 815 | 3.140625 | 3 | [] | no_license | package part1.chapter21;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.MappedByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.channels.SeekableByteChannel;
import java.nio.file.Files;
import java.nio.file.Paths;
public class MappedChannelRead {
public static void main(St... | true |
60baa50b78aed380b7cd5bb4353f973fbc446d70 | Java | jackmunkonge/journal-back-end | /src/main/java/com/solirius/journal/repository/ResourceRepository.java | UTF-8 | 1,054 | 1.96875 | 2 | [] | no_license | package com.solirius.journal.repository;
import com.solirius.journal.domain.Framework;
import com.solirius.journal.domain.Language;
import com.solirius.journal.domain.Resource;
import org.springframework.data.domain.Sort;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.... | true |
d69e1352c4ebdc95b14399350b322c3e55940230 | Java | Lubbock/tardis-extract | /src/main/java/com/lame/sbconstant/command/EntityExtractCommand.java | UTF-8 | 1,371 | 2.109375 | 2 | [
"Apache-2.0"
] | permissive | package com.lame.sbconstant.command;
import com.lame.detect.ConstantDetectFactory;
import com.lame.detect.DetectContext;
import com.lame.detect.vo.ClassMeta;
import com.lame.detect.vo.FileType;
import com.lame.sbconstant.product.ProductContext;
import com.lame.sbconstant.product.ProductFactory;
import core.analy.Java8... | true |
d426353bb1ab62e474d99c120538c2035e5d30e8 | Java | javifg97/MaquinaRefrescosHiber | /src/accesoDatos/AccesoHibernate.java | UTF-8 | 2,684 | 2.546875 | 3 | [] | no_license | package accesoDatos;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map.Entry;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
import logicaRefrescos.Deposito;
import logi... | true |