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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
d903f89479efcecc8d85a8c19dce56a2c80286ff | Java | zhongxingyu/Seer | /Diff-Raw-Data/35/35_583fa54b4e7de64f55917ee56e9d60635aee9fff/HttpHandler/35_583fa54b4e7de64f55917ee56e9d60635aee9fff_HttpHandler_t.java | UTF-8 | 9,725 | 1.976563 | 2 | [] | no_license | package de.hska.shareyourspot.android.restclient;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.... | true |
d859698a31060dfba3943126dc152c2ede8999d3 | Java | BranfordTGbieor/social-api | /src/main/java/com/taylietech/controller/WelcomeController.java | UTF-8 | 600 | 1.890625 | 2 | [] | no_license | package com.taylietech.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.context.i18n.LocaleContextHolder;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.... | true |
f901d789c1515000df772175e1617508bfbdfbe3 | Java | leinad02/SE2_MonstersAndPortals | /app/src/main/java/t_industries/monstersandportals/AsyncTaskClasses/MyTaskServer.java | UTF-8 | 1,178 | 2.375 | 2 | [] | no_license | package t_industries.monstersandportals.AsyncTaskClasses;
import android.os.AsyncTask;
import com.esotericsoftware.kryonet.Server;
import t_industries.monstersandportals.NetworkClasses.CheatServer;
import t_industries.monstersandportals.NetworkClasses.RiskServer;
import t_industries.monstersandportals.NetworkClasses... | true |
81d608e3143ab20bcefdce2a1552d898c908b1e0 | Java | KevinXie0131/leetcode | /src/main/java/com/answer/tree/Q107_Binary_Tree_Level_Order_Traversal_II.java | UTF-8 | 925 | 3.1875 | 3 | [] | permissive | package com.answer.tree;
import com.template.TreeNode;
import java.util.ArrayList;
import java.util.*;
public class Q107_Binary_Tree_Level_Order_Traversal_II {
public List<List<Integer>> levelOrderBottom(TreeNode root) {
List<List<Integer>> list = new ArrayList<List<Integer>>();
if (root == null... | true |
7e8d2c600415f53daa2efad11693569feb484d8d | Java | pursuithigher/BravhBase | /app/src/main/java/com/example/qzhu/bravhbase/prest/ExpandAdapter.java | UTF-8 | 2,174 | 2.359375 | 2 | [] | no_license | package com.example.qzhu.bravhbase.prest;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.example.qzhu.bravhbase.R;
import java.util.List;
/**
* Created by Qzhu on 2017/8/30.
*/
public class ExpandAda... | true |
ac140e9e64d7e85f3b51ed195e17e58a1fbc502c | Java | rootmelo92118/analysis | /sources/com/google/android/gms/internal/ads/bdr.java | UTF-8 | 75,644 | 1.570313 | 2 | [] | no_license | package com.google.android.gms.internal.ads;
import android.util.Log;
import android.util.SparseArray;
import com.google.android.gms.internal.ads.zzhp;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import java.util.Stack;
import java.util.UUID;
public final c... | true |
5267eb5d3abae82998c15d7cab95694b24c45902 | Java | 504880813/mlh_manager | /src/rms/wechat/entity/PageAccess_Token.java | UTF-8 | 1,447 | 2.15625 | 2 | [] | no_license | package rms.wechat.entity;
/**
*
* @ClassName: PageACCESS_TOKEN
* @Description: 网页的密钥
* @author 邹家兴
* @date 2015年9月16日 下午4:20:48
*
*/
public class PageAccess_Token {
/**
* 网页接口调用凭证
*/
private String access_token;
/**
* 网页接口调用凭证国企时间 秒
*/
private String expires_... | true |
cabdfff8e16b1e5cde670e59bafafc69e851e312 | Java | RodrigoBattagliero/Trabajo-final-hibenate-struts2 | /src/java/controller/ActividadDocentesController.java | UTF-8 | 12,164 | 1.882813 | 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 controller;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletReq... | true |
63cfb378ec93210dad8e4b359a9adebe0ac1844b | Java | maniaabdi/tracing-framework | /workloads/mapreduce-generator/src/main/java/edu/brown/cs/systems/mrgenerator/jobs/MRGeneratorJob.java | UTF-8 | 794 | 2.046875 | 2 | [
"BSD-3-Clause"
] | permissive | package edu.brown.cs.systems.mrgenerator.jobs;
import java.io.IOException;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.mapred.JobConf;
public interface MRGeneratorJob {
/**
* Initialize the input for the job. Called once at the very start, before
* running the job multiple times
... | true |
23bff5bba02521a7a9cacf1554c8929d27fbdd61 | Java | youssefshaban/TicTactoe-server-clinet | /server/src/main/Main.java | UTF-8 | 734 | 2.515625 | 3 | [] | no_license | package main;
import main.Connect_to_clinet.Controller.ConnectToClinetController;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.time.Instant;
import java.util.logging.Level;
import java.util.logging.Logger;
public class Main {
public static void main(String[] arg... | true |
ca3e01237c92bcda38872703e9abd4a9a3ad9389 | Java | pighead4u/lifeApp | /discover/src/main/java/com/pansijing/life/bean/DiscoverDao.java | UTF-8 | 525 | 1.90625 | 2 | [] | no_license | package com.pansijing.life.bean;
import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Insert;
import android.arch.persistence.room.Query;
import java.util.List;
import io.reactivex.Flowable;
/**
* 创建者: zhuhuanhuan
* 创建时间: 2018/1/26-下午10:23
* 说明:
* 修改记录:
*/
@Dao
public interface Disco... | true |
555d37088e62916b0d1fd650a7cf0623822f474c | Java | tsuzcx/qq_apk | /com.tencent.qqlite/classes.jar/com/tencent/mobileqq/utils/HexUtil.java | UTF-8 | 5,081 | 2.375 | 2 | [] | no_license | package com.tencent.mobileqq.utils;
import com.tencent.qphone.base.util.QLog;
public class HexUtil
{
public static final byte[] a;
private static final char[] a;
static
{
jdField_a_of_type_ArrayOfChar = new char[] { 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70 };
jdFie... | true |
58ce075d3664b567765274ec7ed86db89f65a7a9 | Java | felix-t-morgenstern/inaugural.soliloquy.gamestate | /src/test/java/inaugural/soliloquy/gamestate/test/fakes/FakeDeletable.java | UTF-8 | 475 | 2.296875 | 2 | [] | no_license | package inaugural.soliloquy.gamestate.test.fakes;
import soliloquy.specs.gamestate.entities.Deletable;
public class FakeDeletable implements Deletable {
public boolean Deleted;
@Override
public void delete() throws IllegalStateException {
Deleted = true;
}
@Override
public boolean is... | true |
626c4d771be0addbf38d0b448f7bbf8839e85017 | Java | ferbatres/JAP---WS | /src/java/com/jap/entity/SOpcionRolPK.java | UTF-8 | 2,250 | 2.265625 | 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.jap.entity;
import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import... | true |
f1c4bf9e10d30c44320b07a108e11d429e75b6db | Java | developtissue/AssistantManagementSystem | /AssistantManagementSystem/src/main/java/nchu/class1620/dto/StudentApplyInformation.java | UTF-8 | 1,548 | 2.046875 | 2 | [] | no_license | package nchu.class1620.dto;
public class StudentApplyInformation {
private int s_id;
private String s_name;
private String date;
private int cls_id;
private int t_id;
private String t_name;
private int c_id;
private String c_name;
private String status;
private String comment;
private int assist_id;
p... | true |
407e106137100f8dd5027614f79db4dbbc3ae46b | Java | theLittleBirds/hlj_nongdai | /src/main/java/com/nongyeos/loan/app/controller/BusFinsController.java | UTF-8 | 5,920 | 2.125 | 2 | [] | no_license | package com.nongyeos.loan.app.controller;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.http.HttpSession;
import com.nongyeos.loan.admin.entity.SysPersonorg;
import com.nongyeos.loan.admin.service.ISysSenoServ... | true |
db431f6c3d2efa32f3d94283e100717b34bbf4b6 | Java | xiaoxi99/repository | /fox-shop-admin/src/main/java/com/fh/springSecurity/vo/AdminDetails.java | UTF-8 | 2,070 | 2.28125 | 2 | [] | no_license | package com.fh.springSecurity.vo;
import com.fh.umsAdmin.entity.UmsAdmin;
import com.fh.umsResource.entity.UmsResource;
import com.fh.umsRole.entity.UmsRole;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.... | true |
bdf759efa3aa24ee511947f6f876fee08d31c38c | Java | EvanRDodge/Card-Game-Desktop-Application-Java- | /src/controller/BlackjackSetupPanel.java | UTF-8 | 11,908 | 2.4375 | 2 | [] | no_license | package controller;
import java.awt.CardLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.TextEvent;
import java.awt... | true |
200761cffe9ad94ad1762bcd289617974331c48d | Java | Anurag161996/GameOfDice | /src/main/java/com/greatlearning/dice/service/impl/DiceRuleImpl.java | UTF-8 | 4,558 | 2.828125 | 3 | [] | no_license | package com.greatlearning.dice.service.impl;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import com.greatlearning.dice.constants.CustomMessages;
import com.greatlearning.dice.constants.PlayerStatus;
import com.grea... | true |
311f2096b3bdbec33301f4efa203478fc6d29f2b | Java | Nahyun-K/Baekjoon | /Main1157.java | UHC | 1,460 | 3.890625 | 4 | [] | no_license |
import java.util.*;
public class Main1157 {
// ܾ
// ĺ ҹڷ ܾ ־, ܾ ĺ ˾Ƴ α ۼϽÿ
// 빮ڿ ҹڸ ʴ´
public static void main(String[] args) {
// Է ù° ٿ ĺ ҹڷ ̷ ܾ ־
// ־ ܾ ̴ 1,000,000 ʴ´
Scanner sc = new Scanner(System.in);
String str = sc.next();
int n = str.length();
char[] ch = new char[n... | true |
3ba4ea34a8a6c940167c0be2227acaffda426e48 | Java | hawkteng/ELMSParent | /ELMSClient/src/vo/order/ReceiveVO.java | UTF-8 | 560 | 2.203125 | 2 | [
"Apache-2.0"
] | permissive | package vo.order;
import util.MyDate;
/**
* 收件信息录入
*
* @author xingcheng
*
*/
public class ReceiveVO {
/**
* 订单号
*/
public String orderBarCode;
/**
* 收件日期
*/
public MyDate orderDate;
/**
* 真实收件人
*/
public String realReceiver;
public ReceiveVO() {
// TODO Auto-generated constructor stub
}... | true |
0192e6a0a75ea440714c795d9c4613c78e675bd0 | Java | SAP/commerce-gradle-plugin | /cloud-plugin/src/main/java/mpern/sap/commerce/ccv2/validation/ExtensionsResolver.java | UTF-8 | 1,718 | 2.296875 | 2 | [
"Apache-2.0"
] | permissive | package mpern.sap.commerce.ccv2.validation;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import groovy.lang.Tuple2;
import mpern.sap.commerce.build.util.Extension;
import mpern.sap.commerce.ccv2.model.Manifest;
/**
* Resolves information about extensions declared in the build manifest... | true |
5814cf859986b54717346f0ac8f19867040d1ed1 | Java | guilhermesgb/steward | /app/src/main/java/com/github/guilhermesgb/steward/utils/ArgumentsParserMviActivity.java | UTF-8 | 1,860 | 2.3125 | 2 | [] | no_license | package com.github.guilhermesgb.steward.utils;
import android.content.Intent;
import android.os.Bundle;
import com.hannesdorfmann.mosby3.mvi.MviActivity;
import com.hannesdorfmann.mosby3.mvi.MviBasePresenter;
import com.hannesdorfmann.mosby3.mvp.MvpView;
import java.util.List;
/**
* An Activity with built-in mecha... | true |
b14337d0aedc2c59fbf1c0b214f6eedf05b927b4 | Java | iqbalchandraessentials/Java-Perogram-pengolahan-nilai | /SistemInformasiPengolahanNilaiRaport2/src/GUI_IM/GTa.java | UTF-8 | 16,531 | 2.5 | 2 | [] | no_license |
package GUI_IM;
import java.awt.event.KeyEvent;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import javax.swing.table.D... | true |
962c3a45cc8fd0d06b4057a3d3456516b9a53f4c | Java | a198720/mybatis-generator-study | /src/main/java/com/java/Generate.java | UTF-8 | 1,196 | 2.03125 | 2 | [] | no_license | package com.java;
import org.mybatis.generator.api.MyBatisGenerator;
import org.mybatis.generator.config.Configuration;
import org.mybatis.generator.config.xml.ConfigurationParser;
import org.mybatis.generator.internal.DefaultShellCallback;
import java.io.File;
import java.util.ArrayList;
import java.util.HashSet;
im... | true |
12b68a3384728dbca7603b8b3b68666f319dc0ad | Java | joo9710/SpringbootApi-1 | /src/main/java/kr/ac/daegu/springbootapi/board/controller/BoardController.java | UTF-8 | 941 | 2.140625 | 2 | [] | no_license | package kr.ac.daegu.springbootapi.board.controller;
import kr.ac.daegu.springbootapi.board.model.BoardDTO;
import kr.ac.daegu.springbootapi.board.service.BoardService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springf... | true |
9cd131954bec722de1991a0f0bdba0abadfcbf67 | Java | phoenix6/mathub | /src/main/java/com/orient/mathub/CanonicalFeature.java | UTF-8 | 1,025 | 1.703125 | 2 | [] | no_license | package com.orient.mathub;
import java.util.Vector;
import com.tinkerpop.frames.Property;
public interface CanonicalFeature {
@Property("id")
public void setId(int id);
@Property("id")
public int getId();
@Property("name")
public void setName(String name);
@Property("name")
public String getName();
@... | true |
4170edb12dd62a313744387447014c10adae4e90 | Java | EvenWC/springboot-dubbo | /service-user/src/main/java/com/evan/study/mapper/UserMapper.java | UTF-8 | 266 | 1.804688 | 2 | [] | no_license | package com.evan.study.mapper;
import com.evan.study.entity.User;
import org.apache.ibatis.annotations.Param;
/**
* @Auther: Administrator
* @Date: 2018/6/19 19:55
* @Description:
*/
public interface UserMapper {
User getOneById(@Param("id") Long id);
}
| true |
33c5689b46dfa3813647b417247496709faa784a | Java | meetcshah19/BankApp | /src/com/util/DBConnection.java | UTF-8 | 833 | 2.75 | 3 | [] | no_license | package com.util;
import java.sql.*;
public class DBConnection {
static final String JDBC_DRIVER = "com.mysql.jdbc.Driver";
static final String DB_URL = "jdbc:mysql://localhost:3306/account";
static final String USER = "root";
static final String PASS = "root";
public static Connection getCo... | true |
da649901f2ddb4f3eccdaa1fd13503e2fce8773e | Java | CaoPhiHung/QuickManage | /src/Sept_A1_G6/src/Controller/TeacherListController.java | UTF-8 | 4,241 | 3.015625 | 3 | [
"Apache-2.0"
] | permissive | package Controller;
import Model.*;
import View.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class TeacherListController implements MouseListener {
@Override
public void mouseClicked(MouseEvent e) {
if (e.getSource() instanceof JButton) {
JButton button = (J... | true |
ac4a8115ad5c3a1d30ba839f8d9be3483f4d7d95 | Java | honar7/EGS | /src/main/java/egs/assignment/kourosh/entity/ProductRating.java | UTF-8 | 563 | 2.09375 | 2 | [] | no_license | package egs.assignment.kourosh.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;
import javax.persistence.*;
@Data
@AllArgsConstructor
@ToString
@Entity(name = "PRODUCT_RATING")
public class ProductRating {
public ProductRating() {
}
@EmbeddedId
private ProductRat... | true |
b5dba028dcc363fd5ba7d7a439f8bd7c0a216ee5 | Java | MilovanTomasevic/OOP-JAVA | /src/rokovi/2007:08/kol1_08/treca_grupa/treca_grupa/PiramidaKupa.java | UTF-8 | 1,047 | 3.859375 | 4 | [
"MIT"
] | permissive | package treca_grupa;
// Klasa koja predstavlja geometrijsko telo koje moze da se ponasa i kao
// piramida i kao kupa, u zavisnosti od osnove.
public class PiramidaKupa
{
// Posto osnova moze biti Kvadrat ili Krug, treba staviti da je osnova
// tipa GeometrijskiObjekat, jer je to bazna klasa i za Kvadrat i z... | true |
e26af5aa1bf030d8f1821b065a6ab5f7e3fe6a71 | Java | mczal/Messaging-Security | /src/main/java/com/test/dana/dto/base/rest/BaseRestResponse.java | UTF-8 | 1,035 | 2.390625 | 2 | [] | no_license | package com.test.dana.dto.base.rest;
/**
* Created by mczal on 8/10/17.
*/
public class BaseRestResponse extends BaseRest {
private String literal;
private String message;
private int statusCode;
public BaseRestResponse(String requestId, HttpCode httpCode) {
super(requestId);
this.statusCode = ht... | true |
c78f3bccc0f049fc3733db1d334e6474d724fd1b | Java | luoluna/HelloChat | /app/src/main/java/com/team/hellochat/net/socketServices/ImageServices.java | UTF-8 | 250 | 2 | 2 | [] | no_license | package com.team.hellochat.net.socketServices;
public class ImageServices {
public static void main(String[] args) {
new ImageServices().receiveImage("/HelloChatServer/WebContent/image/mm.jpg");
}
public void receiveImage(String path) {
}
}
| true |
7c7a104622cd0c3da4ebae06232ca18571a947c0 | Java | Tyella/Algorithm | /BinarySearch.java | UTF-8 | 1,681 | 4.125 | 4 | [] | no_license | package Algorithm;
//二叉查找数及其变种
public class BinarySearch {
//1.查找第一个值等于给定值的元素
public int binarySearch1(int[] a,int n,int value){
int low=0;
int high=n-1;
while(low<=high){
int mid=low+((high-low)>>1);
if(a[mid]<value){
low=mid+1;
}else if(a[mid]>value){
high=mid-1;
}else{
if(mid==0 || ... | true |
c52e0b55efc021c79628f6c04a2ee6fd0d854fee | Java | erwenzhang/helloGit | /leetCode/56MergeIntervals.java | UTF-8 | 906 | 3.25 | 3 | [] | no_license | public List<Interval> merge(List<Interval> intervals) {
List<Interval> rets = new ArrayList<>();
if(intervals==null||intervals.isEmpty()) return rets;
Collections.sort(intervals,new Comparator<Interval>(){
@Override
public int compare(Interval a, Interval b){
... | true |
ce19b7fdd266ca7d6ceed3101ee65b34012b486d | Java | darius-calugar/toy-language-interpreter | /src/api/model/exceptions/ExpectedRefTypeException.java | UTF-8 | 289 | 2.53125 | 3 | [
"BSD-2-Clause"
] | permissive | package api.model.exceptions;
import api.model.types.IType;
public class ExpectedRefTypeException extends MyException {
public ExpectedRefTypeException(IType providedType) {
super("Expected reference type value, received value of type " + providedType + " instead");
}
}
| true |
27e10b0611d66d6d43f9b8e0e06ae5db0e9a2d5f | Java | esmakzlkaya/GameDemo2 | /src/main/java/Main.java | ISO-8859-9 | 548 | 2.40625 | 2 | [
"MIT"
] | permissive |
import java.net.MalformedURLException;
import Adapters.MernisServiceAdapter;
import Concrete.GamerManager;
import Entities.Gamer;
public class Main {
public static void main(String[] args) throws MalformedURLException {
Gamer customer1=new Gamer();
customer1.setId(1);
customer1.setFirstName("Esma");
custom... | true |
770acca9991d66af3b21d46fe98e3b0268de9655 | Java | jmrodri/java-operator-sdk | /operator-framework/src/test/java/io/javaoperatorsdk/operator/sample/maxinterval/MaxIntervalTestReconciler.java | UTF-8 | 1,224 | 1.945313 | 2 | [
"Apache-2.0"
] | permissive | package io.javaoperatorsdk.operator.sample.maxinterval;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import io.javaoperatorsdk.operator.api.reconciler.Context;
import io.javaoperatorsdk.operator.api.reconciler.ControllerConfiguration;
import io.javaoperatorsdk.operator.api.r... | true |
d0f0bdd9b37c16e5974c3f11d5f51b9d274ea81f | Java | minghowwww/talin | /talin-common/src/main/java/com/asianrapid/talin/common/service/BaseService.java | UTF-8 | 2,880 | 2.359375 | 2 | [] | no_license | package com.asianrapid.talin.common.service;
import com.asianrapid.talin.common.domain.common.BaseResponse;
import com.asianrapid.talin.common.enums.ResponseCodeEnum;
import com.asianrapid.talin.common.exception.TalinServiceException;
import com.asianrapid.talin.common.exception.TalinValidateException;
import com.asia... | true |
f430353dd13a396fead389ecb0d027d565b8671d | Java | whdrjs2626/java_ex_2 | /Java2/src/Week10/Answer_03.java | UHC | 1,423 | 4.09375 | 4 | [] | no_license | package Week10;
import java.util.Scanner;
public class Answer_03 {
static Scanner in = new Scanner(System.in);
public static void game(String[] str) {
System.out.println("--- ձ ϰڽϴ!! ---");
String word = str[(int) (Math.random()*str.length)]; // str ε մϴ. -> ܾ ܾ ɴϴ.
while(true) {
System.out.print... | true |
cdb4bf34424d339c653b5c23213164102e1a4b78 | Java | franciscocabral/uri | /uri/u1237/Main.java | UTF-8 | 1,270 | 3.171875 | 3 | [] | 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 u1237;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
StringBuilder sb =... | true |
c94c4fa0773db326a9b9e6af4eb76ebbf03b26e9 | Java | shabs/ASEME | /SAGdesign.diagram/src/SAG/diagram/part/Messages.java | UTF-8 | 6,123 | 1.539063 | 2 | [] | no_license | package SAG.diagram.part;
import org.eclipse.osgi.util.NLS;
/**
* @generated
*/
public class Messages extends NLS {
/**
* @generated
*/
static {
NLS.initializeMessages("messages", Messages.class); //$NON-NLS-1$
}
/**
* @generated
*/
private Messages() {
}
/**
* @generated
*/
public static String ... | true |
14af206a42ba78f014503631dc5c0b3e8c58fb65 | Java | argho1990/Coursecube-B19 | /LanguageFundamentals/Lab39.java | UTF-8 | 196 | 2.125 | 2 | [] | no_license | class Lab39 {
public static void main(String[] args) {
String str1 = null;
System.out.println(str1);
int x = str1.length();
System.out.println(x);
}
} | true |
51d86dd243c9e778a8c6150e54f9aff8cd3daafc | Java | Mrsulin/base | /Test/club/sulin/file/FileTest.java | UTF-8 | 2,026 | 2.859375 | 3 | [] | no_license | package club.sulin.file;
import org.junit.Test;
import java.io.File;
/**
* Title: FileTest
*
* @author sulin
* @date 2019-07-13
*/
public class FileTest {
@Test
public void testFile() {
String url = "G:\\音乐";
File file = new File(url);
// System.out.println("exists?-----------" +... | true |
642198ee86f8e44d96656a5a7b52e5af63cee0f8 | Java | h3shiri/OOP | /ex6/src/oop/ex6/main/sJavacUtil/SjavaFormatException.java | UTF-8 | 137 | 1.695313 | 2 | [] | no_license | package oop.ex6.main.sJavacUtil;
/** The highest format error in the hierarchy */
public class SjavaFormatException extends Exception{
} | true |
5a34de4df4c283eee1cb26fff44bc7be41dc1638 | Java | lzcleo/Algorithm | /src/homework/oj/third/Solution1.java | UTF-8 | 351 | 2.09375 | 2 | [] | no_license | package homework.oj.third;
import java.util.Scanner;
/**
* @author shkstart
* @create 2019-10-17-10:12
**/
public class Solution1 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int times = sc.nextInt();
for (int i = 0; i <times ; i++) {
sc.ne... | true |
da12482a77f064b0ea139478c243dc5122b3f1db | Java | kevin0016/huiyin | /NetPay/NetPayRouter/src/com/wizarpos/netpayrouter/receiver/DateChangeReceive.java | UTF-8 | 728 | 1.859375 | 2 | [] | no_license | package com.wizarpos.netpayrouter.receiver;
import com.wizarpos.netpayrouter.utils.SharePreferenceUtils;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
/**
* @author xuchuanren
* @date 2015年11月16日 上午10:29:44
* @modify 修改人: 修改时间:
*/
public class DateChange... | true |
0351f1b1287b7d313420765a432fcab77232d280 | Java | ronaldfox2015/proyecto-web-java-utp | /app/src/java/entity/Vehiculo.java | UTF-8 | 1,809 | 2.375 | 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 entity;
import library.DateTime;
/**
*
* @author ronald
*/
public class Vehiculo {
private int id;
private Client... | true |
ebb7b3fa4ca1ea323283bb8375651c2dd5f850a0 | Java | naiveted/attendance | /后台部分/sas/sas-manager/sas-manager-service/src/main/java/com/sas/service/PersonnelService.java | UTF-8 | 867 | 1.835938 | 2 | [] | no_license | package com.sas.service;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpRequest;
import com.github.pagehelper.PageInfo;
import com.sas.pojo.Personnel;
import com.sas.pojo.Teacher;
import com.sun.tools.internal.ws.processor.model.Request;
public interface PersonnelService {
PageInfo<... | true |
8931af49a350d4d74028bb3858b98f8a5fe3f77f | Java | JadeiteQAQ/HealthManager | /app/src/main/java/net/kevin/com/healthmanager/javaBean/ShopCar.java | UTF-8 | 2,896 | 2.078125 | 2 | [
"Apache-2.0"
] | permissive | package net.kevin.com.healthmanager.javaBean;
import android.widget.ImageView;
import java.util.ArrayList;
import java.util.List;
import cn.bmob.v3.BmobObject;
/*
*@author panlister
*/
public class ShopCar extends BmobObject {
private String shopName;
private String userId;
private List<String> count... | true |
a860892872a5c0c8a892213f8c86664d0561a3f9 | Java | louismarie/budgetview | /budgetview/bv_desktop/src/main/java/com/budgetview/desktop/printing/utils/DefaultPrinterService.java | UTF-8 | 783 | 2.25 | 2 | [] | no_license | package com.budgetview.desktop.printing.utils;
import com.budgetview.desktop.printing.PrintableReport;
import com.budgetview.desktop.printing.PrinterService;
import org.globsframework.utils.exceptions.OperationFailed;
import java.awt.print.PrinterException;
import java.awt.print.PrinterJob;
public class DefaultPrint... | true |
7e8b4f83d97d4147acc1d9e856e8fc022a1d6d5a | Java | geoffpatton/coding | /hackrank/test/problems/HackerRankTests.java | UTF-8 | 9,602 | 2.90625 | 3 | [] | no_license | package problems;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
import org.junit.Before;
import org.junit.Test;
import problems.HackerRankSolutions.Checker;
import problems.HackerRankSolutions.Player;
public class HackerRankTests {
... | true |
4461b991d071f49537466cc7e2a9014daee4f83e | Java | Deadddorks/FlappyBird | /src/flappy_bird/graphics/Graphics.java | UTF-8 | 2,215 | 2.984375 | 3 | [] | no_license | package flappy_bird.graphics;
// ---------- Imports ----------
import flappy_bird.logic.GameStats;
import flappy_bird.logic.World;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.image.Image;
import java.util.ArrayList;
// ---------- ------- ----------
public class ... | true |
2b820603e5bc4918fa25d9906ddcead00b38f2a5 | Java | wooody92/algorithm | /src/main/java/programmers/level_1/number_of_prime_12921/Solution.java | UTF-8 | 2,267 | 4.28125 | 4 | [] | no_license | package programmers.level_1.number_of_prime_12921;
import java.util.ArrayList;
import java.util.List;
public class Solution {
/**
* Solution 1 - 성공
* 소수 조건 검색은 2 <= i <= Math.sqrt(N)까지만 검색한다.
* 주어진 수 N이 2부터 N 제곱근 범위에서 나누었을 때 0이 되는 수가 있다면, 그 수는 소수가 아니다.
* 즉, 이 범위내 나누어지는 수가 없다면 그 수는 소수이다.
... | true |
66bca72ea48ad1594a75e78ceb32af49cc463cc9 | Java | Liuhp534/server-manager-central | /springboot-quarts/src/main/java/cn/liuhp/utils/JackJsonUtils.java | UTF-8 | 1,650 | 2.71875 | 3 | [] | no_license | package cn.liuhp.utils;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Map;
public class JackJsonUtils {
//定义转换工具
... | true |
bbd81ffeb3493dea7b5df8384715c7ec59606f5d | Java | MelkinJoseMejia/Express_Regalos | /WSCRUDSerUsuariosXCampana/src/main/java/com/claro/WSCRUDSerUsuariosXCampanaServicio/WsCRUDSerUsuariosXCampanaApplication.java | UTF-8 | 374 | 1.515625 | 2 | [] | no_license | package com.claro.WSCRUDSerUsuariosXCampanaServicio;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class WsCRUDSerUsuariosXCampanaApplication {
public static void main(String[] args) {
SpringApplication.run(WsC... | true |
de0d1a636684c3e3b20d79c2bebc3eb458b13046 | Java | ds971755786/kafka-example | /streamopentsdb/src/main/java/io/dongsheng/flink/utils/MetricResultTypeQueryable.java | UTF-8 | 1,882 | 2.09375 | 2 | [] | no_license | package io.dongsheng.flink.utils;
import enn.monitor.streaming.common.proto.Metric;
import org.apache.flink.api.common.ExecutionConfig;
import org.apache.flink.api.common.typeinfo.TypeInformation;
import org.apache.flink.api.common.typeutils.TypeSerializer;
import org.apache.flink.api.java.typeutils.ResultTypeQueryabl... | true |
921bcf66eed3c29e1ab9a054fbb38a2997d775f1 | Java | heshangcode/LeetCodeAndJianZhiOffer | /src/com/hs/JianZhiOffer/DP/斐波拉契数列Solution2.java | UTF-8 | 518 | 3.125 | 3 | [
"Apache-2.0"
] | permissive | package com.hs.JianZhiOffer.DP;
import java.util.Arrays;
/**
* 思路2:记忆化搜索dp
*
* @Author heshang.ink
* @Date 2019/9/24 16:04
*/
public class 斐波拉契数列Solution2 {
int[] memo;
public int Fibonacci(int n) {
memo = new int[n + 1];
Arrays.fill(memo, - 1);
return dp(n);
}
private int dp(int n) {
if (n == 0) {
... | true |
1a235a0b1047ec440026d455affd9d1c5cdf7428 | Java | isphinx/utas | /607/android_tutorial_week3/app/src/main/java/com/example/myfirstapp/MainActivity.java | UTF-8 | 1,055 | 2.1875 | 2 | [] | no_license | package com.example.myfirstapp;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
p... | true |
601434658198d38b09b00292e10c54c75d3b2fb0 | Java | adineagu/ssdclient | /src/main/java/com/erstegroupit/hyperledger/javafxclient/controller/EditTrancheController.java | UTF-8 | 6,654 | 1.953125 | 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.erstegroupit.hyperledger.javafxclient.controller;
import com.erstegroupit.hyperledger.javafxclient.InjectorContext;... | true |
305593aec94c924d57c4d6572bdfb07f4bf0adcf | Java | alexchalyy/SeleniumProject | /SeleniumProject/SeleniumProject/src/Exercise_Four_Class.java | UTF-8 | 2,412 | 2.96875 | 3 | [] | no_license |
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.interactions.Actions;
public class Exercise_Four_Class extends Common_Methods_Class {
private String url = "https://en.wikipedia.org/wiki/Selenium_(software)", start_xpath = "//*[@id=\"mw-content-text\"]/div/p[... | true |
e8d22f906c6ee4c556ea4be1aefee39c3ece7c32 | Java | hlyhexiansheng/everyting | /test.web/src/main/java/javatools/JavaToolsTest2.java | UTF-8 | 533 | 2.546875 | 3 | [] | no_license | package javatools;
/**
* Created by noodles on 16/9/7 下午3:04.
*/
public class JavaToolsTest2 {
public static void main(String[] args) {
Thread[] threads = new Thread[10];
for (int i = 0; i < 10; i++){
threads[i] = new Thread(new Runnable() {
@Override
... | true |
d62c90487c136cb8873a7861591ae1578199fa2e | Java | tmallo/Prueba-JUnit | /test/Saludo/SaludadorTest.java | UTF-8 | 581 | 2.578125 | 3 | [] | no_license | package Saludo;
import junit.framework.Assert;
import org.junit.Test;
public class SaludadorTest{
/*
@Test
public void saludarFalla() {
Saludador saludador = new Saludador();
String resultado = saludador.saludar();
Assert.assertEquals("chau", resultado); //deberia fal... | true |
02d58ade10feddb5d1277398b5b9b44fcfe8d693 | Java | cpwk/news-api | /src/main/java/com/maidao/edu/news/springbootdemo/api/article/service/ArticleService.java | UTF-8 | 2,632 | 2.203125 | 2 | [] | no_license | package com.maidao.edu.news.springbootdemo.api.article.service;
import com.maidao.edu.news.springbootdemo.api.article.model.Article;
import com.maidao.edu.news.springbootdemo.api.article.qo.ArticleQo;
import com.maidao.edu.news.springbootdemo.api.article.repository.IArticleRepository;
import com.maidao.edu.news.sprin... | true |
6aee1e5c868e71ff8fd432c9dbcc96c4a689f90e | Java | GrizzlyDoc/BaseApplication | /app/src/main/java/com/grizzly/baseapplication/base/notifications/RegistrationIntentService.java | UTF-8 | 1,976 | 1.960938 | 2 | [] | no_license | package com.grizzly.baseapplication.base.notifications;
import android.app.IntentService;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.NonNull;
import android.support.v4.content.LocalBroadcastManager;
import com.google.firebase.iid.FirebaseInstanceId;
import com.grizzly.b... | true |
8ff8e80b36577a110b3fc391386d70df46b75afc | Java | WillTorres10/Middleware | /PC/src/Middleware/servidor.java | UTF-8 | 1,206 | 3.1875 | 3 | [] | no_license | package Middleware;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Scanner;
import Middleware.thread;
public class servidor {
private static String ipSoma;
private static String ipMultiplicacao;
/*
* Essa função será o servidor do middleware.
* A função main será apenas para esper... | true |
aefba3bf54527d590b80ab8302acc19e8dc79f1b | Java | AmyAssist/Amy | /core/src/main/java/io/github/amyassist/amy/core/console/SpeechConsole.java | UTF-8 | 1,591 | 2.265625 | 2 | [
"CC-BY-SA-3.0",
"Apache-2.0"
] | permissive | /*
* This source file is part of the Amy open source project.
* For more information see github.com/AmyAssist
*
* Copyright (c) 2018 the Amy project authors.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compl... | true |
3525e7526b156bd9ce5eb8e7a31a0cd08b5baa19 | Java | kradavar/Player | /src/view/AddPlaylistDialog.java | UTF-8 | 1,918 | 2.875 | 3 | [] | no_license | package view;
import controller.Controller;
import model.MusicLibrary;
import model.Playlist;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class AddPlaylistDialog extends JDialog{
MusicLibrary musicLibrary;
JLabel instructions;
JLabel pl... | true |
cb9b127c9003ca5eb72d22f868dbf2746b58aa3a | Java | basalt79/faf-java-server | /src/main/java/com/faforever/server/player/PlayerService.java | UTF-8 | 3,140 | 2.34375 | 2 | [] | no_license | package com.faforever.server.player;
import com.faforever.server.client.ClientService;
import com.faforever.server.entity.Player;
import com.faforever.server.game.PlayerGameState;
import com.faforever.server.stats.Metrics;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.actuate.metrics.CounterService... | true |
29d16bcf2113de8dcf2111e56adb306fc1bb449e | Java | TranNhatMinhxD/Iris | /src/main/java/com/volmit/iris/scaffold/data/IOAdapter.java | UTF-8 | 222 | 2.21875 | 2 | [] | no_license | package com.volmit.iris.scaffold.data;
import java.io.*;
public interface IOAdapter<T>
{
public void write(T t, DataOutputStream dos) throws IOException;
public T read(DataInputStream din) throws IOException;
}
| true |
61961433e8580b387ec09bed75ebdea88a1fd70f | Java | ZhenfeiCao/LeetCode | /205/src/Solution.java | UTF-8 | 661 | 3.3125 | 3 | [] | no_license | import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
class Solution {
public boolean isIsomorphic(String s, String t) {
int len = s.length();
Map<Character, Character> alt = new HashMap<>();
for(int i=0;i<len;i++){
char curS = s.charAt(i);
char cu... | true |
ea491eb776206af86c4eb9249ad13552e367c1c6 | Java | mukteshkrmishra/Design-Pattern-Examples | /src/com/designpatterns/facade/AnInnerClass.java | UTF-8 | 414 | 3.25 | 3 | [] | no_license | package com.designpatterns.facade;
public class AnInnerClass implements ComponentFacade {
@Override
public void doSomething() {
System.out.println("Let's say it's not possible to reach this class via your client class in a very large existing system, \n"
+ "but with an interface you know what method(s) must b... | true |
29a9a0f038cc6926ed48f40a2c64b51370125cf0 | Java | madama/crepuscolo | /crepuscolo-core/src/main/java/net/etalia/crepuscolo/check/Cache.java | UTF-8 | 1,325 | 2.640625 | 3 | [
"Apache-2.0"
] | permissive | package net.etalia.crepuscolo.check;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Declares that the value returned by this getter can be cached and does not need to
* be computed each time.
* <... | true |
51b5e5c3b3e6c6199683b78fc83733f537f99e0b | Java | Zhuyi731/xtuOJCode | /src/main/java/com/xtu/config/WebConfig.java | UTF-8 | 2,944 | 1.953125 | 2 | [] | no_license | package com.xtu.config;
import org.springframework.context.MessageSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.support.ResourceBundleMessageS... | true |
08661452efeb9e77cb1691b0a33ae6b43d35d1d8 | Java | SireHan/sail | /sail-service/jpa/src/main/java/com/study/spring/sail/modules/sys/jpaImpl/entity/SysArea.java | UTF-8 | 1,259 | 1.8125 | 2 | [] | no_license | package com.study.spring.sail.modules.sys.jpaImpl.entity;
import com.study.spring.sail.config.jpa.BaseAuditEntity;
import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
/**
* sys_area 系统地区表
*
* @author 韩炜
* @dat... | true |
e5ed14b92498531de5ab3708cd25f640d07c52ea | Java | CodeWindProgram/Group-12 | /ExamPerformanceModule V1/src/com/exampermodule/students/StudentDao.java | UTF-8 | 3,330 | 2.796875 | 3 | [] | no_license | package com.exampermodule.students;
import java.util.*;
import java.sql.*;
public class StudentDao {
public static Connection getConnection(){
Connection con=null;
try{
Class.forName("com.mysql.jdbc.Driver");
System.out.println("Driver loaded");
con = DriverManager.getConnection("jdbc:my... | true |
7e626b86c937d8c35a9a4e5b41c594bd2ad4f0fa | Java | algorithm006-class01/algorithm006-class01 | /Week_02/G20200343030561/Leetcode_046_561.java | UTF-8 | 904 | 3.21875 | 3 | [] | no_license | import java.util.*;
/*
* @lc app=leetcode.cn id=46 lang=java
*
* [46] 全排列
*/
// @lc code=start
class Solution {
List<List<Integer>> res = new ArrayList<>();
int l;
public List<List<Integer>> permute(int[] nums) {
l = nums.length;
backtrace(0, new ArrayList<Integer>() {{ for (int i : nu... | true |
af8148d0bdc1c3cb5e077ebdb8ed175d1ad49ba2 | Java | nepu-folkgroup/jbs | /src/jbs/dto/BackListInfo.java | UTF-8 | 1,508 | 2.046875 | 2 | [] | no_license | package jbs.dto;
import java.util.Date;
public class BackListInfo {
private String rno;//租单号
private String cuname;//客户用户名
private String suname;//员工用户名
private String autocard;//车牌号
private Date rdate;//租赁日期
private int rdays;//租赁天数
private Date bdate;//还车时间
private double realmoney;/... | true |
7faa5ee22b711301c0d13f713ed11d6441a01542 | Java | meperdomov/sed | /sed/src/main/java/co/com/simac/sed/cube/service/impl/QuantityOrdersServiceImpl.java | UTF-8 | 1,073 | 2.015625 | 2 | [] | no_license | package co.com.simac.sed.cube.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import co.com.simac.sed.cube.dao.OrderRepository;
import co.com.simac.sed.cube.service.QuantityOrdersService;
import co.com.simac.sed.kpiindicatormanagement.dao.KPI... | true |
74bb78c17be19c066ca806c00eefa1b158d90205 | Java | Yran23/cmfz | /src/main/java/com/baizhi/conf/ValidateCodeConf.java | UTF-8 | 303 | 1.546875 | 2 | [] | no_license | package com.baizhi.conf;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class ValidateCodeConf {
@Bean
public CreateValidateCode getCreateValidateCode() {
return new CreateValidateCode();
}
}
| true |
0282b343067b904a84a5c1bdff608773c9e1268b | Java | godwinjk/Debugger-plugin | /android-lib/debugger/src/main/java/com/godwin/debugger/networking/communication/ResponseManager.java | UTF-8 | 221 | 1.890625 | 2 | [
"Apache-2.0"
] | permissive | package com.godwin.debugger.networking.communication;
/**
* Created by Godwin on 5/7/2018 2:51 PM for plugin.
*
* @author : Godwin Joseph Kurinjikattu
*/
public interface ResponseManager {
String processResponse(String message);
}
| true |
0f728f435dcdb1ff2098575b8080f95542b8bb21 | Java | MaskerPRC/communitychest | /development/src/main/java/net/community/chest/net/proto/text/ssh/io/DefaultSSHProtocolHandler.java | UTF-8 | 2,273 | 2.03125 | 2 | [
"Apache-2.0"
] | permissive | /*
*
*/
package net.community.chest.net.proto.text.ssh.io;
import java.io.IOException;
import net.community.chest.net.TextNetConnection;
import net.community.chest.net.proto.text.ssh.SSHPacketHeader;
import net.community.chest.net.proto.text.ssh.SSHProtocol;
import net.community.chest.net.proto.text.ssh.SSHProtoco... | true |
43799191379c544e89441fd5bdc83bb82ecc29bc | Java | zhangtianhong511/collector | /src/main/java/com/kkwl/collector/configuration/RedisConfiguration.java | UTF-8 | 6,078 | 2.046875 | 2 | [] | no_license | package com.kkwl.collector.configuration;
import java.lang.reflect.Method;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cache.CacheManager;
import org.springframework.cache.annotation.CachingConfigurerSupport;
import org.springframework.cache.interceptor.KeyGenerator;
i... | true |
245c48ad8bd21a3949559babd12313d0856d5783 | Java | Purgen42/JavaRushTasks | /4.JavaCollections/src/com/javarush/task/task26/task2613/command/DepositCommand.java | UTF-8 | 1,758 | 2.671875 | 3 | [] | no_license | package com.javarush.task.task26.task2613.command;
import com.javarush.task.task26.task2613.CashMachine;
import com.javarush.task.task26.task2613.ConsoleHelper;
import com.javarush.task.task26.task2613.CurrencyManipulator;
import com.javarush.task.task26.task2613.CurrencyManipulatorFactory;
import com.javarush.task.ta... | true |
e4dfb7f6a0252bf4059c5896fdeb6a4e1a05a0a6 | Java | mdaraujo/CBD_NutriDB | /src/Data/ReceitasParser.java | UTF-8 | 3,001 | 2.984375 | 3 | [] | 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 Data;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.List;
import jav... | true |
a155c6eedc512efbf38aa12cd84c6d1fbd73e076 | Java | Coder-ACJHP/Media-Player | /src/Main.java | UTF-8 | 4,863 | 2.34375 | 2 | [] | no_license |
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.C... | true |
ddc61da7b69c6ec95a044a66cdd1860ac858a4f5 | Java | Vedenin/intellij-community | /platform/platform-impl/src/com/intellij/ide/ui/laf/intellij/WinIntelliJTextBorder.java | UTF-8 | 2,651 | 1.921875 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* 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 agre... | true |
4e74ad6028830e78e0be61e8cabfd558e0f972ed | Java | MohammedZaid20/calculator-project | /app/src/main/java/com/example/calcapp/MainActivity.java | UTF-8 | 2,618 | 2.796875 | 3 | [] | no_license | package com.example.calcapp;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
public class MainActivity extends AppCompatActivity {
EditText edittext1;
EditText edi... | true |
46c52710a3447137c42f21995db5fb3c146da6ea | Java | HarryR-P/Cyticket | /Frontend/CyTicketClient/app/src/main/java/com/example/cyticketclient/UI/AddRatingActivity.java | UTF-8 | 2,808 | 2.046875 | 2 | [] | no_license | package com.example.cyticketclient.UI;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RatingBar;
import com.android.volley.VolleyError;
import com.e... | true |
54b944dd6b3610e88956f0380ffae554d1d3405c | Java | zh-xiao/GJBaseLibrary | /library/src/main/java/tv/guojiang/core/network/cookie/ApiCookie.java | UTF-8 | 3,520 | 2.4375 | 2 | [] | no_license | package tv.guojiang.core.network.cookie;
import android.content.Context;
import android.content.SharedPreferences;
import android.text.TextUtils;
import com.franmontiel.persistentcookiejar.ClearableCookieJar;
import com.franmontiel.persistentcookiejar.PersistentCookieJar;
import com.franmontiel.persistentcookiejar.cac... | true |
df887f8b27f29bff47508cd4d41a3db46376c28f | Java | Trailblazerr1/rgh-3.0 | /android/src/main/java/com/example/root/jobsquare/jobcatagory.java | UTF-8 | 2,635 | 1.976563 | 2 | [] | no_license | package com.example.root.jobsquare;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.widget.Toast;
import com.android.volley.AuthF... | true |
2284374f8bbb103e1695f81c79cc7e6cc08f0559 | Java | nickman/heliosJMX | /src/main/java/com/heliosapm/jmx/expr/NestedIterator.java | UTF-8 | 4,495 | 2.390625 | 2 | [
"Apache-2.0"
] | permissive | /**
* Helios, OpenSource Monitoring
* Brought to you by the Helios Development Group
*
* Copyright 2014, Helios Development Group and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free softw... | true |
e67debb1afa3c3cf6a8b3cab661b2e67843b1920 | Java | Huge-Hammer/webSite-Learn-Demo | /src/main/java/website/lhc/heron/controller/RecruitmentController.java | UTF-8 | 2,110 | 2.0625 | 2 | [] | no_license | package website.lhc.heron.controller;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
impo... | true |
84ba48e5b07f997bccec91fa346a252f6e34807e | Java | bojackhorseman0309/ProyectoLenguajesDeCuarta | /InventarioLab/InventarioLab/src/interaccionBD/ManejoUsuario.java | UTF-8 | 18,005 | 2.53125 | 3 | [] | 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 interaccionBD;
import Objetos.Usuario;
import conexion.Conexion;
import java.sql.CallableStatement;
import java.sql.Connection... | true |
7346449ecb691015df948f06dfc87256164dac32 | Java | LinguoMalkavian/Bananagrams-AI | /SMAstar_Engine.java | UTF-8 | 3,686 | 3.546875 | 4 | [] | no_license | import java.util.ArrayList;
public class SMAstar_Engine extends SearchEngine {
private int memoryBound;
public SMAstar_Engine(Problem prob) {
super(prob);
this.setStrategy("SMAstar");
//determine the depth cutoff based on the kind of problem
if(prob instanceof BananagramsProblem){
memoryBound=((Banana... | true |
af7a9cb4b2c92365610832ad80306486d17f3a55 | Java | Aleks1997/MobilnaAplikacija_Projekt | /app/src/main/java/com/example/rit_projekt/Activities/SpremeniArtikelActivity.java | UTF-8 | 2,834 | 2.078125 | 2 | [] | no_license | package com.example.rit_projekt.Activities;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.w... | true |
e097101cce2c9ec2ccf17076950058259b72ed23 | Java | deviprasaddayal12/faiteasytrack | /app/src/main/java/com/faiteasytrack/views/EasytrackProgressButton.java | UTF-8 | 2,251 | 2.296875 | 2 | [] | no_license | package com.faiteasytrack.views;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.ProgressBar;
import android.widget.TextView;
import com.faiteasyt... | true |
749d3be0927f52ca6cf5e3d619cc6ea1108ef446 | Java | jolucama/triangulate-zones-microservice | /src/test/java/com/microservices/zones/service/TriangularZoneServiceTest.java | UTF-8 | 3,605 | 2.265625 | 2 | [
"MIT"
] | permissive | /*
* 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.microservices.zones.service;
import com.microservices.zones.exception.CoordinateOutOfZoneException;
import com.mic... | true |
34ab22ef4463231b9d0d8f614478591d1607bc46 | Java | gavinamy/holmos | /Holmos/Holmos-webtest/src/test/java/pagestore/SinaResultPage.java | UTF-8 | 341 | 1.75 | 2 | [] | no_license | package pagestore;
import holmos.webtest.struct.Page;
public class SinaResultPage extends Page{
public SinaResultPage(){
this.comment="新浪资料搜索结果页面";
this.init();
}
public ResultCollection result=new ResultCollection("新浪搜索结果");
{
result.addXpathLocator("html/body/div[2]/table");
}
}
| true |