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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
2e784c734f1bb7a68f20c6803072c2c87af7eaf6 | Java | Viral-patel703/Testyourbond-aut0 | /lib/selenium-server-standalone-3.4.0/org/seleniumhq/jetty9/servlet/Invoker.java | UTF-8 | 8,009 | 1.976563 | 2 | [] | no_license | package org.seleniumhq.jetty9.servlet;
import java.io.IOException;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.UnavailableException;
import javax.servlet.http.Http... | true |
36eb5e9ba6a81b86cebf1e67a5516282418c942d | Java | ShaneMckenna23/cs4227-client | /src/main/java/com/cs4227/framework/filehandler/BaseContext.java | UTF-8 | 243 | 2.03125 | 2 | [] | no_license | package com.cs4227.framework.filehandler;
public class BaseContext {
private String method;
public String getMethod() {
return method;
}
public void setMethod(String method) {
this.method = method;
}
}
| true |
be15fb232fa64db8a87eb3bfbac50a8e5b92cb21 | Java | jayramrout/Batch30 | /CoreJava/src/basics/method/MethodsExample.java | UTF-8 | 858 | 4.0625 | 4 | [] | no_license | package basics.method;
public class MethodsExample {
public static void main(String[] args) {
int a = 10;
int b = 20;
// output of the above a and b will be added to c
MethodsExample methodsExample = new MethodsExample();
int result = methodsExample.add(a,b);
int ... | true |
6e5544eb7cab78ab814f1aac131790bdcf8bd635 | Java | WoogLim/OurHouse | /src/ourhouse/common/vo/QnaListVO.java | UTF-8 | 2,481 | 2.3125 | 2 | [] | no_license | package ourhouse.common.vo;
/**
* 홈 화면 (사진화면) 리스트 조회용 VO
* @author 이경륜
*/
public class QnaListVO{
private String postDate ; // 사진글 게시일
private int postNo ; // 사진글 번호
private String postTitle ; // 회원소개글
private String postContent ; // 프사경로
private int postView ... | true |
eaf601e0ee5fe063bf873de1c0bb7215f6bc89ec | Java | marappan/BaseProject | /compliance/src/main/java/com/bob/compliance/controller/ClientController.java | UTF-8 | 2,532 | 2.40625 | 2 | [] | no_license | package com.bob.compliance.controller;
import java.util.List;
import org.apache.log4j.Logger;
import org.codehaus.jackson.map.ObjectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframe... | true |
6d3a59cd3af0bcbfa6dda506a310e99d19f67723 | Java | Indigotin/DataStructure | /DSProject/src/Project4/MyLinkedList/MyLinkedListPane.java | UTF-8 | 8,401 | 3.03125 | 3 | [] | no_license | package Project4.MyLinkedList;
import javafx.application.Application;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.TextField;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Pane;
import javafx.... | true |
9202a99a2b1b04d52041e902efc4bce7936982fa | Java | AY2021S2-CS2103T-W15-3/JJIMY | /src/main/java/seedu/address/storage/order/JsonSerializableOrderBook.java | UTF-8 | 1,664 | 2.828125 | 3 | [
"MIT"
] | permissive | package seedu.address.storage.order;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
import seedu.address.commons.exceptions.IllegalValueException;
impor... | true |
51ade33de31814d40ebe3c7f4e9e2f7dfd68a131 | Java | Vikki111/SpringBootApp | /lab1/src/main/java/sprboot/service/CompositionService.java | UTF-8 | 464 | 1.976563 | 2 | [] | no_license | package sprboot.service;
import sprboot.model.Composition;
import java.util.List;
public interface CompositionService {
void save(Composition composition);
Composition getById(int id);
void update(Composition composition);
List<Composition> findAll();
void delete(int id);
List<Composition> f... | true |
09f3c2118114d5db1c2bf4d8afa1c82b8a7c89e9 | Java | vcampanholi/ampere-web | /src/main/java/com/vandersoncamp/ampereweb/service/CalculoCorrenteService.java | UTF-8 | 601 | 1.773438 | 2 | [] | no_license | package com.vandersoncamp.ampereweb.service;
import com.vandersoncamp.ampereweb.model.CalculoCorrente;
import com.vandersoncamp.ampereweb.util.GenericDao;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
import javax.inject.Inject;
@Stateless
@TransactionA... | true |
8981d46cbc3921bf2231f5a3b134da7b92b9fbbe | Java | caik123/mail_template | /mail_template_server/src/main/java/com/ghostkang/mail_template_server/dao/GoodDao.java | UTF-8 | 568 | 1.804688 | 2 | [] | no_license | package com.ghostkang.mail_template_server.dao;
import com.ghostkang.mail_template_server.bean.good.GoodVo;
import com.ghostkang.mail_template_server.bean.good.ListRequest;
import com.ghostkang.mail_template_server.bean.good.ListResponse;
import com.ghostkang.mail_template_server.domain.Good;
import com.ghostkang.mail... | true |
d1c2fdb28907add9b023df9b404f747b2d6c6ebc | Java | alfisyar520/Fit-Pack | /app/src/main/java/com/example/fitpack/Model/User.java | UTF-8 | 1,220 | 2.34375 | 2 | [] | no_license | package com.example.fitpack.Model;
public class User {
private String id;
private String username;
private String imageUrl;
private String kategori;
private String tglLahir;
public User() {
}
public User(String id, String username, String imageUrl, String kategori, String tglLahir) {
... | true |
1cbf03eaf9fd1e39884a66e3eab9b21f2328ad17 | Java | mahmoudEldeeb/SmartWare | /app/src/main/java/com/m_eldeeb/smartware/Contact.java | UTF-8 | 3,335 | 2.296875 | 2 | [] | no_license | package com.m_eldeeb.smartware;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditTex... | true |
c6bd2382bc29c0b8a6de8473796d7a32d8d43684 | Java | vidyabhisol/SRCalculator | /SRCalculator/src/main/java/com/vidyabisol/srcalculator/fragment/ElliottFragment.java | UTF-8 | 16,938 | 2.15625 | 2 | [] | no_license | package com.vidyabisol.srcalculator.fragment;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.inputmethod.EditorInfo;
import android.view.inputmethod.Inpu... | true |
12ff8da0a93edc715736aac6afdd7c7ee47408cd | Java | Neidschel/OPRAufgaben | /OPR2_UE06_NiglM_MC12028/src/at/fhhgb/mc/Aufgabe02/Abstract/AbstractMember.java | UTF-8 | 2,804 | 3.84375 | 4 | [] | no_license | package at.fhhgb.mc.Aufgabe02.Abstract;
/**
* All sections and members inherit the methods of this class. It's the skeletal
* structure of the whole section and member administration.
*
* All values of the member (income, costs, name) are stored here.
*
* @author Michael Nigl
* @version 1.1
*/
public abstrac... | true |
fde2bfaf3e1ef15949a89a6be95300af8cf08fe7 | Java | konglinghai123/his | /his-inner-interface/src/main/java/cn/honry/inner/inpatient/nurseInfoPack/service/impl/NurseInfoPackInInterServiceImpl.java | UTF-8 | 4,851 | 1.914063 | 2 | [] | no_license | package cn.honry.inner.inpatient.nurseInfoPack.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Tran... | true |
54dc109829cc228950006093b7fd46d220ad6553 | Java | coolhy123/jwt- | /src/main/java/com/hydu/controller/LoginController.java | UTF-8 | 2,042 | 2.34375 | 2 | [] | no_license | package com.hydu.controller;
import com.hydu.config.JwtUtil;
import io.jsonwebtoken.Claims;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.Map;
/**
* Created on ... | true |
e027b3b467b49322a1ed21d7115602d99a8d53b7 | Java | h474lab/habits-builder | /app/src/main/java/com/example/habitsbuilder/DailyTaskFragment.java | UTF-8 | 5,156 | 2.234375 | 2 | [] | no_license | package com.example.habitsbuilder;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CalendarView;
import androidx.annotation.NonNull;
import and... | true |
6c12f5da6450abb41db8226dfce002ce33e7fcea | Java | 445672428/cvf | /cvf/src/main/java/com/hibernate/pojo/Gysypml.java | UTF-8 | 1,355 | 2.09375 | 2 | [] | no_license | package com.hibernate.pojo;
/**
* Gysypml entity. @author MyEclipse Persistence Tools
*/
public class Gysypml implements java.io.Serializable {
// Fields
private String id;
private Ypxx ypxx;
private String usergysid;
private String vchar1;
private String vchar2;
// Constructors
/** default constructor ... | true |
d114a69eb168e33b92b88c5353a37786f5d2cc30 | Java | robotman2412/fabric_litemod | /src/main/java/com/robotman2412/litemod/block/itemduct/util/PathBit.java | UTF-8 | 584 | 2.234375 | 2 | [
"CC0-1.0"
] | permissive | package com.robotman2412.litemod.block.itemduct.util;
import net.minecraft.block.entity.BlockEntity;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Direction;
public class PathBit {
public BlockPos pos;
public BlockEntity blockEntity;
public Direction directionFromPrevious;
public PathB... | true |
796009c7ae8f9bad7112624a1bb45541faf089e8 | Java | bellmit/self | /yimao/yimao-system/src/main/java/com/yimao/cloud/system/controller/waterdevice/SimCardAccountController.java | UTF-8 | 3,243 | 2.203125 | 2 | [] | no_license | package com.yimao.cloud.system.controller.waterdevice;
import com.yimao.cloud.base.exception.BadRequestException;
import com.yimao.cloud.pojo.dto.water.SimCardAccountDTO;
import com.yimao.cloud.pojo.vo.PageVO;
import com.yimao.cloud.system.feign.WaterFeign;
import io.swagger.annotations.Api;
import io.swagger.annotati... | true |
973c49e193487a75d5601b62b56b55b702563156 | Java | Midalas/leetCode | /leetCode697.java | UTF-8 | 1,075 | 3.359375 | 3 | [] | no_license |
package leetCode;
import java.util.ArrayList;
import java.util.List;
public class leetCode697 {
public static void main(String[] args) throws Exception {
int[] nums = { 1, 2, 2, 3, 1, 4, 2 };
int x = findShortestSubArray(nums);
System.out.println();
}
//runtime 45ms
public static int findShortestSubArray... | true |
47d3f3de11ec11ef348b17252fc83aee7bb554a6 | Java | richard-nguyen22/tendering-system-object-oriented-java | /tendering-system-text-data/src/GUI/OfficerGUI.java | UTF-8 | 24,990 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | package GUI;
import classes.Login;
import classes.Officer;
import classes.Staff;
import classes.Tender;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
public class OfficerGUI extends javax.swing.JFrame {
Staff officer = main.staff;
/*... | true |
5882d8eed7a953f0514f4a4e2d378562dcd3eaff | Java | RashmiKute/Automation_Repository-6th-jan-19- | /BasicCoreJava/src/oops/abstraction/Citi.java | UTF-8 | 376 | 2.515625 | 3 | [] | no_license | package oops.abstraction;
public class Citi implements RBI {
public void savingsAccount() {
System.out.println("Citi Saving account");
}
public void currentAccount() {
System.out.println("Citi Current account");
}
public void creditCard()
{
System.out.println("Citi Credit card");
}
public void debit... | true |
42309ca3c36e5e5ba9c5919669d5e0706d806a19 | Java | OlegChapurin/innopolis | /src/main/java/part01/lesson06/task02/Text.java | UTF-8 | 6,062 | 3.640625 | 4 | [] | no_license | package part01.lesson06.task02;
import java.util.ArrayList;
import java.util.Random;
/**
* Creates a file and fills in a random way
*
* @author Oleg_Chapurin
*/
public class Text implements TextGenerator {
/**
* Letter string
*/
private String listLetters = "abcdefghijklmnopqrstuvwxyz";
/**
... | true |
38a506274f4f4615ea16a55efcdb78d3b50c8848 | Java | ddumesle/MyMovies | /app/src/main/java/com/example/mymovies/activities/MainActivity.java | UTF-8 | 6,003 | 2.40625 | 2 | [] | no_license | package com.example.mymovies.activities;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
imp... | true |
917b62fc75918785938bdec65c73d8676ea47e67 | Java | C71-S3-Tim/C71-S3-Tim-Project-demo | /C71-S3-Tltbm-take-out/src/main/java/com/yc/spirngboot/takeout/admin/web/admIndexAction.java | UTF-8 | 4,073 | 1.914063 | 2 | [] | no_license | package com.yc.spirngboot.takeout.admin.web;
import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springfra... | true |
f2c7a40b784607d71dc96559c23ac141f617b6eb | Java | 1qase4/zhike_koubei | /src/main/java/com/czc/bi/util/ExportData.java | UTF-8 | 6,328 | 2.59375 | 3 | [] | no_license | package com.czc.bi.util;
import com.czc.bi.pojo.excel.DataRow;
import org.apache.poi.hssf.usermodel.*;
import org.apache.poi.hssf.util.HSSFColor;
import java.beans.IntrospectionException;
import java.beans.PropertyDescriptor;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.lang.reflect.F... | true |
2c14248312950d4e069096bf9a6d10d517548ff0 | Java | wangxuelong/design-patterns | /proxy-pattern/src/main/java/com/wxl/design/patterns/proxy/v2/MyRemote.java | UTF-8 | 293 | 2.109375 | 2 | [] | no_license | /**
*
*/
package com.wxl.design.patterns.proxy.v2;
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
*
* @author Wang XueLong
* @Date 2017年3月15日 下午9:03:54
*/
public interface MyRemote extends Remote {
public String sayHello() throws RemoteException;
}
| true |
c4c319a155a5206fee8ac6bdd62cf165c503d1fb | Java | a11enyang/TrainBookingSystemAdministratorBackEnd | /src/main/java/com/bupt/trainbookingsystem/dao/LogRespository.java | UTF-8 | 306 | 1.71875 | 2 | [] | no_license | package com.bupt.trainbookingsystem.dao;
import com.bupt.trainbookingsystem.entity.LoginfoEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface LogRespository extends JpaRepository<LoginfoEntity,Integer> {
}
| true |
1c32ab0c559bcd702e0584f0b4fdc4fd1e22c90c | Java | xformation/cms-backend | /src/main/java/com/synectiks/cms/graphql/types/BankAccounts/UpdateBankAccountsPayload.java | UTF-8 | 282 | 1.726563 | 2 | [] | no_license | package com.synectiks.cms.graphql.types.BankAccounts;
import com.synectiks.cms.domain.BankAccounts;
public class UpdateBankAccountsPayload extends AbstractBankAccountsPayload {
public UpdateBankAccountsPayload(BankAccounts bankAccounts) {
super(bankAccounts);
}
}
| true |
f342a6538bebd2d3809b497854c29c30f72a7718 | Java | pfirmstone/JGDMS | /qa/src/org/apache/river/test/spec/config/configurationexception/ToString_Test.java | UTF-8 | 4,018 | 2.46875 | 2 | [
"Apache-2.0",
"CC-BY-SA-3.0",
"MIT",
"BSD-3-Clause"
] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... | true |
7f07f73163da48ede5d70a12a8e3fd4ef70596bd | Java | kingwarluo/testZK | /src/main/java/com/设计模式/biz/excel/handler/ExcelCheckDataHandler.java | UTF-8 | 651 | 2.40625 | 2 | [] | no_license | package com.设计模式.biz.excel.handler;
import com.设计模式.biz.excel.ExcelImportUtil;
import lombok.Data;
import org.apache.poi.ss.usermodel.Row;
import java.util.List;
import java.util.concurrent.Callable;
/**
* @description:校验数据格式是否正确
*
* @author jianhua.luo
* @date 2019/7/29
*/
@Data
public class ExcelCheckDataHand... | true |
8f1295e5f704e2cbf549d9efea032aae422f0f79 | Java | monika32/Intoduction | /Batting.java | UTF-8 | 394 | 3.25 | 3 | [] | no_license | import java.util.Scanner;
public class Batting {
public static void main(String[] args) {
Scanner s=new Scanner(System.in);
System.out.println("enter no of runs ,innings played and no of times not out:");
int run=s.nextInt();
int innings=s.nextInt();
int notout=s.nextInt();
s.close();
double avg=(run/(i... | true |
c575e8f592f2baf2049d669be331d04cf1449849 | Java | changer2014/hiloGitTest | /hilo-service/src/main/java/com/hilo/service/api/confiuration/security/JwtTokenProvider.java | UTF-8 | 3,576 | 2.515625 | 3 | [] | no_license | package com.hilo.service.api.confiuration.security;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import org.springframework.stereotype.Component;
import com.hilo.service.api.model.UserInfo;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.SignatureAlgorith... | true |
04264178e872375177eaa024507d9cfce61ae267 | Java | elimlk/MotoRoutes | /app/src/main/java/com/motoroutes/model/AppRepository.java | UTF-8 | 8,791 | 2.09375 | 2 | [] | no_license | package com.motoroutes.model;
import android.app.Application;
import android.widget.Toast;
import androidx.annotation.NonNull;
import androidx.lifecycle.MutableLiveData;
import com.google.android.gms.tasks.OnCompleteListener;
import com.google.android.gms.tasks.Task;
import com.google.firebase.auth.AuthResult;
impor... | true |
253a3dd54716759355254dbc311501e2f1e502b3 | Java | fjh658/bindiff | /src_cfr/com/google/security/zynamics/zylib/gui/zygraph/proximity/MultiEdgeHider.java | UTF-8 | 2,230 | 2.15625 | 2 | [] | no_license | /*
* Decompiled with CFR 0_115.
*/
package com.google.security.zynamics.zylib.gui.zygraph.proximity;
import com.google.security.zynamics.zylib.gui.zygraph.edges.IViewEdge;
import com.google.security.zynamics.zylib.gui.zygraph.helpers.IEdgeCallback;
import com.google.security.zynamics.zylib.gui.zygraph.helpers.INodeC... | true |
f79d9f7de7209ccb42c2e5e84bfc6bf2ecbfb9d9 | Java | pazzainfer/DMD | /DbDesigner/src/com/leven/dmd/pro/nav/action/pack/TablePackageEditAction.java | UTF-8 | 2,199 | 2.0625 | 2 | [] | no_license | package com.leven.dmd.pro.nav.action.pack;
import java.util.List;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.PlatformUI;
import com.leven.dmd.... | true |
196b0bbf1d4893bd5b555d69101f1da6a248cadc | Java | p455w0rd/StingyOres | /src/main/java/p455w0rd/stingyores/init/ModBlocks.java | UTF-8 | 860 | 2.09375 | 2 | [
"MIT"
] | permissive | package p455w0rd.stingyores.init;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.common.registry.GameRegistry;
import p455w0rd.stingyores.items.ItemBlockStingyOre;
import p455w0rd.stingyyo... | true |
7ab6f6a17f0da97aadf5e60ca79c2fa77037539c | Java | LakshanWeerasinghe/BluetoothRSSILogger | /app/src/main/java/com/example/util/Util.java | UTF-8 | 247 | 2.15625 | 2 | [] | no_license | package com.example.util;
import android.app.Activity;
import android.widget.Toast;
public class Util {
public static void showToast(Activity activity, String msg) {
Toast.makeText(activity, msg, Toast.LENGTH_SHORT).show();
}
}
| true |
81c12ca06822d8211e03f08d6d9c064baf1007d1 | Java | wild-lotus/dprojekt | /app/src/main/java/com/dprojekt/domain/decisions/usecases/CheckDecImgUseCase.java | UTF-8 | 2,246 | 2.671875 | 3 | [] | no_license | package com.dprojekt.domain.decisions.usecases;
import com.dprojekt.domain.common.rx.PostExecutionThread;
import com.dprojekt.domain.common.rx.ThreadExecutor;
import com.dprojekt.domain.common.UseCase;
import com.dprojekt.domain.decisions.DecRepository;
import com.dprojekt.domain.decisions.models.DecModel;
import com.... | true |
ff8192b6d19add76c262027f44c2fcf7f41a535e | Java | Toxa-p07a1330/encriptedStorage | /src/main/java/ru/bmstu/iu3/Theory.java | UTF-8 | 940 | 1.992188 | 2 | [] | no_license | package ru.bmstu.iu3;
import org.apache.wicket.Component;
import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.markup.html.link.Link;
import org.apache.wicket.request.mapper.parameter.PageParameters;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.Web... | true |
43cde027baf9d6f8220027c0bb489b6a64960273 | Java | dch1994/Demo | /store/src/com/hxzy/store/web/servlet/ProductServlet.java | UTF-8 | 1,280 | 2.15625 | 2 | [] | no_license | package com.hxzy.store.web.servlet;
import java.io.IOException;
import java.sql.SQLException;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.hxzy.store.domain.PageModel;
import com.hxzy.store.domain.Product;
import com.hxzy.st... | true |
fa5774284eedf3c1660579a54bd7979bfe888e69 | Java | charles-wangkai/codeforces | /1200/B/Main.java | UTF-8 | 670 | 3.328125 | 3 | [] | no_license | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int t = sc.nextInt();
for (int tc = 0; tc < t; tc++) {
int n = sc.nextInt();
int m = sc.nextInt();
int k = sc.nextInt();
int[] h = new int[n];
for (int i = 0; i < h.length;... | true |
0da62c14b48550da0324c8072fbf2c5879430581 | Java | ArnolPlazas/JAVA | /src/Uso_arraysII.java | UTF-8 | 379 | 3.1875 | 3 | [] | no_license | import javax.swing.*;
public class Uso_arraysII {
public static void main(String[] args){
String[] paises=new String[8];
for(int i=0;i<8;i++){
paises[i]=JOptionPane.showInputDialog("Introduce pais "+(i+1));
}
for(String elemento:paises){
Sy... | true |
e38a84da76ef89db853dc7ebf33753b7c3305ab2 | Java | serenity-dojo/static-website-tests | /src/test/java/lta/actions/navigation/TopLevelMenuBar.java | UTF-8 | 893 | 2.15625 | 2 | [
"Apache-2.0"
] | permissive | package lta.actions.navigation;
import net.serenitybdd.core.pages.PageObject;
import org.openqa.selenium.By;
public class TopLevelMenuBar extends PageObject {
private static String TOP_LEVEL_MENU_ENTRY = "//a[normalize-space()='%s']";
private static String TOP_LEVEL_MENU_TOGGLE = "//div[contains(.,'%s')][cont... | true |
3bb3db907b38c44255029ab4056ab552ce812ab0 | Java | caoguobin-git/jinghang-travel | /src/main/java/com/travel/controller/StrategyController.java | UTF-8 | 4,119 | 2.03125 | 2 | [] | no_license | package com.travel.controller;
import com.travel.common.entity.StrategyEntity;
import com.travel.common.vo.JsonResult;
import com.travel.common.vo.PageObject;
import com.travel.service.StrategyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
impo... | true |
d23cc031baca142a208c474ec7a4f3f1a75a6762 | Java | Stormpx/mqttbroker | /src/main/java/com/stormpx/ex/SharedSubscriptionsNotSupportedException.java | UTF-8 | 715 | 1.976563 | 2 | [] | no_license | package com.stormpx.ex;
public class SharedSubscriptionsNotSupportedException extends RuntimeException {
public SharedSubscriptionsNotSupportedException() {
}
public SharedSubscriptionsNotSupportedException(String message) {
super(message);
}
public SharedSubscriptionsNotSupportedExceptio... | true |
19d4d5470aa1f0c0afd04f12a265915f4d629b09 | Java | shileicomeon/MyDemo | /hotnews/src/main/java/collect/jhjz/com/hotnews/HotNewsFragment.java | UTF-8 | 424 | 1.851563 | 2 | [] | no_license | package collect.jhjz.com.hotnews;
import collect.jhjz.com.common.base.BaseFragment;
/**
* Created by 时雷 2019/5/17 14:28
*/
public class HotNewsFragment extends BaseFragment {
@Override
public int initView() {
return R.layout.fragment_hot_news;
}
@Override
public void initData() {
... | true |
925b6287077613654e08045eef7d452b51fe622a | Java | liugang-snow/Equipment | /RuoYi/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/EquSupplierServiceImpl.java | UTF-8 | 2,405 | 2 | 2 | [
"MIT"
] | permissive | package com.ruoyi.system.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.EquSupplierMapper;
import com.ruoyi.system.domain.EquSupplier;
import com.r... | true |
d4903151342dcbf22107cc68f2c2af1a558e72a3 | Java | Realictik15/hotel-sys | /src/main/java/com/vsu/project/configs/SpringConfig.java | UTF-8 | 632 | 2.234375 | 2 | [] | no_license | package com.vsu.project.configs;
import com.vsu.project.models.Apartment;
import com.vsu.project.models.Client;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.contex... | true |
ae7c9a3fa41badbcde4d77b6e57eb7fc6eeef383 | Java | jamesvwilfong/Programming | /Java/Java271/Lab5/PersonTester.java | UTF-8 | 999 | 3.453125 | 3 | [] | no_license | // James Wilfong
// Dr. Stephan
// CSE 271, Section C
public class PersonTester {
public static void main(String[] args) {
Person a = new Person("james",1998);
System.out.println("Expected: james");
System.out.println(Person.getName());
System.out.println("Expected: 1998");
System.out.println(Person.getYearOfBirth... | true |
9e8deef98b6fba86752950dcf16035be2b0b07b6 | Java | VVoev/Telerik-Academy | /18.Mobile-Applications-for-Android/Topics/java sintaks/untitled2/src/ScientificCalculator.java | UTF-8 | 182 | 2.921875 | 3 | [
"MIT"
] | permissive | public class ScientificCalculator extends Calculator {
public double CalculateSinus(double value){
return value*3.14;
}
public ScientificCalculator(){
}
}
| true |
f7751bbe5b5e1a0d071f3eb6b38603907793b2cb | Java | kowshikbharathi/VitalSignModule | /src/main/java/com/module/vitalSignModule/vitalSignModule/service/VitalSignServiceImpl.java | UTF-8 | 2,076 | 2.3125 | 2 | [] | no_license | package com.module.vitalSignModule.vitalSignModule.service;
import java.sql.Date;
import java.util.Objects;
import java.util.Optional;
import java.util.UUID;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.module.vitalSignModule.vitalSignModule.c... | true |
75403a3940ce3f6f27018db4f39fff2fd4aed4ec | Java | tstott/cs228hw1 | /School/CS228/PredatorPrey.java | UTF-8 | 4,336 | 3.546875 | 4 | [] | no_license | package edu.iastate.cs228.hw1;
import java.io.FileNotFoundException;
import java.util.Scanner;
import java.lang.System;
import java.lang.String;
/**
* @author Tate Stottmann
* The PredatorPrey class does the predator-prey simulation over a grid world
* with squares occupied by badgers, foxes, rabbits, ... | true |
d781f70b7aae5bcd3114de45a6c86a98a9b72a6b | Java | peregrine-cms/sling-org-apache-sling-multipackageupdate | /mpu/src/test/java/com/headwire/sling/mpu/comps/MultiPackageUpdateModelTest.java | UTF-8 | 2,518 | 1.75 | 2 | [
"Apache-2.0"
] | permissive | package com.headwire.sling.mpu.comps;
import com.headwire.sling.mpu.HttpStatusCodeMapper;
import com.headwire.sling.mpu.MultiPackageUpdate;
import com.headwire.sling.mpu.MultiPackageUpdateResponse;
import com.headwire.sling.mpu.MultiPackageUpdate.Operation;
import com.headwire.sling.mpu.MultiPackageUpdateRespons... | true |
bc45693ea50b73df3e3c4848a8ad5562ed118c28 | Java | yizhichangyuan/o2o-SpringBoot | /src/test/java/com/imooc/o2o/dao/ProductSellDailyDaoTest.java | UTF-8 | 1,454 | 2.15625 | 2 | [] | no_license | package com.imooc.o2o.dao;
import com.imooc.o2o.entity.ProductSellDaily;
import com.imooc.o2o.entity.Shop;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.... | true |
248aa9f4d3922d69c05ca61ef8dfb9bd84c0ac3c | Java | JetBrains/teamcity-s3-artifact-storage-plugin | /teamcity-s3-sdk/src/main/java/jetbrains/buildServer/artifacts/s3/publish/presigned/util/S3ErrorDto.java | UTF-8 | 1,325 | 1.976563 | 2 | [
"Apache-2.0"
] | permissive | package jetbrains.buildServer.artifacts.s3.publish.presigned.util;
import com.amazonaws.AmazonServiceException;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import org.jetbrains.annotations.NotNull;
@XmlRootElement(name = "error")
public class S3ErrorDto {
@XmlElemen... | true |
6d69c912fc4dc1be898943e4e8ee886bd00250e7 | Java | fraterblack/projeto-teoria-grafos | /src/com/grafos/algorithm/Dijkstra.java | ISO-8859-1 | 7,583 | 3.3125 | 3 | [] | no_license | package com.grafos.algorithm;
import java.util.Map;
import java.util.Map.Entry;
import java.util.TreeMap;
import java.util.stream.Collectors;
public class Dijkstra extends Graph {
//Results
private int distanceToDestination;
private TreeMap<Integer, Edge> pathToDestination = new TreeMap<Integer, Edge>();;
private... | true |
d63652cefe54aa9e1c55127c658bda6d59df72bb | Java | omidketabchi/Ticketing | /app/src/main/java/com/example/ticketing/Adapter/BusAdapter.java | UTF-8 | 3,222 | 2.140625 | 2 | [] | no_license | package com.example.ticketing.Adapter;
import android.content.Context;
import android.content.Intent;
import android.os.Parcelable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.cardview.... | true |
ba2650133c58bbbb583e32d176cd18621a3ba8c5 | Java | moutainhigh/vmi-openInstall | /vmi-video-api-server/vmi-video-interface/src/main/java/com/tigerjoys/shark/miai/inter/entity/AppAreaCityEntity.java | UTF-8 | 1,926 | 2.171875 | 2 | [] | no_license | package com.tigerjoys.shark.miai.inter.entity;
import java.io.Serializable;
import java.util.Date;
import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.annotations.Column;
import org.apache.ibatis.annotations.Id;
import org.apache.ibatis.annotations.Table;
import com.tigerjoys.nbs.mybatis.core.BaseEntity;
... | true |
37a25cc29abcae1fcdc5ae885a8e55690486fbeb | Java | KBSure/JavaWebProgramming | /study01re/src/main/java/examples/Server.java | UTF-8 | 968 | 2.78125 | 3 | [] | no_license | package examples;
import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
public class Server {
public static void main(String[] args) throws IOException {
ServerSocket listener = new ServerSocket(8080);
Socket client = listener.accept();
InputStream is = client.getInputStr... | true |
435142777d162e7e66ca7799541041226425046e | Java | AngryCow1111/exercises | /algorithm/src/main/java/com/ac/algorithm/resolution/FindEvenCountNumsInArray.java | UTF-8 | 1,437 | 3.84375 | 4 | [] | no_license | package com.ac.algorithm.resolution;
import java.util.Arrays;
/**
* FindEvenCountNumsInArray
* 假如一个无需数组中,有2个数字出现奇数次,而其他都出现偶数次。
* 找出这2个出现奇数次的数。
* 基本思路:
* 1.分治
* 2.异或
*
* @author <a href="mailto:angrycow1111@gmail.com">angrycow1111</a>
* @since 2019/9/10
*/
public class FindEvenCountNumsInArray {
public ... | true |
dff8a040f52e415535b256458ebd53343b97b02f | Java | fedpet/Galactic-Adventures | /src/it/unibo/oop17/ga_game/view/entities/AbstractStateChangingEntityView.java | UTF-8 | 4,355 | 2.9375 | 3 | [] | no_license | package it.unibo.oop17.ga_game.view.entities;
import java.util.HashMap;
import java.util.Map;
import it.unibo.oop17.ga_game.model.entities.components.EntityState;
import it.unibo.oop17.ga_game.view.SpriteAnimation;
import javafx.animation.Animation;
import javafx.animation.Transition;
import javafx.geometry.Dimension... | true |
8fb89854804ed9c0b32375c64e52f335e3a3c312 | Java | chirhotec/gurella | /core/src/com/gurella/engine/scene/renderable/terrain/TerrainTexture.java | UTF-8 | 1,672 | 2.546875 | 3 | [] | no_license | package com.gurella.engine.scene.renderable.terrain;
import com.badlogic.gdx.utils.ObjectMap;
import com.gurella.engine.scene.renderable.terrain.SplatTexture.Channel;
/**
* Copied from
* https://github.com/mbrlabs/Mundus/blob/master/commons/src/main/com/mbrlabs/mundus/commons/terrain/TerrainTexture.java
*
* @aut... | true |
05c622ea4db2e9f4e4709fceef816fa9929f3ae7 | Java | arizajose/MyApp_TiendaVirtual | /app/src/main/java/com/example/myapp_tiendavirtual/ArticuloActivity.java | UTF-8 | 3,654 | 1.96875 | 2 | [] | no_license | package com.example.myapp_tiendavirtual;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.os.Bundle;
import android.util.Log;
import android.widget.Toast;
import com.android.volley.Request;
impor... | true |
cdbb7fa1ea0022cb410885c5f8c8fc95e587be82 | Java | Romern/gms_decompiled | /sources/com/google/android/gms/nearby/sharing/view/ExpandableView.java | UTF-8 | 1,850 | 1.507813 | 2 | [] | no_license | package com.google.android.gms.nearby.sharing.view;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;
import com.felicanetworks.mfc.C0126R;
import com.google.android.libraries.view.text.ExpandableTextView;... | true |
4f91311352b01789fa3f26eaae05365f52f9db7f | Java | tangchuanyan/bbb | /src/main/java/cn/itcast/aop/Book.java | UTF-8 | 281 | 2.265625 | 2 | [] | no_license | package cn.itcast.aop;
import org.springframework.stereotype.Controller;
@Controller
public class Book {
public void add() { //目的:增强Book类里的add方法 ,要增强的方法即为切入点
System.out.println("类book的方法...........");
}
}
| true |
6ff02588a65f612b33b119baa4726f83c2a3d953 | Java | AlexBolot/Dronizone | /OrderService/src/main/java/fr/unice/polytech/entities/Coord.java | UTF-8 | 615 | 2.359375 | 2 | [] | no_license | package fr.unice.polytech.entities;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Getter
@Setter
@ToString
@EqualsAnd... | true |
03f088ddfc0b858cf40f9a305688c876854cc4aa | Java | zhaoqidev/Android_App | /src/cc/upedu/online/domin/QuestionListBean.java | UTF-8 | 2,941 | 2.46875 | 2 | [] | no_license | package cc.upedu.online.domin;
import java.util.List;
public class QuestionListBean {
private Entity entity;
private String message;
private String success;
public Entity getEntity() {
return entity;
}
public void setEntity(Entity entity) {
this.entity = entity;
}
public String getMessage() {
return... | true |
4c0cea96dac8417942e40ac52bcc0e0757e3ae9c | Java | thetajwar2003/Java-Projects | /NumberConverter.java | UTF-8 | 4,027 | 3.953125 | 4 | [] | no_license | import java.util.Scanner;
import java.lang.StringBuffer; //this class allows me to reverse the numbers when I find bi and hex for dec
import java.lang.Integer; //this class allows me to manipulate the input and see if the hex input is a digit or not
public class NumberConverter{
public static void main (String[] args)... | true |
a9579192275b3e797155a9e6751e775a6ff68a90 | Java | GabeOchieng/ggnn.tensorflow | /data/libgdx/GwtGL20_glBindTexture.java | UTF-8 | 116 | 2.65625 | 3 | [] | no_license | @Override
public void glBindTexture(int target, int texture) {
gl.bindTexture(target, textures.get(texture));
}
| true |
895211f4339329d4e8a258968a3e73f5fdcd6e29 | Java | saralein/java-server | /server/src/main/java/com/saralein/server/middleware/AuthMiddleware.java | UTF-8 | 1,106 | 2.5 | 2 | [] | no_license | package com.saralein.server.middleware;
import com.saralein.server.authorization.Authorizer;
import com.saralein.server.callable.Callable;
import com.saralein.server.request.Request;
import com.saralein.server.response.ErrorResponse;
import com.saralein.server.response.Response;
public class AuthMiddleware implements... | true |
8b3d23b788b6746b13238d08b4ff9edb44d89390 | Java | hwa1049/kobis-utils | /KobisUtils/src/org/kobic/kobis/file/excel/obj/XProteinSequenceSheetObj.java | UTF-8 | 4,025 | 2.3125 | 2 | [] | no_license | package org.kobic.kobis.file.excel.obj;
import org.apache.ibatis.type.Alias;
import org.apache.poi.xssf.usermodel.XSSFRow;
import org.kobic.kobis.file.excel.obj.internal.AbstractSheetObj;
import org.kobic.kobis.file.excel.obj.internal.OpenObj;
import org.kobic.kobis.file.excel.obj.internal.PatentObj;
import org.kobic.... | true |
e41849892125cab9c9558a82359d3f3417968d45 | Java | kael-aiur/redis-mock | /src/main/java/com/github/zxl0714/redismock/SocketContextHolder.java | UTF-8 | 645 | 2.15625 | 2 | [
"MIT"
] | permissive | package com.github.zxl0714.redismock;
/**
* @author snowmeow(yuki754685421 @ 163.com)
* @date 2021-7-19
*/
public class SocketContextHolder {
private static final ThreadLocal<SocketAttributes> socketAttributesThreadLocal
= new ThreadLocal<SocketAttributes>();
public static void setSocketAttributes... | true |
a4a547f599c098bdc39af3a1bc8b66ef633de1bb | Java | LimeyJohnson/RandomProjects | /JavaWorkSpace/Programming Studio Assignment 1/src/HTML/Main.java | UTF-8 | 2,814 | 3.328125 | 3 | [] | no_license | package HTML;
import java.io.*;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;
public class Main {
//vGames, vUsers, vPlays are the main data structurs used in the program
static Vector<Game> Vgames = new Vector<Game>();
static Vector<User> Vuser... | true |
aa3df3019002dd4bd0086db20de800d2ad66dfe5 | Java | Porodin/SportCoachPublic | /MyProject/backend/src/main/java/com/sportCoach/config/ApplicationWebMvcConfig.java | UTF-8 | 1,759 | 2.015625 | 2 | [] | no_license | package com.sportCoach.config;
/*
* @created 09/03/2021 - 16:37
* @project IntelliJ IDEA
* @author Temnyakov Nikolay
*/
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.ViewResolver;
import org.springframework.w... | true |
6aa27ad489bb491308ff7caf6fbf6f2524d19078 | Java | blonsky95/London-Runner | /app/src/main/java/my/london/pablotrescoli/londonrunner/parkrun/RegisterNewUser.java | UTF-8 | 647 | 1.804688 | 2 | [] | no_license | package my.london.pablotrescoli.londonrunner.parkrun;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
import my.london.pablotrescoli.londonrunner.R;
@SuppressLint("SetJavaScriptEnabled")
public class RegisterNewUser extends Activity {
... | true |
38eb5472e42939f9289baf68de127e49a6d82ba8 | Java | navicore/augie | /libraries/Augie/src/main/java/com/onextent/augie/ments/DrawBase.java | UTF-8 | 2,394 | 2.4375 | 2 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | /**
* copyright Ed Sweeney, 2012, 2013 all rights reserved
*/
package com.onextent.augie.ments;
import java.util.Set;
import android.graphics.Point;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;
import com.onextent.augie.AugieScape;
import com.onextent.augie.A... | true |
d4f42cb51639f4d280d6015f777db60d146a94f3 | Java | luBubble/OrderFood | /src/dao/imp/OrderItemDaoImp.java | UTF-8 | 2,491 | 2.46875 | 2 | [] | no_license | package dao.imp;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import beans.Cart;
import beans.Food;
import beans.OrderItem;
import dao.inf.OrderItemDao;
import db.DBHelper;
public class Order... | true |
aa7c8b31d1dde749bc4a7d7a57899c195adcc54c | Java | YoooBrayan/AppAjedrez | /app/src/main/java/org/itiud/modelo/Alfil.java | UTF-8 | 3,397 | 3.15625 | 3 | [] | no_license | package org.itiud.modelo;
import java.util.Arrays;
public class Alfil extends Ficha {
public Alfil(int[] coordenadas, int color, Ajedrez matriz, char letra) {
super(coordenadas, color, matriz, letra);
}
public void posiblesMovimientos() {
this.movimientos.clear();
moverDiagonalIz... | true |
decbe087e156c9fcf598196969cd19a3e8c4454c | Java | waterlu/spring-inside | /src/main/java/cn/lu/spring/ioc/UserService.java | UTF-8 | 154 | 1.71875 | 2 | [
"Apache-2.0"
] | permissive | package cn.lu.spring.ioc;
/**
* @author lu
* @date 2018/5/22
*/
public interface UserService {
User get(Long id);
boolean save(User user);
} | true |
ecb05bd478f170265ad70853bd53dd62e32171f5 | Java | RedSunCMX/benchmark | /packing_utilities/winners/CITYU-ZHU/source_code/src/feasibilityCheck/Statistics.java | UTF-8 | 6,940 | 2.359375 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2020. Huawei Technologies Co., Ltd.
*
* 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
*
* ... | true |
397b36aeb79c12c10d39aee1ffee7f82c9a634ef | Java | zhangzibao/my_qq | /src/main/java/com/springboot/my_qq/dao/UserMapper.java | UTF-8 | 613 | 1.890625 | 2 | [] | no_license | package com.springboot.my_qq.dao;
import com.springboot.my_qq.model.User;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface UserMapper {
int deleteByPrimaryKey(Integer id);
int insert(User record);
List<User> findAllUser(String username);
int ins... | true |
bfffac8af74d0d597eb7b04a8e58a615183a2c7c | Java | pyromobile/nubomedia-ouatclient-src | /android/LiveTales/app/src/main/java/com/zed/livetales/models/user/User.java | UTF-8 | 4,049 | 2.34375 | 2 | [
"Apache-2.0"
] | permissive | package com.zed.livetales.models.user;
import android.os.Parcel;
import android.os.Parcelable;
import com.zed.livetales.models.LobbyType;
/**
* Created by jemalpartida on 24/11/2016.
*/
public class User implements Parcelable
{
public User()
{
this.id = "";
this.name = "";
this.pas... | true |
331609672abadc6e0e5f3c19b7d63771def20711 | Java | yanchangyou/ware | /GHCC-1/code/ware/lang/impl/ether/concept/activeconcept/Ether$Request.java | UTF-8 | 634 | 2.171875 | 2 | [] | no_license | package ware.lang.impl.ether.concept.activeconcept;
import ware.lang.design.concept.activeconcept.Request;
import ware.lang.design.concept.staticconcept.WareProtocolData;
/**
* request : ware的请求<br>
* ware之间通过request来请求服务, 然后通过response来响应<br>
* <br>
*
* @author yanchangyou
* @date 2010-8-18 23:40:... | true |
341b1a250877fa7c866be28b3e1b786fbedd3d4a | Java | centurybits504/corejava | /src/Keywords/InterafaceKeywordExample.java | UTF-8 | 455 | 3.75 | 4 | [] | no_license | package Keywords;
/*Interface Keyword Example: Providing implementaion for Vehicle_4 interface using MyCar_2 class*/
interface Vehicle_3{
public String breaks();
}
class MyCar_2 implements Vehicle_3{
@Override
public String breaks() {
return "WaggonCar";
}
}
public class InterafaceKeywordExample {
... | true |
264ba620c342ab2ebad383265af6b8afd06b522d | Java | obaralic/control-widget | /Toggler/src/com/obaralic/toggler/service/commands/content/ContentStateChangeServiceCommandTemplate.java | UTF-8 | 2,301 | 1.710938 | 2 | [] | no_license |
/*
* Copyright 2013 oBaralic, Inc. (owner Zivorad Baralic)
* ____ ___
* ____ / __ )____ __________ _/ (_)____
* / __ \/ __ / __ `/ ___/ __ `/ / / ___/
* / /_/ / /_/ / /_/ / / / /_/ / / / /__
* \____/_____/\__,_/_/ \__,_/_/_/\___/
*
*
* Licensed under the ... | true |
121517bc81d5d705ff7601cc00fbd611d511ca2e | Java | AbdullahHalari/JAVA | /project/bankaccount/Loan.java | UTF-8 | 4,975 | 3.3125 | 3 | [] | no_license | package bankaccount;
import java.util.*;
public class Loan extends Account{
Scanner sc = new Scanner(System.in);
Loan(String Name, int phone){
super(Name, phone);
}
public void home(){
System.out.println("##########################################");
System.out.println("\tLOA... | true |
56b6a6a24e030ec462ad48a4e396be6c99ab78ce | Java | shitallondhe/NavigationView-Master | /app/src/main/java/com/example/shitalbharatlondhe/navigationview_master/SteelGradeFragment.java | UTF-8 | 3,367 | 2.265625 | 2 | [] | no_license | package com.example.shitalbharatlondhe.navigationview_master;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.Ed... | true |
606163ee90e1b9835907be3f3fe0e0cf826cfb50 | Java | liwenzhi/header_uc_viewPager | /src/com/example/uc_viewPager/fragment/MyFragment2.java | UTF-8 | 750 | 2.21875 | 2 | [] | no_license | package com.example.uc_viewPager.fragment;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
/**
* 碎片2
*/
public cl... | true |
6396066a336d9e154176795e48e5b6c69ff38208 | Java | huanghaoxuan/hhxMVC | /src/main/java/com/hhx/core/annotation/Service.java | UTF-8 | 476 | 2.015625 | 2 | [] | no_license | package com.hhx.core.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @Author: HuangHaoXuan
* @Email: huanghaoxuan1998@outlook.com
* @github https://github.com/huanghaoxuan
* @Date: 20... | true |
63f327e2100ec744db56224a47fa61697516c686 | Java | ThiriWai26/AllBugFire | /app/src/main/java/com/example/bugfire/model/TopicCategories.java | UTF-8 | 273 | 1.65625 | 2 | [] | no_license | package com.example.bugfire.model;
import com.google.gson.annotations.SerializedName;
public class TopicCategories {
@SerializedName("name")
public String name;
@SerializedName("type")
public String type;
@SerializedName("id")
public int id;
}
| true |
9205faeada9507822cf5f9cc58cdf11e9b767918 | Java | pocoman/pocoProject | /javaWork/Quita/src/MyF/_main.java | UTF-8 | 153 | 1.710938 | 2 | [] | no_license | package MyF;
public class _main {
public static void main(String [] args) {
System.out.println(Function.RandomInt(100, 1));
}
}
| true |
1dcf130c7e7049f2267151985bcd53e465697892 | Java | jiachen1120/RESTful_demo | /src/main/java/com/jiachen/home/service/IHomeService.java | UTF-8 | 208 | 1.601563 | 2 | [] | no_license | package com.jiachen.home.service;
import java.util.List;
import com.jiachen.home.entity.JcHome;
public interface IHomeService {
public List<JcHome> getUserList();
public void addUser(JcHome jchome);
}
| true |
bfbe22afe6382d48dc77488e397db4f6c63d02e5 | Java | ChanWoongLee/Algorithm | /practice/B11279.java | UHC | 1,445 | 3.375 | 3 | [] | no_license | package practice;
import java.util.ArrayList;
import java.util.Scanner;
public class B11279 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int k=sc.nextInt();
long[] h = new long[k];
ArrayList<Long> ans = new ArrayList<Long>();
int index=0;
for (int i = k; i >0 ; i--)... | true |
05cbd3ed2748a33e8ae44a5a440a46e8fae95dc0 | Java | bePartOf-Creation/Deitel-Exercise | /src/com/javaChapter4/SumTenIntegerApp.java | UTF-8 | 265 | 2.203125 | 2 | [] | no_license | package com.javaChapter4;
public class SumTenIntegerApp {
public static void main(String[] args) {
SumTenIntegers sumTenInteger = new SumTenIntegers();
sumTenInteger.sumIntegersOfTenNumbers();
sumTenInteger.displaySumMessage();
}
}
| true |
98b47889970a0b26b01c1974fec9c81d4f3c2a17 | Java | BlackCat1606/QuestionsResponses | /src/javafxapplication3/ChoiceController.java | UTF-8 | 2,426 | 2.421875 | 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 javafxapplication3;
import Code.Joueur;
import com.jfoenix.controls.JFXButton;
import com.jfoenix.controls.JFXRadioButton;
imp... | true |
d5a7cb4f955d5648d8a005e34b9bf8cda5d5238e | Java | nntoan/vietspider | /client-plugin/src/main/java/org/vietspider/content/ImportDataPlugin.java | UTF-8 | 945 | 1.789063 | 2 | [
"Apache-2.0"
] | permissive | /***************************************************************************
* Copyright 2001-2008 The VietSpider All rights reserved. *
**************************************************************************/
package org.vietspider.content;
import org.eclipse.swt.widgets.Control;
import org.vietspide... | true |
ef7c3a4633938b86ea526f0aac66e547ba90062c | Java | AnastasiaKuznetzova/Miles | /miles.java | UTF-8 | 255 | 2.78125 | 3 | [] | no_license | public class Main {
public static void main(String[] args) {
int ticketPriceInKopecks = 1300000;
int milesInKopecks = 2000;
int totalMiles = ticketPriceInKopecks / milesInKopecks;
System.out.println(totalMiles);
}
} | true |
aeb453fd34e9ee567aad91772583e07345600136 | Java | mateuszstaszkow/food-finder | /src/main/java/com/foodfinder/user/service/AccountService.java | UTF-8 | 1,729 | 2.15625 | 2 | [] | no_license | package com.foodfinder.user.service;
import com.foodfinder.container.configuration.security.LoggedUserGetter;
import com.foodfinder.day.domain.dto.DayDTO;
import com.foodfinder.user.domain.dto.BasicUserDTO;
import com.foodfinder.user.domain.entity.User;
import com.foodfinder.user.domain.mapper.UserMapper;
import lombo... | true |