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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
54cc150518a64a4ee489645a7925cea395cb031d | Java | 2017ddit202-1/Observer | /src/main/java/com/ddit/dao/Notice_ArticleDAO.java | UTF-8 | 1,848 | 1.890625 | 2 | [] | no_license | package com.ddit.dao;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.ddit.dto.Notice_ArticleVO;
public interface Notice_ArticleDAO {
public void iconUpdate(int noar_seq)throws SQLException;
public void iconUpdate_n(int noar_seq)throws SQLExce... | true |
2a2c610359634758e5aa70b7cf26ef7f6345769f | Java | davidJavac/halcones_diarios | /src/modelo/LogicaProveedores.java | UTF-8 | 4,031 | 2.234375 | 2 | [] | no_license | package modelo;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.swing.JTextField;
import controlador.ControladorZona;
import modelo_dao.AdministrativoDAO;
import modelo_dao.MotivoDAO;
import modelo_dao.ProveedorDAO;
import modelo_... | true |
0847e446949fe906c9dd51f436844750c9253af7 | Java | AleksVira/apetrov | /chapter_001/src/main/java/ru/job4j/NoDuplicate.java | UTF-8 | 1,055 | 3.6875 | 4 | [
"Apache-2.0"
] | permissive | package ru.job4j;
import java.util.Arrays;
/**
* Class NoDuplicate, task "5.3. Удаление дубликатов в массиве".
*
* @author apetrov
* @version 1
* @since 03.03.2017
*/
public class NoDuplicate {
/**
* Remove duplicates from array.
* All duplicates are moved to the end of the array, then the tail is... | true |
96aaee3d2990c7a0b45d14272d95672b60f52090 | Java | Revature-Overcharge-2nd-Iteration/rev-Overcharge | /rev_overcharge_sts/src/main/java/com/revature/overcharge/services/FeedbackService.java | UTF-8 | 461 | 2.0625 | 2 | [] | no_license | package com.revature.overcharge.services;
import java.util.List;
import com.revature.overcharge.beans.Feedback;
public interface FeedbackService {
public Feedback addFeedback(int deckId, Feedback f);
public Feedback getFeedback(int id);
public Feedback updateFeedback(Feedback newFeedback);
public b... | true |
50564805b1938a40afa5d95acdc022b1164ecf95 | Java | ouneno/Moopi_MainProject | /test/src/main/java/com/moopi/mvc/web/board/BoardRestController.java | UTF-8 | 1,001 | 2.109375 | 2 | [] | no_license | package com.moopi.mvc.web.board;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.moopi.mvc.service.board.... | true |
e9dc41d81f086af13201ad26244157e1a3d0dcec | Java | zhongxingyu/Seer | /Diff-Raw-Data/16/16_b96a105183135925ba1a2d0ea7695fc45f5cb412/WorkspaceSampler/16_b96a105183135925ba1a2d0ea7695fc45f5cb412_WorkspaceSampler_s.java | UTF-8 | 7,697 | 2.265625 | 2 | [] | no_license | package org.jboss.workspace.sampler.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.i18n.client.DateTimeFormat;
import static com.google.gwt.i18n.client.DateTimeFormat.getShortDateFormat;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.Image;
import c... | true |
fa714b63c58157fda7758755b3f446e9a4197d70 | Java | 666037/rbac | /src/main/java/com/kad/rbac/dal/sqlprovider/SqlOrganiseProvider.java | UTF-8 | 622 | 2.078125 | 2 | [] | no_license | package com.kad.rbac.dal.sqlprovider;
import com.kad.rbac.model.entity.vo.QueryOrganiseVO;
import org.springframework.util.StringUtils;
public class SqlOrganiseProvider {
public static String SelectOrganise(QueryOrganiseVO vo)
{
String sql="SELECT c.cmp_name,o.*,o.organise_id as id,o.organise_pid as... | true |
579c94e30d1ff5076fa4e83b51b80d1a779fdb20 | Java | DylanWang2020/PolymPic | /ActivityLauncher/src/main/java/com/knziha/polymer/pdviewer/PDocBenchMarkctivity.java | UTF-8 | 1,298 | 1.804688 | 2 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | package com.knziha.polymer.pdviewer;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import com.knziha.polymer.Toastable_Activity;
import com.knziha.polymer.Utils.CMN;
import java.io.File;
import java.io.IOException;
@Deprecated
public class PDocBenchMarkctivity extends Toastable_A... | true |
6d8dfbf4cc667e5265731aa0bf0e4c0c16a50527 | Java | joyceambrosio/BigPharma | /Project BigPharma/src/bigpharma/state/Consultando.java | UTF-8 | 3,381 | 2.15625 | 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 bigpharma.state;
import bigpharma.view.AbsViewCadastroItem;
import bigpharma.view.AbsViewCadastroPessoa;
import bigph... | true |
febfac5c8cfc1119b388b4cfa3b9f8d08bee4a37 | Java | elastisys/scale.commons | /util/src/main/java/com/elastisys/scale/commons/util/concurrent/Waiter.java | UTF-8 | 2,622 | 3.6875 | 4 | [
"Apache-2.0"
] | permissive | package com.elastisys.scale.commons.util.concurrent;
import java.util.Objects;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
/**
* A (thread-safe) synchronization tool that can be used when one or more
* {@link Thread}s wish to ... | true |
34749ccb7949acff75549b4a493a8ca53d8cc5a1 | Java | yinhong2016/financeservice | /src/main/java/com/sevencolor/domain/wx/dao/WxUserInfoMapper.java | UTF-8 | 850 | 1.96875 | 2 | [] | no_license | /**
* Copyright © 2016 Seven Color. All rights reserved.
*
* @Description: 微信用户数据库操作类,不需要写实现类(MapperScannerConfigurer创建代理实现)
* @author: yinhong
* @date: 2016年11月26日 上午11:16:17
* @version: V1.0
*/
package com.sevencolor.domain.wx.dao;
import org.springframework.stereotype.Repository;
import com.seve... | true |
fb007c26814da6dd842c73d771049b49e5c57b89 | Java | xda1212/xda_micp | /app/src/main/java/com/micp/im/adapter/RecommendUserAdapter.java | UTF-8 | 6,139 | 2.125 | 2 | [] | no_license | package com.micp.im.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.micp.im.R;
import com.micp.im.bean.RecommendUser;
imp... | true |
bf44c1e972bb2003e025e2f56b582407cf6e9a7a | Java | JoseAntonioLpz/proyectoIntegrado | /consultasMedicasApp/app/src/main/java/com/example/josea/consultasmedicas/CRUD/usuario/ReadUser.java | UTF-8 | 1,364 | 2.3125 | 2 | [] | no_license | package com.example.josea.consultasmedicas.CRUD.usuario;
import android.os.AsyncTask;
import android.util.Log;
import com.example.josea.consultasmedicas.util.Constantes;
import com.example.josea.consultasmedicas.util.Conversor;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org... | true |
52bd271d2cad1eb0fc24c62f9a63b32b54feb98c | Java | arraycto/bxycloud | /services/cms-service/src/main/java/com/boxiaoyun/cms/mapper/ArticleMapper.java | UTF-8 | 681 | 1.671875 | 2 | [
"Apache-2.0"
] | permissive | package com.boxiaoyun.cms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hysj.cms.client.model.entity.Article;
import com.opencloud.common.model.PageParams;
import org.spr... | true |
43df72390a7ca8ea718b91b5b7c549bec4fe5a78 | Java | mugezu/FirstWebApp-master | /src/main/java/util/Hiber/Model/BasketProductsEntity.java | UTF-8 | 2,799 | 2.40625 | 2 | [] | no_license | package util.Hiber.Model;
import javax.persistence.*;
import java.sql.Date;
/**
* Created by Роман on 16.06.2017.
*/
@Entity
@Table(name = "basket_products")
public class BasketProductsEntity extends AbstractModel {
private int idOrder;
private int countProduct;
private Date date;
private UserdbEnti... | true |
767ae7f7e52fdaa87cb798e3518472f81d83d583 | Java | Charity-Software-Organization/fastdjl | /mxnet/src/main/java/com/example/LinearRegression.java | UTF-8 | 8,913 | 2.59375 | 3 | [] | no_license | /*
* Copyright 2021 Apache All Rights Reserved.
*
* 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 o... | true |
f9987c49f4b7c249c6c4c3cc6274582fa3231552 | Java | serdioa/micrometer-registry-logback | /test-spring/src/main/java/de/serdioa/micrometer/spring/test/MetricsPublisherBean.java | UTF-8 | 3,382 | 1.96875 | 2 | [] | no_license | package de.serdioa.micrometer.spring.test;
import java.util.Map;
import de.serdioa.micrometer.test.CompositeMetricsPublisher;
import de.serdioa.micrometer.test.CounterPublisher;
import de.serdioa.micrometer.test.DistributionSummaryPublisher;
import de.serdioa.micrometer.test.FunctionCounterPublisher;
import de.serdio... | true |
4846a266f3cbf7624000e29fb8562e3fd6e91129 | Java | GilbertoRP/SemNomeAindaCartolaFC | /src/com/SemNomeAindaCartolaFC/Athletes/QuickSortAthletes.java | UTF-8 | 2,672 | 3.25 | 3 | [
"MIT"
] | permissive | package com.SemNomeAindaCartolaFC.Athletes;
import java.lang.reflect.Array;
import java.util.*;
/**
* Created by gilberto on 02/10/16.
*/
public class QuickSortAthletes implements SortAthletesAlgorithm{
Random rand = new Random();
@Override
public Athlete[] sort(Athlete[] athletes) {
List<Ath... | true |
7be4b4f106c5e194c65d029e470a9c894fe7399c | Java | yani89/MomoyGame | /src/com/golden/momoyfindpatch/Musuh.java | UTF-8 | 1,430 | 2.609375 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.golden.momoyfindpatch;
import java.awt.image.BufferedImage;
/**
*
* @author cyber-blackhat
*/
public class Musuh extends MomoySprite {
private double speed;
public Musuh (Momoy game,BufferedIm... | true |
6cb376b6ffb5ededa9d456aa3a846e0ca24db148 | Java | Jabberski/OnlineShop | /src/main/java/pl/cloth/shop/service/ItemEntityServiceImpl.java | UTF-8 | 390 | 2.046875 | 2 | [] | no_license | package pl.cloth.shop.service;
import pl.cloth.shop.model.ItemEntity;
import pl.cloth.shop.repository.ItemEntityRepository;
import java.util.List;
public class ItemEntityServiceImpl implements ItemEntityService {
private ItemEntityRepository itemEntityRepository;
@Override
public List<ItemEntity> getL... | true |
7094f172bda2299b1dc52aa4e3b75df5362b674c | Java | yuvarajmuthu/kmc | /src/main/java/com/kmc/db/model/PositionNeo.java | UTF-8 | 2,398 | 1.9375 | 2 | [] | no_license | package com.kmc.db.model;
import java.util.Date;
import java.util.Map;
import java.util.Set;
import org.neo4j.graphdb.Direction;
import org.springframework.data.neo4j.annotation.Fetch;
import org.springframework.data.neo4j.annotation.GraphId;
import org.springframework.data.neo4j.annotation.Indexed;
import org.sprin... | true |
b598eb245a6bc034c0510ed0fdb05842bb99b90b | Java | Sharankrishna1987/CurrencyConverterEngine | /src/main/java/com/org/anz/currencyconverter/main/CurrencyConverterImpl.java | UTF-8 | 1,765 | 2.40625 | 2 | [] | no_license | package com.org.anz.currencyconverter.main;
import java.math.BigDecimal;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.org.anz.currencyconverter.cache.CrossViaMatrixDataProvider;
import com.org.anz.currencyconverter.e... | true |
21dfdf6fce23950b04c527c8c064c82604b4f367 | Java | aogaga/edu-dsa | /recursion/RemoveDups.java | UTF-8 | 573 | 3.5 | 4 | [] | no_license | public class RemoveDups{
public static void main(String [] args){
System.out.println(deDup("Thiss iiss aa teesstt"));
System.out.println(deDup("Helllo Woorld"));
}
public static String deDup(String str){
if(str.length() == 1){
return str;
}
// if(str.charAt(0) == str.charAt(1)){
// return deD... | true |
2f70da5ed33002e4d965a00fd4b97f7c435e90aa | Java | fencian/AlthorithmTest | /src/offer/TreeNode/Print.java | UTF-8 | 1,659 | 3.640625 | 4 | [] | no_license | package offer.TreeNode;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
//请实现一个函数按照之字形打印二叉树,即第一行按照从左到右的顺序打印,第二层按照从右至左的顺序打印,第三行按照从左到右的顺序打印,其他行以此类推。
public class Print {
public ArrayList<ArrayList<Integer>> Print(TreeNode pRoot) {
ArrayList<ArrayList<Integer>> arrayLists =... | true |
28dc1e78f0e96bd241b37f193142a8d53262f0bd | Java | sengeiou/demo-1 | /sc-payment/sc-payment-service/src/main/java/com/yatang/sc/payment/vo/WeiXinRefundRequestVO.java | UTF-8 | 2,143 | 1.742188 | 2 | [] | no_license | package com.yatang.sc.payment.vo;
/**
* Created by yuwei on 2017/7/8.
*/
public class WeiXinRefundRequestVO {
private String mAppId;
private String mMchId;
private String mNonceStr;
private String mTransactionId;
private String mOutRefundNo;
private String mTotalFee;
private String mRefun... | true |
0f3a3b92ac085a6a99a0ea74786efe3e41059d59 | Java | gcross/Viewpoint | /src/main/java/viewpoint/event/TreeChangeListener.java | UTF-8 | 622 | 1.523438 | 2 | [] | no_license | //@+leo-ver=5-thin
//@+node:gcross.20110414143741.1449: * @file TreeChangeListener.java
//@@language Java
package viewpoint.event;
public interface TreeChangeListener extends java.util.EventListener {
public void treeNodeBodyChanged(NodeBodyChangedEvent event);
public void treeNodeChildInserted(ChildInsertedE... | true |
461f963b08966514ea9f585a104eb57c3a4cb830 | Java | AtulGarg28/spring-5-recipe-mysql-app | /src/test/java/com/atul/spring5recipeapp/services/RecipeServiceImplTest.java | UTF-8 | 3,823 | 2.375 | 2 | [] | no_license | package com.atul.spring5recipeapp.services;
import com.atul.spring5recipeapp.commands.RecipeCommands;
import com.atul.spring5recipeapp.converters.RecipeCommandsToRecipe;
import com.atul.spring5recipeapp.converters.RecipeToRecipeCommands;
import com.atul.spring5recipeapp.exceptions.NotFoundException;
import com.atul.sp... | true |
4f3193b23b00fa31b0ea4abdd6e9b344c6b81543 | Java | matrixglitch2021/tunuk-data-producer | /src/main/java/absfactories/PersistentQueueType.java | UTF-8 | 74 | 1.5 | 2 | [] | no_license | package absfactories;
public enum PersistentQueueType {
BERKLEY_DB
}
| true |
7e695ff7a4b61e84a1a00c570fe67093a6f027a4 | Java | TheMechanist1/GravityPhysicsSimulator | /src/main/java/com/mechanist/gravityphysicssimulator/Graphics/Renderer.java | UTF-8 | 2,003 | 2.46875 | 2 | [
"MIT"
] | permissive | package com.mechanist.gravityphysicssimulator.Graphics;
import com.mechanist.gravityphysicssimulator.Math.Matrix4f;
import com.mechanist.gravityphysicssimulator.Render.WindowController;
import com.mechanist.gravityphysicssimulator.WindowElements.BaseElement;
import com.mechanist.gravityphysicssimulator.WindowElements.... | true |
f90823ea73c22b33073ad7ab783d7cab2aa7fff4 | Java | alexDemidoff/encription_decription | /encryptdecrypt/enums/Algorithm.java | UTF-8 | 80 | 1.695313 | 2 | [] | no_license | package encryptdecrypt.enums;
public enum Algorithm {
SHIFT,
UNICODE
}
| true |
4c2c8349902327f46e3d4b4962f4e44f48cbbfac | Java | harry5z/Sanguosha | /src/ui/game/DelayedBarGui.java | UTF-8 | 2,058 | 3.078125 | 3 | [] | no_license | package ui.game;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Graphics;
import java.awt.Image;
import java.io.IOException;
import java.util.Stack;
import javax.imageio.ImageIO;
import javax.swing.JPanel;
import cards.Card;
import listeners.game.DelayedListener;
import utils.DelayedStackItem... | true |
43a79a1c86ae9d50faba716343f91a651a28c535 | Java | clodoaldoBasaglia/desenvolvimentoWeb | /WebService/src/webservice/BroadcastListener.java | UTF-8 | 5,052 | 2.6875 | 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 webservice;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAd... | true |
d3f3b27009f9a20a12b434cf56a6ee7162735fd8 | Java | azizdeves/good2go | /GOOD2GOSERVER/src/com/gdma/good2goserver/Good2GoPointComparator.java | UTF-8 | 1,036 | 3.171875 | 3 | [] | no_license | package com.gdma.good2goserver;
import java.util.Comparator;
/*
* Comparator for comparing distances between GeoPt-s in Event-s.
* Returns squared distance between points.
* 0 means it is the same point.
*/
public class Good2GoPointComparator implements Comparator<Event>{
private Good2GoPoint cent... | true |
ce9a736670471067e61c7233667f7d5e6e98b497 | Java | bisrael8191/RITProjects | /iss/NNIds/FormatData.java | UTF-8 | 2,753 | 3.203125 | 3 | [] | no_license | import java.io.BufferedReader;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Random;
/**
* FormatData.java
*
* Version:
* $Id: $
*
* Revisions:
* $Log: $
*
*/
/**
* Creates a normalized, fo... | true |
a22ec7c4de420c999420a511ce61df1da3920e41 | Java | ArtemMensh/AlarmClock2 | /app/src/main/java/com/example/a79021/alarmclock2/MyJobService.java | UTF-8 | 1,065 | 2 | 2 | [] | no_license | package com.example.a79021.alarmclock2;
import android.content.Intent;
import android.support.annotation.NonNull;
import com.firebase.jobdispatcher.FirebaseJobDispatcher;
import com.firebase.jobdispatcher.GooglePlayDriver;
import com.firebase.jobdispatcher.JobParameters;
import com.firebase.jobdispatcher.JobService;
... | true |
dcf522d54ab96f6c417e3e668349ff7d968ea181 | Java | hyUrbanManager/MaterialWeather | /app/src/main/java/com/hy/materialweather/ui/baseui/CityAllInfoUI.java | UTF-8 | 258 | 1.710938 | 2 | [] | no_license | package com.hy.materialweather.ui.baseui;
import com.hy.materialweather.model.json.HeWeather5;
/**
* 详情界面Activity实现的抽象接口
*/
public interface CityAllInfoUI extends FinalMessageWhatInt{
void infoOnCard(HeWeather5 heWeather5);
}
| true |
abe02e2e0757c3da2072a89b8781ccfd59eccc28 | Java | 15OlegMasuik/CourseJava | /ProgJavaStart/HW5Lv1/Home5T2.java | UTF-8 | 531 | 2.703125 | 3 | [] | no_license | package gmail.olegmasiuk;
import java.util.Arrays;
import java.util.Scanner;
/**
* Created by Marta on 06.11.2017.
*/
public class Home5T2 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("Inpute Size:");
int size = sc.nextInt();
... | true |
20bfb3abc37d4de362276c6887dabb11c8cfcac3 | Java | JesusMartinezCamps/Ejercicios-Dual-Java | /tresnumeros/src/tresnumeros/Tresnumeros.java | UTF-8 | 1,998 | 3.828125 | 4 | [] | 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 tresnumeros;
/**
*
* @author C
*/
import java.util.Scanner;
public class Tresnumeros {
/**
* @para... | true |
cf1e3da600d6c56e5a73c61a756d1687ae471535 | Java | mxsm/spring-sample | /mxsm-cglib/src/main/java/com/github/mxsm/cglib/EnhancerForSampleClassApplication.java | UTF-8 | 1,056 | 2.765625 | 3 | [] | no_license | package com.github.mxsm.cglib;
import net.sf.cglib.proxy.Callback;
import net.sf.cglib.proxy.Enhancer;
import net.sf.cglib.proxy.MethodInterceptor;
import net.sf.cglib.proxy.MethodProxy;
import java.io.File;
import java.io.FileReader;
import java.io.PushbackInputStream;
import java.lang.reflect.Method;
/**
* @autho... | true |
e8c89002edf56843caa1a2d785cf21870b72b326 | Java | tarif-mansuri/MobileAppWS | /src/main/java/com/appsdeveloperblog/app/ws/exceptions/CouldNotUpdateRecordExceptionMapper.java | UTF-8 | 739 | 1.914063 | 2 | [] | no_license | //$Id$
package com.appsdeveloperblog.app.ws.exceptions;
import javax.ws.rs.core.Response;
import javax.ws.rs.ext.ExceptionMapper;
import javax.ws.rs.ext.Provider;
import com.appsdeveloperblog.app.ws.ui.model.response.ErrorMessage;
import com.appsdeveloperblog.app.ws.ui.model.response.ErrorMessages;
@Provider
public ... | true |
b66069f5ed61e5027b8169549e559907adde4635 | Java | MarinaJechiuTI154/APPO | /Lab2/src/Comenzi.java | UTF-8 | 648 | 2.90625 | 3 | [] | no_license | import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class Comenzi<T> {
private List<T> list = list = new ArrayList<T>();
public Comenzi() {
}
public void setList(T object) {
list.add(object);
}
public List<T> getList(){
return list;
}
... | true |
dd48d77ec81f789c96f45c139ca1c740fecf1163 | Java | goWithHappy/JavaCodeBak | /TestServlet/src/SessionInfoServlet.java | GB18030 | 1,920 | 2.875 | 3 | [] | no_license | import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
/**
* session
* @author Admain
*
*/... | true |
a3d706f6835c7b734f83f9f4f52459f10d929d46 | Java | naoki-style/Algorithm | /Arrays_and_Strings/Question1_4/CheckAnagrams.java | UTF-8 | 1,441 | 3.65625 | 4 | [] | no_license | package Question1_4;
import java.util.Arrays;
public class CheckAnagrams {
private static String str1 = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
private static String str2 = "ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba";
/**
* @param args
*/
public static void main(String[] args... | true |
2b8e93939deacede9dc62e8acfb94a20f270391f | Java | tranletanphat-CDTH17PMC/DoAnAndroid | /app/src/main/java/com/example/doanandroid/ManHinhDangNhap/ManHinhChinh/ManHinhChinh_TroChoiMoi/TroChoiMoi.java | UTF-8 | 6,121 | 2.21875 | 2 | [] | no_license | package com.example.doanandroid.ManHinhDangNhap.ManHinhChinh.ManHinhChinh_TroChoiMoi;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextVi... | true |
4af924cb87fa8081174556effa44f38d8265a878 | Java | bobbyguo/iefp | /src/main/java/com/demandforce/iefp/spring/SpringConfiguration.java | UTF-8 | 2,434 | 1.695313 | 2 | [] | no_license | package com.demandforce.iefp.spring;
import java.util.List;
import org.hibernate.validator.constraints.NotEmpty;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.yammer.dropwizard.config.Configuration;
@SuppressWarnings({ "PMD.BeanMembersShouldSerialize" })
public class SpringConfiguration extends C... | true |
2967e536459db754ed645a2b3db109744815623c | Java | arshadalimd11/itemmgt | /src/main/java/com/dxctraining/itemapp/dao/ItemdaoImpl.java | UTF-8 | 812 | 2.515625 | 3 | [] | no_license | package com.dxctraining.itemapp.dao;
import com.dxctraining.itemapp.entities.Item;
import javax.persistence.Entity;
import javax.persistence.PersistenceContext;
import javax.persistence.EntityManager;
import com.dxctraining.itemapp.exceptions.*;
import org.springframework.stereotype.Repository;
@Repository
public clas... | true |
bb3888322630aba0c6291f2599706d7ce1a1d07f | Java | yannsilveira/engenhariaSoftware | /src/fatec/poo/view/PagamentoVieww.java | UTF-8 | 21,799 | 2.109375 | 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 fatec.poo.view;
import fatec.poo.model.Pagamento;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JOptio... | true |
b45dd7650182f403350155213db278751385b437 | Java | programmingGames/Tic-tac-toe | /game/src/login.java | UTF-8 | 16,872 | 2.234375 | 2 | [] | no_license | import java.rmi.RemoteException;
import javax.swing.JFrame;
/*
* 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.
*/
/**
*
* @author rafael
*/
public class login extends javax.swing.JFram... | true |
879a2051f085b97b0e78842ed9803b5c95882418 | Java | maelves/OOP_Labs | /Colocviu 2 - Nicoara Marusea Ioana/src/ProductRepository.java | UTF-8 | 750 | 2.984375 | 3 | [] | no_license | import java.util.HashMap;
import java.util.Map;
public class ProductRepository {
Map<String,Product> products ;
public ProductRepository() {
products = new HashMap<String,Product>();
}
public Product create(Product productX ) throws ValidationFailedException {
if(products.put(productX.... | true |
ac608c026d835a633d844b79d9ac7e32bcd038bc | Java | jeremy16601/blockchain | /src/main/java/com/blockchain/robot/service/api/DingHttpClient.java | UTF-8 | 743 | 1.882813 | 2 | [] | no_license | package com.blockchain.robot.service.api;
import com.blockchain.robot.entity.DingMessage;
import com.blockchain.robot.util.FeignConfiguration;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.Reques... | true |
b56389e58d1934e62b16f647d139c3b553d4ace9 | Java | Jaeger87/Botticelli | /src/com/botticelli/bot/request/methods/GetGameHighScoresRequest.java | UTF-8 | 750 | 2.34375 | 2 | [
"Beerware"
] | permissive | package com.botticelli.bot.request.methods;
import java.util.Map;
public class GetGameHighScoresRequest extends AbstractToSend{
private long user_id;
private int message_id;
public GetGameHighScoresRequest(String channelusername, long user_id, int message_id)
{
super(channelusername);
this.user... | true |
c5eb6b8bc92457e3c3ef062ecdee1daea53eb1e2 | Java | esuau/ladn | /server/src/main/java/fr/ladn/carsharingclub/ing1/db/ConnectionPool.java | UTF-8 | 4,741 | 3.578125 | 4 | [] | no_license | package fr.ladn.carsharingclub.ing1.db;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Properties;
import org.apache.log4j.Logger;
/**
* Brings essential utilities for conne... | true |
2ee2463d0524cca6d21995138835a59b27b87cd7 | Java | Xuanvin/DuAn114 | /app/src/main/java/com/example/duana/Adapter/LaptopAdapter.java | UTF-8 | 3,749 | 2.15625 | 2 | [] | no_license | package com.example.duana.Adapter;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Paint;
import android.os.AsyncTask;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
imp... | true |
5a44b8d031b455d0c53e16f8339df01fb5dcec2d | Java | kirankumard/nioserver | /src/my/server/model/ByteChunk.java | UTF-8 | 1,017 | 2.78125 | 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 my.server.model;
import java.nio.ByteBuffer;
/**
*
* @author kdevaras
*/
public class ByteChunk {
ByteBuffer bb;
... | true |
d2494d0eb05132201eb7fb0492d35271f357ae88 | Java | seddikR/ngApp | /src/main/java/com/tek/ngapp/service/mapper/AddressMapper.java | UTF-8 | 894 | 2.328125 | 2 | [] | no_license | package com.tek.ngapp.service.mapper;
import com.tek.ngapp.domain.*;
import com.tek.ngapp.service.dto.AddressDTO;
import org.mapstruct.*;
import java.util.List;
/**
* Mapper for the entity Address and its DTO AddressDTO.
*/
@Mapper(componentModel = "spring", uses = {})
public interface AddressMapper {
@Mappin... | true |
b1da6d1e3f57fb1cc2761d7b0700dccedc711616 | Java | trevorbye/ThoughtBubble | /src/main/java/com/trevorbye/POJO/PrincipalHalWrapper.java | UTF-8 | 518 | 2.390625 | 2 | [] | no_license | package com.trevorbye.POJO;
import java.security.Principal;
public class PrincipalHalWrapper extends HALResource {
private Principal principal;
public PrincipalHalWrapper() {
}
public PrincipalHalWrapper(Principal principal) {
this.principal = principal;
}
public Principal getPrinci... | true |
806d7a09219992f182d24de631b645176b8a5834 | Java | icenaked/newPlane | /src/ui/GamePanel.java | UTF-8 | 7,533 | 2.90625 | 3 | [] | no_license | package ui;
import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;
import java.io.IOException;
import java.util.List;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.image.BufferedImage;
import java.u... | true |
9cc89851b2aaa6a6f1d035cb608a86d6e155bf58 | Java | rollingdiceSonali/DeftDev_tab | /src/main/java/com/rollingdice/deft/android/tab/SensorAdapter.java | UTF-8 | 4,298 | 2.21875 | 2 | [] | no_license | package com.rollingdice.deft.android.tab;
import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import an... | true |
2fbd3f72cd64e697059082d62ec51c55c09fda2b | Java | dadisantosh/incture-zp-ereturns | /ereturns-infrastructure/src/main/java/com/incture/zp/ereturns/repositoriesimpl/RoleRepositoryImpl.java | UTF-8 | 822 | 2.09375 | 2 | [] | no_license | package com.incture.zp.ereturns.repositoriesimpl;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.incture.zp.ereturns.dto.RoleDto;
import com.incture.zp.ereturns.model.Role;
import com.incture.zp.e... | true |
28bd529a82c53db75135ce83de0769aa637f2602 | Java | android15dev/FDSA | /app/src/main/java/com/nkdroidsolutions/firedefence/web_api/UrlToBitmap.java | UTF-8 | 1,047 | 2.203125 | 2 | [] | no_license | package com.nkdroidsolutions.firedefence.web_api;
import android.graphics.Bitmap;
import android.os.AsyncTask;
import com.nostra13.universalimageloader.core.ImageLoader;
/**
* Created by Sahil on 17-07-2016.
*/
public class UrlToBitmap extends AsyncTask<String, String, Bitmap> {
GetBitmap getBitmap;
@Ove... | true |
3e3a1f4f154c902078b209d284d7e966eda2800e | Java | Telixia/Practice-Problems | /HashMap/MinWindowSubSeq.java | UTF-8 | 2,034 | 3.390625 | 3 | [] | no_license | package HashMap;
import java.util.HashMap;
import java.util.LinkedHashMap;
public class MinWindowSubSeq {
public static void main(String[] args){
//Find minimum string with in s1 with all characters of s2
String s1 = "abedcboamnpcba";
String s2 = "abc";
String answer = "";
... | true |
c4b7f4d62f5f811040c8d6f827ccef37bf6cd13c | Java | Yukikaze-Ai/IDedObjects | /src/myLinkedList.java | IBM852 | 2,872 | 4.0625 | 4 | [] | no_license | /*
* Name of the Student: Hongyun Du
* Class: CS3345
* Section:003
* Semester: Fall 2018
* Project 2
*/
public class myLinkedList<AnyType extends IDedObject> {
Node<AnyType> initial;
// default constructor
myLinkedList() {
initial = new Node<AnyType>(null, null);
}
// clean this list up
... | true |
ea72bacdabd83d533354a1b1a08c3d1ec31021f2 | Java | Irvayne/Codivision | /.svn/pristine/ea/ea72bacdabd83d533354a1b1a08c3d1ec31021f2.svn-base | UTF-8 | 3,762 | 2.28125 | 2 | [] | no_license | /**
*
*/
package br.ufpi.ppgcc.mi.core.extractor;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.concurrent.Callable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
imp... | true |
ba36cdad074fd1410614d82b650293e9d6e68d9f | Java | SarmadNazer/ChromeMenu | /library/src/main/java/xyz/aprildown/chromemenu/AppMenuCoordinatorImpl.java | UTF-8 | 2,470 | 2.140625 | 2 | [
"BSD-3-Clause"
] | permissive | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package xyz.aprildown.chromemenu;
import android.content.Context;
import android.view.View;
import android.view.ViewConfiguration;
/**
* A UI coordinat... | true |
7d872e96d26e1dd6a5e5a31425b98761b2d61d7f | Java | BrockGuru/Ecommerce | /ECommerceManagement/src/main/java/com/ecommercedemo/ecommerce/dto/ProductResponse.java | UTF-8 | 946 | 2.328125 | 2 | [] | no_license | package com.ecommercedemo.ecommerce.dto;
import java.util.List;
import com.ecommercedemo.ecommerce.entity.Product;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
*
* ProductResponse is used to send the product details
* @author User1
*
*/
public class ProductResponse {
@JsonPropert... | true |
355c0eeb485597a6a42025ba37ea45bd25c9ee9d | Java | nightwolf93/Wakxy-Core-Decompiled | /1_39_120042/com/ankamagames/wakfu/client/ui/dialog/FreeCollectMachineDialog.java | UTF-8 | 46,691 | 2.25 | 2 | [] | no_license | package com.ankamagames.wakfu.client.ui.dialog;
import java.util.*;
import com.ankamagames.xulor2.core.*;
import com.ankamagames.xulor2.util.*;
import java.awt.*;
import com.ankamagames.xulor2.appearance.spacing.*;
import com.ankamagames.xulor2.*;
import com.ankamagames.framework.graphics.image.*;
import com.ankamagam... | true |
14eabd805709d03b920c0666384150351b50a3e1 | Java | wj951812/myproject | /pinyougou-sellergoods-interface/src/main/java/com/pinyougou/sellergoods/service/BrandService.java | UTF-8 | 1,060 | 1.898438 | 2 | [] | no_license | package com.pinyougou.sellergoods.service;
/**
*品牌接口
* @author Administrator
*
*/
import java.util.List;
import java.util.Map;
import com.pinyougou.pojo.TbBrand;
import entity.PageResult;
public interface BrandService {
/**
* 查询所有
* @return
*/
public List<TbBrand> findAll();
/**
... | true |
5d5a6a63173ee0dbb1b7a85f5d3c1b98d4bf6947 | Java | Anraza-Valtieri/ICT2107-Lab03 | /src/BroadcastListenerThread/BroadcastListenerThread.java | UTF-8 | 1,541 | 2.921875 | 3 | [] | no_license | package BroadcastListenerThread;
import java.io.*;
import java.lang.management.ManagementFactory;
import java.net.*;
import java.util.*;
public class BroadcastListenerThread {
private long FIVE_SECONDS = 5000;
public void run(){
MulticastSocket multicastSocket = null;
try {
InetA... | true |
8ebe13e164a5c3d6fca2e698ddacf4ba8a4cc7b7 | Java | pgnDataBase/pgnDB | /src/main/java/com/engwork/pgndb/databasemanager/PSQLManagerImpl.java | UTF-8 | 3,196 | 2.640625 | 3 | [
"MIT"
] | permissive | package com.engwork.pgndb.databasemanager;
import com.engwork.pgndb.chessdatabases.ChessDatabasesManagementBean;
import com.engwork.pgndb.databasemanager.exceptions.PSQLManagerException;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStre... | true |
9002bfa09792890b98b5a0026ceaa5045f0e2849 | Java | 38606277/inv | /srv/src/main/java/root/report/control/wechat/WeChatControl.java | UTF-8 | 2,284 | 2.328125 | 2 | [] | no_license | package root.report.control.wechat;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import root.report.service.WeChatService;
import root.report.service.webchat.WeChatUtil;
import javax.servlet.http.Ht... | true |
e6f3d13a10aab69481800fdba856c795626d6be6 | Java | VINDA-98/yiqing | /service/service_msm/src/main/java/top/weidaboy/servicemsm/config/Myconfig.java | UTF-8 | 329 | 1.625 | 2 | [] | no_license | package top.weidaboy.servicemsm.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import top.weidaboy.servicemsm.util.EmailUtils;
@Configuration
public class Myconfig {
@Bean
public EmailUtils emailUtils(){
return new EmailUtils();... | true |
31c5877eca85dd3c14a15bd7997e8a2bd886c5c0 | Java | Drongma17/ted-jenkins | /src/main/java/com/thonglam/tedprojectbackend/dao/InvestmentRepository.java | UTF-8 | 351 | 1.890625 | 2 | [] | no_license | package com.thonglam.tedprojectbackend.dao;
import com.thonglam.tedprojectbackend.dto.Investment;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
public interface InvestmentRepository extends JpaRepository<Investment, Long> {
List<Investment> getInvestmentByInvestmentCategory... | true |
45709ef06f1ab31472eca08dd3342388e39f6cc1 | Java | ortal83cohen/hotels | /app-hotels/src/main/java/com/etb/app/adapter/RecentSearchesAdapter.java | UTF-8 | 2,841 | 2.3125 | 2 | [] | no_license | package com.etb.app.adapter;
import android.content.Context;
import android.content.res.Resources;
import android.database.Cursor;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CursorAdapter;
import android.widget.TextView;... | true |
3b93f9cd9471d4bba0e3ec1b8549ff346f4feb23 | Java | rudrasd29/iamrudra | /test-spin-game-master/src/test/java/io/mylabs/automation/util/PageLoadHelper.java | UTF-8 | 1,286 | 2.6875 | 3 | [] | no_license | package io.mylabs.automation.util;
import io.mylabs.automation.factory.DriverFactory;
import org.openqa.selenium.WebDriverException;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
public class PageLoadHelper {
p... | true |
a3057a209d9a4aad2cd72bceab29f7b10990b3eb | Java | Koreajh/code | /translationBot/src/main/java/com/naver/translationBot/TranslateMethod.java | UTF-8 | 8,708 | 2.421875 | 2 | [] | no_license | package com.naver.translationBot;
import java.util.ArrayList;
import java.util.HashMap;
import org.springframework.web.bind.annotation.RestController;
import com.memetix.mst.language.Language;
import com.memetix.mst.translate.Translate;
import com.mzsanford.cld.CompactLanguageDetector;
import com.mzsanford.cld.Languag... | true |
654d2b8849ac883c08f4df4763d43bbd30e7a9e5 | Java | Mr-duan/macaupassyear | /src/com/org/container/UserManager.java | UTF-8 | 4,612 | 2.296875 | 2 | [] | no_license | package com.org.container;
import java.sql.SQLException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import com.org.common.CommonConstant;
import com.org.dao.CommonDao;
import com.org.util.SpringUtil;
import com.org.utils... | true |
9f2ad7e921547a8a85215e1dacdf6b855afc6432 | Java | ngphloc/temp | /rim/3_implementation/src/net/rim/core/Kinetic.java | UTF-8 | 1,838 | 2.671875 | 3 | [] | no_license | package net.rim.core;
import javax.vecmath.Point3d;
/**
* @author Administrator2
* @version 1.0
* @created 04-Sep-2012 10:23:21 AM
*/
public abstract class Kinetic {
/**
*
*/
protected Point3d[] knots = new Point3d[0];
/**
*
*/
protected Robot robot = null;
/**
*
*/
protected doubl... | true |
39a98947c8e4d9a9f3858287d18b00cb52c1daf8 | Java | x-insane/AndroidExperiments | /3.Network-GhostSpider/app/src/main/java/com/xinsane/ghost/spider/data/Blog.java | UTF-8 | 401 | 1.921875 | 2 | [] | no_license | package com.xinsane.ghost.spider.data;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class Blog {
public static class Post implements Serializable {
public String title;
public String author;
public String content;
}
public List<Post> post... | true |
5afa4982d36c1e073ff6d60189418447c9dfe98a | Java | tentenponce/SectionScheduler | /src/sectionscheduler/EditSubjectForm.java | UTF-8 | 35,697 | 2.046875 | 2 | [] | no_license | /*
* Copyright © 2015 by Tenten Ponce - All Rights Reserved.
* This project or any portion thereof may not be reproduced
* or used in any manner, without the prior permission
* from the owner.
*/
package sectionscheduler;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.Logger;
import java.awt.... | true |
bcea1a539f1765f23b631cfb1059961da0587e4f | Java | enricooliva/PointOfSale-Java | /Test/source/ca/jbrains/example/LearnHowToHijackSystemOutTest.java | UTF-8 | 1,451 | 2.9375 | 3 | [] | no_license | package ca.jbrains.example;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.util.Arrays;
import java.util.Collections;
/**
* Created by enricooliva on 19/02/2017.
*/
public class LearnHowT... | true |
ba160a53f19924151211da785f193602ea3d2c0a | Java | swathibkl19/spring.highlogame | /src/main/java/com/zipcodewilmington/casino/controllers/cardgames/highlo/GamePlayerController.java | UTF-8 | 929 | 1.953125 | 2 | [] | no_license | package com.zipcodewilmington.casino.controllers.cardgames.highlo;
import com.zipcodewilmington.casino.services.cardgames.highlo.GamePlayerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariabl... | true |
ace0c38a55d96bd1732049458b6e143965850ca8 | Java | gustavoahc/meli-desafio-mutante | /src/main/java/com/meli/api/mutant/repository/StatRepository.java | UTF-8 | 634 | 2.078125 | 2 | [] | no_license | package com.meli.api.mutant.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import com.meli.api.mutant.model.*;
@Repository
public interface StatRepository extends JpaRepository<Stat, Lon... | true |
034453bc30120dceca64b24e733e05c08816b0ab | Java | henriquemeira/vaadin-by-example | /en/architecture/SpringBootSecurity/src/main/java/de/oio/service/impl/VaadinUIServiceImpl.java | UTF-8 | 554 | 1.921875 | 2 | [
"Unlicense",
"MIT"
] | permissive | package de.oio.service.impl;
import com.vaadin.ui.UI;
import de.oio.service.VaadinUIService;
import de.oio.ui.MainUI;
import de.oio.ui.events.NavigationEvent;
import de.oio.ui.views.AccessDeniedView;
public class VaadinUIServiceImpl implements VaadinUIService {
@Override
public void postNavigationEvent(Objec... | true |
1de2e6c863897553b50e560c98333abd4961d329 | Java | shreyasJoshi30/Immigos | /app/src/main/java/com/example/welcomebot/HospitalFragment.java | UTF-8 | 5,533 | 2.0625 | 2 | [] | no_license | package com.example.welcomebot;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import androidx.viewpager.widget.PagerAdapter;
import androidx.viewpager.widget.ViewPager;
import ... | true |
db508e856ff25ecdea135a6ad7355e7f4d590067 | Java | veeresh967/DialogEg | /app/src/main/java/com/veeresh/b37_dialogeg/MyDatePickerDialog.java | UTF-8 | 1,912 | 2.640625 | 3 | [] | no_license | package com.veeresh.b37_dialogeg;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.DialogFragment;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
imp... | true |
c8f7203937ea39f087b8e01d97b2ad4e582808be | Java | MkhytarMkhoian/Shoppist | /presentation/src/main/java/com/justplay1/shoppist/features/category/add/AddCategoryPresenter.java | UTF-8 | 6,264 | 2 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | /*
* Copyright (C) 2016 Mkhytar Mkhoian
*
* 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 a... | true |
136192506b4602f79ca562253a678b2fa034b4b8 | Java | shevelin/simple_orders | /jpa_dao_impl/src/test/java/com/scotch/simpleorders/dao/impl/JpaCommodityDaoTest.java | UTF-8 | 8,768 | 2.3125 | 2 | [] | no_license | package com.scotch.simpleorders.dao.impl;
import com.scotch.simpleorders.entity.Category;
import com.scotch.simpleorders.entity.Commodity;
import org.dbunit.Assertion;
import org.dbunit.dataset.IDataSet;
import org.dbunit.dataset.ITable;
import org.dbunit.dataset.filter.DefaultColumnFilter;
import org.dbunit.operation... | true |
fd5ec51d3779d35998fdbcbea15c659155913697 | Java | Paramyth/javafx | /games/src/games/sokoban/sokoban3/SokobanFX.java | UTF-8 | 5,639 | 2.546875 | 3 | [] | no_license | package games.sokoban.sokoban3;
import games.IUpdateable;
import games.PersistableController;
import games.UndoableController;
import games.imagegrid.GridListener;
import games.imagegrid.ImageGridGame;
import games.imagegrid.ObservableGrid;
import javafx.fxml.FXML;
import javafx.geometry.Side;
import javafx.scene.inpu... | true |
5621235f86b4dcd8cb6d216796a79cb2334fb112 | Java | 1095309465/ReceptionEvaluation | /app/src/main/java/com/jhzy/receptionevaluation/ui/bean/History.java | UTF-8 | 582 | 2.125 | 2 | [] | no_license | package com.jhzy.receptionevaluation.ui.bean;
/**
* Created by Administrator on 2017/2/28.
*/
@Deprecated
public class History {
private String date;
private String content;
public History(String date, String content) {
this.date = date;
this.content = content;
}
public String... | true |
d6d0720dc12c25f70d2c0f4ff41086e8187697ac | Java | prem561/clic | /clicservices/src/main/java/com/clic/model/Category.java | UTF-8 | 1,038 | 2.28125 | 2 | [] | no_license | package com.clic.model;
public class Category {
private String brandID;
private String productID;
private String categoryID;
private String description;
private String categoryName;
private String status;
public String getProductID() {
return productID;
}
public void setProductID(String productID) {
th... | true |
b1bd0345b5eba2aa8dea910a01d0eac748e63652 | Java | Nourhann/AllHandmade | /springBoot/src/main/java/com/AllHandmade/config/MongoDBConfig.java | UTF-8 | 1,158 | 2.140625 | 2 | [] | no_license | package com.AllHandmade.config;
import com.AllHandmade.entity.Admin;
import com.AllHandmade.entity.Item;
import com.AllHandmade.repository.AdminRepository;
import com.AllHandmade.repository.ItemRepository;
import org.springframework.boot.CommandLineRunner;
import org.springframework.context.annotation.Bean;
import o... | true |
907fb38f0264b70fd91559e4f2a0b1b6a7847c84 | Java | Cristian-Ayala/guia07 | /guia07/src/test/java/sv/edu/uesocc/ingenieria/prn335_2018/flota/guia07/control/UtilidadesTest.java | UTF-8 | 7,201 | 2.40625 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package sv.edu.uesocc.ingenieria.prn335_2018.flota.guia07.control;
import java.util.ArrayList;
import java.util.List;
import javax.per... | true |
8282536dd66041ff27b08499b0a4cf88c47e735b | Java | happyjosh/ImageEditText | /sample/src/main/java/com/jph/imageedittext/sample/CustomImageEditText.java | UTF-8 | 2,952 | 2.078125 | 2 | [] | no_license | package com.jph.imageedittext.sample;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import c... | true |
2603f1c095343ecf96e9156fc70dcbde7aa4d20d | Java | bilalkocak/VeriYapilariDersUygulamalari | /heapTree/src/heapTree/heapNode.java | UTF-8 | 116 | 2.140625 | 2 | [] | no_license | package heapTree;
public class heapNode {
int icerik;
public heapNode(int icerik){
this.icerik=icerik;
}
}
| true |
2fb171f5c9bae15e448e815107174061b4206aca | Java | harshil007/ChatMate | /app/src/main/java/startup/com/chatmate/ChatDBHelper.java | UTF-8 | 4,089 | 2.546875 | 3 | [] | no_license | package startup.com.chatmate;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Dishank on 4/23/2016... | true |
96112c338a290cba2ac12486dbb14016b52527ec | Java | masler77/json_jackson | /src/main/java/json/treeModelRead.java | UTF-8 | 2,120 | 2.75 | 3 | [] | no_license | package json;
import java.io.File;
import java.io.IOException;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
public class treeModelRead {
public static void main(String[] args) {
ClassLoader classLoad... | true |
9654de4339dbcbea787586c0bc61e9fdb8abc07c | Java | LucianAlexander/Racer2 | /asd/tex/2011_03_04.java_(ex._2).java | UTF-8 | 1,920 | 3.46875 | 3 | [] | no_license | // Esame del 4 marzo 2011, esercizio 2
// Ricordarsi di specificare sempre, nei commenti al codice, l'utilità di ogni metodo.
interface Map<K, V>
{
public static final int HORNER_Z = 33;
public Entry<K, V> get(K key);
public Entry<K, V> put(K key, V value);
public Entry<K, V> remove(K key);
public int s... | true |
8175421507fb0437bddb819526acba0a121f263a | Java | saurabhks-fixstream/Zava_Zractice | /src/main/java/com/leetcode/javapractice/IsSubsequence.java | UTF-8 | 502 | 3.21875 | 3 | [] | no_license | package com.leetcode.javapractice;
public class IsSubsequence {
public static boolean isSubsequence(String s, String t) {
int prev = -1;
for (char c : s.toCharArray()) {
int idx = t.indexOf(c, prev + 1);
if (idx == -1 || idx <= prev) {
return false;
... | true |
bae1dfee4c71e5470807f03cc9898e0879f3122e | Java | Alnton/AnneiceRepository | /自己搭建的框架/Eclipse框架/MyFrameResource/src/com/alnton/myFrameResource/util/priceEtalon/TextWatcherPriceListener.java | UTF-8 | 492 | 1.890625 | 2 | [] | no_license | package com.alnton.myFrameResource.util.priceEtalon;
import android.text.Editable;
import android.view.View;
public interface TextWatcherPriceListener {
public void onTextChanged(CharSequence s, int start, int before, int count);
public void beforeTextChanged(CharSequence s, int start, int count, int after);
publ... | true |
4ba28933b935c8a0a367900ad4f5a29448a758e2 | Java | smolamarcin/Java8Exercises | /src/main/java/com/smola/engineers/Filter.java | UTF-8 | 230 | 2.0625 | 2 | [] | no_license | package com.smola.engineers;
import java.util.Collection;
import java.util.Map;
import java.util.function.Predicate;
interface Filter<K, V, E> {
Map<K, V> filter(Collection<E> toFilter, Predicate<? super E> predicate);
}
| true |