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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
469eb91355ce7b65c5fafb8e385587ad7ecbdfdb | Java | shjlee0912/hcl_training | /oop_classes_exercises/src/main/java/com/example/Exercises/Employee.java | UTF-8 | 1,103 | 3.734375 | 4 | [] | no_license | package com.example.Exercises;
public class Employee {
//first name
private String firstName;
//last name
private String lastName;
//monthly salary
private double salary;
//constructor
public Employee(String firstName, String lastName, double salary) {
this.firstName = firstName;
this.lastName = lastNa... | true |
39cc541de18c62426eac496ba09ef006f84eb5dc | Java | frc3452/2019_java | /src/main/java/frc/robot/util/GZQueuer.java | UTF-8 | 3,166 | 3 | 3 | [] | no_license | package frc.robot.util;
import java.text.DecimalFormat;
import java.util.ArrayList;
import edu.wpi.first.wpilibj.Timer;
public abstract class GZQueuer<T> {
private double mPrevTime;
public abstract T getDefault();
public abstract void onEmpty();
private ArrayList<TimeValue<T>> mQueue = new ArrayL... | true |
05c95356fa63fb619d030c2bb106da12a9b1e8ce | Java | captabhi/SpringBootSoap | /src/main/java/com/example/demo/schemas/crip/ESchKgJobDescription.java | UTF-8 | 6,487 | 1.695313 | 2 | [] | no_license | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.01.24 ... | true |
87cf198643ddd7ba2bfb9e8cada718a9eab44a29 | Java | williamtanws/beanframework | /bin/modules/common/src/main/java/com/beanframework/common/utils/CsvUtils.java | UTF-8 | 1,728 | 2.421875 | 2 | [
"MIT"
] | permissive | package com.beanframework.common.utils;
import java.util.Iterator;
import java.util.List;
import org.json.CDL;
import org.json.JSONArray;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
public class CsvUtils {
public static StringBuilder Lis... | true |
fe33231dc0549c99aee025c09fcd274acd2c7f5c | Java | KhalidElSayed/TransitWear | /app/src/main/java/com/furryfishapps/transitwear/app/activity/ActivityRecognitionIntentService.java | UTF-8 | 5,548 | 2.1875 | 2 | [
"Apache-2.0"
] | permissive | package com.furryfishapps.transitwear.app.activity;
import android.app.IntentService;
import android.app.PendingIntent;
import android.content.Intent;
import android.util.Log;
import com.furryfishapps.transitwear.app.location.LocationIntentService;
import com.furryfishapps.transitwear.app.playservices.PlayServiceConn... | true |
c07d29523c5eea248b428ad52572578f2a0c6469 | Java | anushri-jhunjhunwala/TwitterTrolls | /AdjListsGraph.java | UTF-8 | 18,305 | 3.71875 | 4 | [] | no_license | /**
* representation of a graph using adjacent lists for vertices and acts
*
* @author Farzana and Anushri
* @version 11/6/2019
*/
import java.util.Vector;
import java.util.LinkedList;
import java.util.Scanner;
import java.io.PrintWriter;
import java.io.FileNotFoundException;
import java.io.File;
import java.io.I... | true |
7b1998fdec4be7ba8499b080472a8500ade42cca | Java | awstanton/Info_Mgmt_SpringMVC_JavaScript | /src/java/com/collection/controller/SimpleController.java | UTF-8 | 9,977 | 2.0625 | 2 | [] | no_license | package com.collection.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.Path... | true |
ecefc5ab0b0a59c646fc33bb107212a72fb51bc1 | Java | Phantoms007/zhihuAPK | /src/main/java/com/xiaomi/push/service/C9035z.java | UTF-8 | 2,023 | 1.609375 | 2 | [] | no_license | package com.xiaomi.push.service;
import android.content.Context;
import com.xiaomi.p913a.p914a.p915a.AbstractC8508c;
import com.xiaomi.push.AbstractC8716dl;
import com.xiaomi.push.C8706db;
import com.xiaomi.push.C8712dh;
import com.xiaomi.push.C8807gi;
import com.xiaomi.push.C8836hk;
import com.xiaomi.push.C8847hv;
im... | true |
1cf41beb258258eb90d7672736bf038a4fc3f605 | Java | GithubKingXingXing/LiquidBounce-b62-deobfed | /1.8.9-Forge/src/main/java/net/ccbluex/liquidbounce/features/module/modules/movement/speeds/ncp/NCPFHop.java | UTF-8 | 1,622 | 2.359375 | 2 | [
"WTFPL"
] | permissive |
package net.ccbluex.liquidbounce.features.module.modules.movement.speeds.ncp;
import net.ccbluex.liquidbounce.event.events.MoveEvent;
import net.minecraft.client.entity.EntityPlayerSP;
import net.ccbluex.liquidbounce.utils.MovementUtils;
import net.ccbluex.liquidbounce.features.module.modules.movement.speeds.SpeedMod... | true |
83652c023fb79665e35d186dc8457fc233475ee8 | Java | caseyscarborough/wanikani-api | /src/main/java/com/wanikani/api/v2/request/ReviewsRequest.java | UTF-8 | 1,451 | 2.375 | 2 | [
"MIT"
] | permissive | package com.wanikani.api.v2.request;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import static com.wanikani.api.v2.request.QueryStringUtils.appendList;
public class ReviewsRequest implements Request {
private final String queryString;
public ReviewsRequest(String queryString... | true |
773f871d5a58928dac3e0e7e6ef5bf9e2923aa82 | Java | AxelMueller/IfIWereYou | /IfIWereYou/ifIWereYou/src/main/java/com/ifiwereyou/objects/NewChallenge.java | UTF-8 | 507 | 2.234375 | 2 | [] | no_license | package com.ifiwereyou.objects;
import android.widget.TextView;
import com.ifiwereyou.R;
/**
* Created by D060426 on 17.05.2015.
*/
public class NewChallenge extends ChallengeState {
@Override
public void printStatus(TextView statusTextView) {
statusTextView.setText(R.string.no_answer_yet);
}
... | true |
d17a3bc74e873825560d697203ce041c1f893dad | Java | devika-nair1/JAVAFSDTraining | /SBA12/ClinicProject/ClinicManagement/src/main/java/com/ust/springboot/BillServiceimpl.java | UTF-8 | 1,012 | 2.484375 | 2 | [] | no_license | package com.ust.springboot;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class BillServiceimpl implements BillServices{
@Autowired
BillRepository billrep;
@Override
... | true |
077adf93d86faf6ce2b0f9a915f46e9a13032c84 | Java | loordgek/CyclopsCore | /src/main/java/org/cyclops/cyclopscore/proxy/ClientProxyComponent.java | UTF-8 | 2,800 | 1.96875 | 2 | [
"MIT"
] | permissive | package org.cyclops.cyclopscore.proxy;
import com.google.common.collect.Maps;
import lombok.Data;
import lombok.EqualsAndHashCode;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.MinecraftForge;
import net.minecraft... | true |
a80d0cea44affa310d2e09e02868dd0b055b7f7a | Java | pulumi/pulumi-alicloud | /sdk/java/src/main/java/com/pulumi/alicloud/cms/outputs/GetHybridMonitorSlsTasksTaskSlsProcessConfig.java | UTF-8 | 5,486 | 1.851563 | 2 | [
"Apache-2.0",
"MPL-2.0",
"BSD-3-Clause"
] | permissive | // *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.alicloud.cms.outputs;
import com.pulumi.alicloud.cms.outputs.GetHybridMonitorSlsTasksTaskSlsProcessConfigExpress;
import com.pulumi.alicloud.cms.outputs.... | true |
3d7fc36e12cd3e851575719c25cffa77e3952ace | Java | xoposhiy/ural-sapkers | /project-beta/DecompiledByJD/a/com/stanfy/contest/b/h.java | UTF-8 | 678 | 2.40625 | 2 | [] | no_license | package com.stanfy.contest.b;
public class h
implements Cloneable
{
private d a;
private int b;
private int c;
public h(int paramInt1, int paramInt2, d paramd)
{
this.b = paramInt2;
this.c = paramInt1;
this.a = paramd;
}
public char a(k paramk)
{
return '?';
}
... | true |
feed94a22186a36860f7159c607fa0ff0eb5f2df | Java | vanillasource/gerec | /gerec-jackson/src/main/java/com/vanillasource/gerec/mediatype/jackson/JacksonMediaType.java | UTF-8 | 7,779 | 1.78125 | 2 | [] | no_license | /**
* Copyright (C) 2016 VanillaSource
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This library... | true |
41bbfcba71739e1f3d833803cbe6f61cd4ec0859 | Java | HarshAProgrammer/RollsRoyce4 | /app/src/main/java/com/rackluxury/rollsroyce/reddit/readpost/ReadPost.java | UTF-8 | 2,284 | 2.4375 | 2 | [] | no_license | package com.rackluxury.rollsroyce.reddit.readpost;
import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.ForeignKey;
import com.rackluxury.rollsroyce.reddit.ac... | true |
4d6f1d8f74bb572d71ee6b80f8419ec8dbfa042e | Java | frcteam195/cyberscouter | /app/src/main/java/com/frcteam195/cyberscouter/CyberScouterWords.java | UTF-8 | 6,726 | 2.140625 | 2 | [] | no_license | package com.frcteam195.cyberscouter;
import android.content.ContentValues;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.support.v7.app.AppCompatActivity;
import com.loopj.android.http.AsyncHttpClient;
import com.loopj.android.http.AsyncHt... | true |
29db0812bf211d6ae876025e81389c17c041fe9d | Java | pkabus/stream-sumo | /sumo-runner/test/src/test/java/net/pk/integrationtest/traas/TraasIntegrationTest.java | UTF-8 | 1,231 | 2.25 | 2 | [] | no_license | package net.pk.integrationtest.traas;
import static org.junit.jupiter.api.Assertions.fail;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import it.polito.appeal.traci.SumoTraciConnection;
public ... | true |
b6ec0fd3d6f25d204937d57fc74752bf52c4c014 | Java | Airfo/TO_DO_ | /app/src/main/java/com/example/air/to_do/NoteListContract.java | UTF-8 | 1,191 | 1.90625 | 2 | [] | no_license | package com.example.air.to_do;
import android.support.v4.app.Fragment;
import com.example.air.to_do.model.Note;
import java.util.HashSet;
import io.realm.RealmResults;
import io.realm.Sort;
public interface NoteListContract {
interface view {
public void initialiazeViews(android.view.View v);
... | true |
f110c30793f73c608226007ea46f05e4e4f56350 | Java | JGeovani/HECommonClasses-Android | /app/src/main/java/br/com/hemobile/hecommomclasses_android/dialog/ConfirmationDialog.java | UTF-8 | 1,991 | 2.546875 | 3 | [] | no_license | package br.com.hemobile.hecommomclasses_android.dialog;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
/**
* Created by pedrohenriqueborges on 10/17/14.
*/
public class ConfirmationDialog extends AlertDialog {
private ConfirmationDialogListener listener;... | true |
7ce9305a78cf9bdc591f5b1a6a512b4130c785af | Java | jkarpinska/findyourcocktail | /findyourcocktail/src/main/java/com/findyourcocktail/cocktail/CocktailService.java | UTF-8 | 907 | 2.390625 | 2 | [] | no_license | package com.findyourcocktail.cocktail;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class CocktailService {
@Autowired
private CocktailRepository cocktailRepository;
... | true |
d750dd131a0493df5d536df9e64b47b861f1cfa6 | Java | maytussss/vangouser | /app/src/main/java/com/example/vango_user/TicketActivity.java | UTF-8 | 6,147 | 2.03125 | 2 | [] | no_license | package com.example.vango_user;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import androi... | true |
4877dc1abb8f5f320b45ff6624f98a8a1ce762ab | Java | YuriiLosinets/javacore | /src/com/javarush/test/level15/lesson12/home07/Constants.java | UTF-8 | 209 | 1.554688 | 2 | [] | no_license | package com.javarush.test.level15.lesson12.home07;
public class Constants
{
public static String FILE_NAME = "D:\\Java\\JavaRushHomeWork\\src\\com\\javarush\\test\\level15\\lesson12\\home07\\test.txt";
}
| true |
eb5fe06c84e8ecdf4d146bf561c21448c5f95276 | Java | TencentCloud/tencentcloud-sdk-java | /src/main/java/com/tencentcloudapi/organization/v20210331/models/OrgIdentity.java | UTF-8 | 7,682 | 1.921875 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... | true |
1439383b497a7052ec2793537259cd741d4cc43b | Java | IvoryBrown/ServiceUpFXML | /ServiceFXML/src/com/service/device/table/DataEditingCellDevice.java | UTF-8 | 3,504 | 2.5 | 2 | [] | no_license | package com.service.device.table;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.ZoneId;
import java.util.Date;
import com.service.device.Device;
import com.service.setting.showinfo.ShowInfo;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableVal... | true |
b1f43deb569eb049bd6e6e7dd48ee1dd0731eb29 | Java | copasi/COPASI | /copasi/bindings/java/examples/SetupScan.java | UTF-8 | 6,177 | 2.953125 | 3 | [
"LicenseRef-scancode-other-copyleft",
"Artistic-2.0",
"LicenseRef-scancode-proprietary-license"
] | permissive | // Copyright (C) 2022 by Pedro Mendes, Rector and Visitors of the
// University of Virginia, University of Heidelberg, and University
// of Connecticut School of Medicine.
// All rights reserved.
import org.COPASI.*;
/**
* This example sets up the scan task from the command line.
*
* It will take:
*
* * an... | true |
be03919be53ed3cee06a6391f8f102d7a5e59595 | Java | Vorps/Updater | /src/main/java/net/vorps/updater/network/NetWork.java | UTF-8 | 1,187 | 2.78125 | 3 | [] | no_license | package net.vorps.updater.network;
import lombok.Getter;
import net.vorps.updater.utils.DataType;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.Socket;
/**
* Project Updater Created by Vorps on 03/09/2016 at 18:49.
*/
public class NetWork imp... | true |
0517e0ad2198ff390f3c03c53d08cbd72eeed044 | Java | fabianfranklinhuffstead/distributedProjectNetwork | /src/views/MapViews/AltMapTypeView.java | UTF-8 | 4,257 | 2.65625 | 3 | [] | no_license | package views.MapViews;
import java.awt.*;
import java.awt.geom.Line2D;
import java.util.ArrayList;
import controllers.GlobalResources;
//This is for the alternate map type
public class AltMapTypeView extends GlobalResourceOfMapView {
// Racing track outer lines
private final ArrayList<Line2D> _... | true |
2ccec996e411b87dcf5eb875e999be9dff6ffaf2 | Java | beingrizzsayyed/DesktopApp | /Zenter/src/com/enter/Sellerinfo.java | UTF-8 | 3,591 | 2.234375 | 2 | [] | no_license | package com.enter;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JInternalFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JTable;
import java.awt.Color;
import javax.swing.border.LineBorder;
import java.awt.Font;
im... | true |
2b470f2ed136a8bc95f9148b539abfa308311b57 | Java | maduar/java_design_pattern | /src/adapter2/DBSocketInterface.java | UTF-8 | 172 | 1.78125 | 2 | [] | no_license | package adapter2;
/*
*
* @author maduar
* @date 27/03/2018 2:47 PM
* @email maduar@163.com
*
* */
public interface DBSocketInterface {
public void powerWithTwoRound();
}
| true |
173b8ccda55eff38a732f791baad71d0cf851c0a | Java | mwhailie/IMDb-Final-Project | /src/main/java/edu/neu/webtool/pojo/Genre.java | UTF-8 | 1,493 | 2.625 | 3 | [] | no_license | package edu.neu.webtool.pojo;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.... | true |
ad01a13b94b5dbf562060273bb24ee5882f7d2f5 | Java | kate-novik/PaymentsSystem | /web/src/main/java/by/it/novik/controllers/pages/AdminController.java | UTF-8 | 2,799 | 2.203125 | 2 | [] | no_license | package by.it.novik.controllers.pages;
import by.it.novik.entities.Role;
import by.it.novik.entities.User;
import by.it.novik.services.IUserService;
import by.it.novik.util.ServiceException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.spri... | true |
3e335a63d4d0ea5034c7ebe4d44618ebc1f963f5 | Java | CeceZiegler/CZ_APCS | /022_IsItLegalForYou/IsItLegalForYou.java | UTF-8 | 1,155 | 4.09375 | 4 | [] | no_license | import java.util.Scanner;
public class IsItLegalForYou
{
public static void main(String[] args)
{
/* This method imports the scanner class, and uses it to prompt the user to enter their age. I created
four if statements of what the user could be elligable to do depending on their age. I also c... | true |
825c8c201fe05f5957ef80db76a53c2c3215329d | Java | Hello-123/swabhavrepo | /OOP/Exception-app/src/com/techlabs/exceptions/TestBug.java | UTF-8 | 577 | 2.8125 | 3 | [] | no_license | package com.techlabs.exceptions;
public class TestBug {
public static void main(String[] args) {
case1(args);
//case2();
//case3();
}
private static void case3() {
String str = null;
int a = str.length();
System.out.println(a);
System.out.println("END");
}
private static void case2() {
int a=... | true |
b1948130b87807a73c14c5b916328114eddb3b27 | Java | Dreamest/CookBookApp | /app/src/main/java/com/dreamest/cookbookapp/activities/EditRecipeActivity.java | UTF-8 | 13,333 | 1.960938 | 2 | [] | no_license | package com.dreamest.cookbookapp.activities;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.view.inputmethod.EditorInfo;
import android.widget.ImageView;
import android.widget.Progress... | true |
85d2482c887cc14fb142343a4b4cb1ba5324955f | Java | YatsauAliaksei/Streamer | /StreamerCommon/src/main/java/by/mrj/common/domain/data/MerkleTree.java | UTF-8 | 7,354 | 2.796875 | 3 | [] | no_license | package by.mrj.common.domain.data;
import by.mrj.common.utils.CryptoUtils;
import com.google.common.base.Preconditions;
import lombok.EqualsAndHashCode;
import lombok.RequiredArgsConstructor;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import java.io.Serializable;
import java.util.*;
import java.util.fu... | true |
3042dc8038613bfa3a50fbf6d0600ad982432f28 | Java | samhieu147/CH_Phuot | /app/src/main/java/com/example/qlch_phuot/activity/DetailTheLoai_Activity.java | UTF-8 | 2,598 | 2.109375 | 2 | [] | no_license | package com.example.qlch_phuot.activity;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import com.example.qlch_phuot.DAO.TheLoaiDAO;
impor... | true |
343cd25229f3ef796e7958f085d64610caac7dc4 | Java | aaafenghao/leetcode-edit | /src/main/java/com/fh/Palindrome.java | UTF-8 | 663 | 3.5625 | 4 | [] | no_license | package com.fh;
/**
* 寻找最长回文串
*/
public class Palindrome {
String longestPalindrome(String s){
String subStr = null;
for (int i = 0; i < s.length(); i++) {
String s1 = panlindrome(s,i,i);
String s2 = panlindrome(s,i,i++);
subStr = s.length() > s1.length()?subS... | true |
2f957add8d01dc5d86bd57e64effad26640b8397 | Java | falken123321/SEP1-Reeksamen | /FairytaleLib/src/View/reserveItem/reserveItemController.java | UTF-8 | 1,607 | 2.109375 | 2 | [] | no_license | package View.reserveItem;
import Core.ViewHandler;
import Model.Renters;
import Model.renter;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import javafx.scene.control.cell.PropertyValueFactor... | true |
0fd248e6281ab2cfc4a479d1f25b2e1d668c4735 | Java | Drakojin/webtester2-core | /webtester-core/src/main/java/info/novatec/testit/webtester/pagefragments/annotations/Named.java | UTF-8 | 1,015 | 2.5625 | 3 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package info.novatec.testit.webtester.pagefragments.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import info.novatec.testit.webtester.pagefragments.P... | true |
f2a615ce77376f30cbdeddb7f3128f07d8b93729 | Java | kamiroudj/GenericiteService | /GenericiteService/src/domaine/Compte.java | UTF-8 | 1,026 | 2.640625 | 3 | [] | no_license | /**
*
*/
package domaine;
/**
* @author Adminl
*
*/
public abstract class Compte {
/* (non-Javadoc)
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
return "[idCompte=" + idCompte + ", solde=" + solde+ ", " ;
}
private int idCompte;
protected double ... | true |
60541cfb7409a1cd0d4762df8c4d3ec5215ade68 | Java | herunqiang/springBoootTemplate | /src/main/java/com/example/template/service/impl/RedisTest.java | UTF-8 | 760 | 2 | 2 | [] | no_license | package com.example.template.service.impl;
import com.example.template.common.entity.SysUser;
import com.example.template.mapper.SysUserMapper;
import org.apache.catalina.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CacheEvict;
import org.springframew... | true |
e588384a3b1dc5433bcc95b2100ee3219a74ebbe | Java | ChristianChiarulli/Java101 | /Lab7/HiLo.java | UTF-8 | 1,155 | 3.765625 | 4 | [] | no_license | /* Christian Chiarull
* 19 Jul, 11:21
* sec 002
*
*/
import java.util.*;
public class HiLo{
public static void main(String[] args){
Scanner user_input = new Scanner(System.in);
//generates random number
Random rand = new Random();
int n = rand.nextInt(101) + 1;
String hi_lo = null;
System.ou... | true |
b8b0574ee6919f0fa21ebbf0f72c5393415cccb4 | Java | AnastasiaSharyi/office_supplies | /modules/global/src/com/company/untitled9/entity/Category_of_products.java | UTF-8 | 725 | 2.03125 | 2 | [] | no_license | package com.company.untitled9.entity;
import com.haulmont.cuba.core.entity.StandardEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
@Table(name = "UNTITLED9_CATEGORY_OF_PRODUCTS")
@Entity(name = "untitled9_Category_of_products")
public class Category... | true |
faaf18dbf787bf9bc2d3c60e550a296a599357aa | Java | inspire-software/yes-cart | /core-modules/core-module-orderstate/src/test/java/org/yes/cart/service/order/impl/handler/AbstractOrderEventHandlerImplTest.java | UTF-8 | 22,869 | 1.65625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2009 Inspire-Software.com
*
* 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 appl... | true |
5b52a04ef89a4c7e44f0b17a1ee39c447c517136 | Java | fmeola/tav | /core/src/com/mygdx/camera/MyGdxOrthographicCamera.java | UTF-8 | 563 | 2.296875 | 2 | [] | no_license | package com.mygdx.camera;
import com.badlogic.gdx.math.Matrix4;
public class MyGdxOrthographicCamera extends MyCamera {
public MyGdxOrthographicCamera(float width, float height) {
super(width, height);
}
public Matrix4 getPMatrix() {
Matrix4 projectionMatrix = new Matrix4(
... | true |
c141c23522a18d3edac3e3e6539a56043ca28391 | Java | hanbeen03/javabasic | /14-javainterface/src/interface1/Vehicle.java | UTF-8 | 732 | 3.046875 | 3 | [] | no_license | package interface1;
//인터페이스는 interface 선언을 사용합니다.
//내부에는 상수 변수, 추상 메서드만을 선언할 수 있습니다.
//애초에 구현(implements)을 전제로 설계되기 때문에
//일반 변수, 메서드를 내부에 선언할 수 없습니다.
public interface Vehicle {
// 최대 연료량
int MAX_GAS = 100; // == public static final int MAX_GAS;
//탈 것이라면 가지고 있을 공통적 기능을 전부 추상메서드로 작성
//{
// 실행문...
//}
//부분 없이 ... | true |
e196b11b2db97c36715c9179fbe9e33d764cc226 | Java | swarnock89/SDETTraining | /src/testScripts/NewAccountDDT.java | UTF-8 | 4,740 | 2.40625 | 2 | [] | no_license | package testScripts;
import java.util.List;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import or... | true |
85eb30244cca5bae25e6975f9499cef6afb3c530 | Java | fmengoni/workspaceGitHub | /LuminariaWeb/src/main/java/com/telnetar/restcontrollers/LuminariasRestController.java | UTF-8 | 9,380 | 1.898438 | 2 | [] | no_license | package com.telnetar.restcontrollers;
import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatu... | true |
81e00696daf0eb52bd1e4a6d8bf6bc189c645c53 | Java | Nan0bit/runelite | /runescape-client/src/main/java/WorldMapID.java | UTF-8 | 11,001 | 1.648438 | 2 | [
"BSD-2-Clause"
] | permissive | import java.io.File;
import java.io.IOException;
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
import net.runelite.rs.ScriptOpcodes;
@ObfuscatedName("... | true |
6bf09ad824d044ec5fc40a0433df15681ba3734e | Java | YuanChenM/xcdv1.5 | /Services/msk-bs/src/main/java/com/msk/bs/bean/IBS2101139RsBean.java | UTF-8 | 1,082 | 1.875 | 2 | [] | no_license | package com.msk.bs.bean;
import com.hoperun.core.bean.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
/**
* Created by whc on 2016/10/13.
*/
@ApiModel(value = "IBS2101139RsBean", description = "冻品管家信息与买家信息")
public class IBS2101139RsBean ex... | true |
bcf4ade5e0baa6fccd01892b1a561d317c894868 | Java | stranger2008/txmp | /service_interface/src/main/java/com/xingfugo/business/module/Interhistory.java | UTF-8 | 1,943 | 1.734375 | 2 | [] | no_license | package com.xingfugo.business.module;
import java.io.Serializable;
/**
* @function 功能 会员积分异动列表实体
* @author 创建人 史倩倩
* @date 创建日期 Wed Nov 05 17:03:43 CST 2014
*/
public class Interhistory implements Serializable {
private static final long serialVersionUID = 1L;
private String trade_id;
public String getTrad... | true |
84f26be4aa0615aab993e152b8bf03e95982bf81 | Java | leicareddot/spring-mvc-study | /spring-mvc-http-message-converter/src/main/java/com/atoz_develop/springmvchttpmessageconverter/WebConfiguration.java | UTF-8 | 1,190 | 2.09375 | 2 | [] | no_license | package com.atoz_develop.springmvchttpmessageconverter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.oxm.jaxb.Jaxb2Marshaller;
import org.springframework.web.se... | true |
5aee57d132aea38a50746931620fb2886e6f5b51 | Java | jianganglu/NC | /shop/com/enation/javashop/core/service/IPaymentManager.java | UTF-8 | 3,000 | 2.140625 | 2 | [] | no_license | package com.enation.javashop.core.service;
import java.util.List;
import java.util.Map;
import com.enation.framework.plugin.IPlugin;
import com.enation.javashop.core.model.PayCfg;
/**
* 支付方式管理接口
*
* @author kingapex 2010-4-6下午03:24:02
*/
public interface IPaymentManager {
/**
* 获取配送方式列表
*
* @return
*... | true |
bb5502595c824aebb72a03809f9360800aba80a9 | Java | QianUser/park | /park-common/src/main/java/com/park/cloud/common/domain/vo/order/TraMonthlyStrategyListVO.java | UTF-8 | 1,486 | 2.265625 | 2 | [] | no_license | package com.park.cloud.common.domain.vo.order;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* <Description>
*
* @author liuhainan
* @createDate 2020/04/12 8:34
*/
@Data
public class TraMonthlyStrategyListVO {
@ApiModelProperty(... | true |
371d0a579399c39fce7e027a338372711e09e66c | Java | d4rkfly3r/Azmate | /src/main/java/net/d4rkfly3r/irc/azmate/lib/IRCInput.java | UTF-8 | 3,241 | 2.84375 | 3 | [] | no_license | package net.d4rkfly3r.irc.azmate.lib;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Reader;
import java.net.SocketException;
/**
* Input Thread.
*/
final class IRCInput extends Thread {
/**
* Stream used to read from the IRC server.
*/
private final BufferedReader buff... | true |
2b17cd48781507fa09eee6976ae62e0e2d979a87 | Java | AndyJayVee/robot-project-assessment | /C14-F/src/models/MarvinMover.java | UTF-8 | 3,039 | 3.140625 | 3 | [] | no_license | /**
* @author Loek
* @author Leo
* Instantiates two motors: motorA and motorB.
* Has methods to set individual motor speeds and directions to move the vehicle.
* The Delay.msDelay can be adjusted to tweak the exact angles.
*/
package models;
import lejos.hardware.motor.EV3LargeRegulatedMotor;
import lejos.hard... | true |
4ed2ada9b58f0e9fc36d150d659ae67406e70b99 | Java | moutainhigh/sefonsoft-crm | /crm-main/src/main/java/com/sefonsoft/oa/controller/sys/SysEnvController.java | UTF-8 | 1,454 | 2.09375 | 2 | [] | no_license | package com.sefonsoft.oa.controller.sys;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.... | true |
58ed586039735363a7f23ec0d1e3289ce5b8753e | Java | dheemanthp/Algorithms | /StringManipulation/nonRepeatingCharInString.java | UTF-8 | 3,411 | 4.1875 | 4 | [] | no_license | //Using HashMap
//if the character repeats just put -1
//if the character does not repeat just add the index value
//now just get the minimum index value from the hashmap
//https://www.geeksforgeeks.org/given-a-string-find-its-first-non-repeating-character/
import java.util.*;
public class MyClass {
public st... | true |
8c04bee9235aa9468289702245f6d256cce9ed37 | Java | dmagurano/ai2017 | /Lab6/src/main/java/it/polito/madd/chat/model/Roster.java | UTF-8 | 444 | 2.703125 | 3 | [] | no_license | package it.polito.madd.chat.model;
import java.util.ArrayList;
import java.util.List;
//Incapsula una lista di stringhe
public class Roster {
private List<String> users = new ArrayList<String>();
public Roster(List<ChatUser> users) {
for(ChatUser cu : users)
this.users.add(cu.getNickname());
}
... | true |
1141f1e727f51889158d554d33fa34dc609437ea | Java | Vini20ft/Projeto_Fazai | /Mobile/app/src/main/java/fazai/com/br/fazai/model/ValorReal.java | UTF-8 | 379 | 2.671875 | 3 | [] | no_license | package fazai.com.br.fazai.model;
import java.text.NumberFormat;
import java.util.Locale;
public class ValorReal {
public String ConverterValorReal(double valor) {
Locale ptBr = new Locale("pt", "BR");
String valorString = NumberFormat.getCurrencyInstance(ptBr).format(valor);
System.out.... | true |
2638ab380efd31b215b87b7579f6639a67388d0c | Java | parth19069/ColorSwitch | /src/obstacles/TangentialPlusObstacle.java | UTF-8 | 3,599 | 2.640625 | 3 | [] | no_license | package obstacles;
import javafx.beans.binding.BooleanBinding;
import javafx.scene.Group;
import javafx.scene.paint.Color;
import javafx.scene.transform.Translate;
import playerinfo.Player;
import java.util.ArrayList;
public class TangentialPlusObstacle extends Obstacle {
private PlusObstacle plus1, plus2;
p... | true |
21416c552bfb5424260a6e24bf2306114fffcd64 | Java | joostvdg/TRAPP | /trunk/dao/src/main/java/org/jiji/trapp/dao/AssetDao.java | UTF-8 | 194 | 1.578125 | 2 | [] | no_license | package org.jiji.trapp.dao;
import org.jiji.trapp.domain.Asset;
import org.springframework.data.jpa.repository.JpaRepository;
public interface AssetDao extends JpaRepository<Asset, Long> {
}
| true |
9d7eacc38ae4127b74fbdb2e8c1772617a19c4b0 | Java | AlgirdasL/alfresco | /root/projects/repository/source/java/org/alfresco/repo/blog/cannedqueries/DraftsAndPublishedBlogPostsCannedQuery.java | UTF-8 | 7,254 | 1.65625 | 2 | [] | no_license | /*
* Copyright (C) 2005-2011 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... | true |
2e6f90d149721f2680fc13383204465f2ce629c2 | Java | akarakaya/SimApp | /src/org/fog/placement/MyModulePlacement.java | ISO-8859-9 | 11,632 | 2.328125 | 2 | [] | no_license | package org.fog.placement;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.stream.Collectors;
import org.cloudbus.cloudsim.core.CloudSim;
import org.fog.application.AppModule;
import org.fog.ap... | true |
7996c6d9f5dc9e85a1d1cd94ab4d828ca8d566e6 | Java | love-Ytl/spring-cloud-insurance-parent | /insurance-provider-user-8001/src/main/java/com/ytl/insurance/service/UserService.java | UTF-8 | 337 | 1.84375 | 2 | [] | no_license | package com.ytl.insurance.service;
import com.ytl.insurance.pojo.Authority;
import com.ytl.insurance.pojo.User;
import java.util.List;
public interface UserService {
public String addUser(User user);
public User queryUser(String account,String pwd);
List<Authority> getAuthority(int roleId);
List<Us... | true |
26ecf064e5571be6b2dfc65efdc0f40486a305c2 | Java | 919126624/Feiying- | /cmct/src/main/java/com/wuyizhiye/cmct/sms/model/MessageReply.java | UTF-8 | 2,036 | 2.03125 | 2 | [] | no_license | package com.wuyizhiye.cmct.sms.model;
import java.util.Date;
import com.wuyizhiye.base.CoreEntity;
import com.wuyizhiye.cmct.sms.enums.SMSTypeEnum;
/**
* @ClassName MessageReply
* @Description 短信回复信息
* @author li.biao
* @date 2015-5-26
*/
public class MessageReply extends CoreEntity{
/**
*
*/
private st... | true |
7d80f6f9b8b71e79468ec0c8a2d45802999195fe | Java | willies952002/Minecraft-Skin-Grabber | /src/main/java/com/willies952002/MCSkinGrabber/applet/MCSkinGrabberApplet.java | UTF-8 | 1,641 | 2.3125 | 2 | [] | no_license | package com.willies952002.MCSkinGrabber.applet;
import java.awt.Color;
import javax.swing.JApplet;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JTextField;
import com.jgoodies.forms.factories.FormFactory;
import com.jgoodies.forms.layout.ColumnSpec;
import c... | true |
d151da4cf4fcfad856546794184f28c8d72d2d6e | Java | zhoucaner/Grouping | /app/src/main/java/com/example/zhou/grouping/group/LoginActivity.java | UTF-8 | 7,454 | 2.171875 | 2 | [] | no_license | package com.example.zhou.grouping.group;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.text.Editable;
import android.text.InputType;
import android.text.TextWatcher;
import android.view.View;
import android.widget.ArrayAda... | true |
4ace0cec533f6058519af434c495a3c6f1e8cc25 | Java | saadmohammed/StaffProfile | /app/src/main/java/com/example/staffprofile/ViewHolder/NTStaffViewHolder.java | UTF-8 | 802 | 2.109375 | 2 | [] | no_license | package com.example.staffprofile.ViewHolder;
import android.view.View;
import android.widget.ImageButton;
import android.widget.TextView;
import com.example.staffprofile.R;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
public class NTStaffViewHolder extends RecyclerView.ViewHol... | true |
c1168d1fad08f466a6653a1d7cd0fd28c25bb9ef | Java | EugeneWalkers/ModernArtUI | /app/src/main/java/course/examples/modernartui/MainActivity.java | UTF-8 | 4,061 | 2.25 | 2 | [] | no_license | package course.examples.modernartui;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import androi... | true |
72c26a3005310e320646a7c1bd3d7d5ab161ad07 | Java | sramos02/PC | /src/practica4/ej2/Inc2.java | UTF-8 | 273 | 2.421875 | 2 | [
"Apache-2.0"
] | permissive | package practica4.ej2;
public class Inc2 extends Thread{
private int N;
private Monitor2 bb;
public Inc2(int N, Monitor2 bb) {
this. N = N;
this.bb = bb;
}
@Override
public void run() {
for(int i = 0; i < N; i++)
bb.incrementa();
}
}
| true |
2c6c5abf2ce69cd8f1d5037dcd9bad5c11c5e7f2 | Java | wwjiang007/dal | /dal-client/src/main/java/com/ctrip/platform/dal/dao/datasource/ClusterInfoDelegateIdentity.java | UTF-8 | 246 | 1.546875 | 2 | [
"Apache-2.0"
] | permissive | package com.ctrip.platform.dal.dao.datasource;
import com.ctrip.platform.dal.dao.configure.ClusterInfo;
/**
* @author c7ch23en
*/
public interface ClusterInfoDelegateIdentity extends DataSourceIdentity {
ClusterInfo getClusterInfo();
}
| true |
5e56664976f4a06bf866285fcdc791dd812a0b2c | Java | noudisan/falcon_sample | /hero/hero-man/src/main/java/com/zhiyi/hero/platform/model/Platform.java | UTF-8 | 1,157 | 2.1875 | 2 | [] | no_license | package com.zhiyi.hero.platform.model;
import java.util.Date;
import com.zhiyi.common.model.BaseEntity;
/**
*
* 平台信息类
* @author Administrator
*
*/
public class Platform extends BaseEntity {
private String name;
private String url;
private String secretKey;
/**
*
*/
public ... | true |
2132190e07173a1f22b4b9a1b23701d687aa872b | Java | Heiduo/MyProject1 | /app/src/main/java/activity/PersonalMainActivity.java | UTF-8 | 5,966 | 2 | 2 | [] | no_license | package activity;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.example.myproject1.R;
import cn.bmob.v3... | true |
aa698f4a87e022e1b17962cf8268c7ce870a879e | Java | fazal-khan/memcacheclient | /src/main/java/src/com/mm/memcached/AbstractClient.java | UTF-8 | 4,651 | 2.625 | 3 | [] | no_license | package com.mm.memcached;
import static com.mm.util.Util.UTF8_CHARSET;
import static com.mm.util.Util.getBytes;
import static com.mm.util.Util.intToBytes;
import java.io.IOException;
import java.nio.ByteBuffer;
public abstract class AbstractClient extends Client {
public AbstractClient(String host, int port) throw... | true |
b0e040353fac62631983047af75a5a6f4d5f2d3a | Java | beomhyun/algorithm | /프로그래머스/src/완주하지못한선수.java | UHC | 722 | 2.921875 | 3 | [] | no_license | import java.util.HashMap;
public class Ѽ {
public static void main(String[] args) {
}
public String solution(String[] participant, String[] completion) {
HashMap<String, Integer> map = new HashMap<String, Integer>();
for (int i = 0; i < participant.length; i++) {
if(map.containsKey(participant[i]... | true |
2baa00e42f5c5490bc32e22cd81012794b765e15 | Java | smaltamash/java-learning-core | /src/java_io/io/PrintStreamExample1.java | UTF-8 | 514 | 3.21875 | 3 | [] | no_license | package java_io.io;
import java.io.IOException;
import java.io.PrintStream;
import java.io.FileOutputStream;
public class PrintStreamExample1
{
public static void main(String args[])throws IOException
{
FileOutputStream fout=new FileOutputStream("src/java_io/io/Java IO Files/testout10.txt");
PrintStream ps=new Pr... | true |
c68ada6cc12d00fd380fec97642853355a6454f1 | Java | Salman258/java-gui-messenger-with-tcp-and-udp | /VoiceSender.java | UTF-8 | 2,288 | 2.375 | 2 | [] | no_license |
import java.io.ByteArrayOutputStream;
import java.net.*;
import javax.sound.sampled.*;
import javafx.application.Application;
import javafx.geometry.Insets;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.HBox;
import javafx.stage.Stage;
public class VoiceSender{
public b... | true |
76b3ab7250f8dd34443ed7ca860680318ab8d21d | Java | Balakrishnah/CoreJava | /CoreJava/src/com/java/string/ReverseEachWord.java | UTF-8 | 684 | 3.734375 | 4 | [] | no_license | package com.java.string;
public class ReverseEachWord {
static void reverseEach(String str) {
String word[] = str.split(" ");
String reverse = "";
for (int i = 0; i < word.length; i++) {
String war = word[i];
System.out.println(war);
String reverseWord = " ";
for (int j = war.length() - 1; j >= 0;... | true |
5ea633bda567766fd274a4b3b2113fb66e995687 | Java | NamKoongUk/ArraySample2 | /arrayPractice2/sample/ArraySample2.java | UHC | 3,164 | 3.4375 | 3 | [] | no_license | package com.kh.arrayPractice2.sample;
import java.util.Random;
import java.util.Scanner;
public class ArraySample2 {
Scanner sc = new Scanner(System.in);
public void sample1() {
int[] arr = new int[10];
int value=1;
String str="";
for(int i=0; i<arr.length; i++) {
arr[i]=value++;
... | true |
e57d604df05dda2d41233a55cdd3f2bcc3d54110 | Java | patrickcchenn/Eatlevate | /app/src/main/java/com/example/eatlevate/planActivity.java | UTF-8 | 3,116 | 2.234375 | 2 | [] | no_license | package com.example.eatlevate;
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.EditText;
import android.widget.RadioButton;
import android.w... | true |
71a61813dd2973ef3156436d87767cf501192a17 | Java | lachlancoin/japsa | /src/dev/java/japsadev/tools/StructuralVariationCmd.java | UTF-8 | 7,571 | 2.015625 | 2 | [
"BSD-2-Clause",
"LicenseRef-scancode-other-permissive"
] | permissive | /*****************************************************************************
* Copyright (c) Minh Duc Cao, Monash Uni & UQ, All rights reserved. *
* *
* Redistribution and use in source and binary forms, with or without *
* m... | true |
eeca659d46c91222c447365b0bacafa824971bb5 | Java | Sunconure11/Totemic-1 | /src/main/java/totemic_commons/pokefenn/entity/ModEntities.java | UTF-8 | 858 | 1.890625 | 2 | [
"MIT"
] | permissive | package totemic_commons.pokefenn.entity;
import net.minecraftforge.fml.common.registry.EntityRegistry;
import totemic_commons.pokefenn.Totemic;
import totemic_commons.pokefenn.entity.animal.EntityBuffalo;
import totemic_commons.pokefenn.entity.boss.EntityBaykok;
import totemic_commons.pokefenn.entity.projectile.Entity... | true |
da7bb90b03d280400f398fa84b998ac16f984bfd | Java | lucaspontes7/projetoPessoal | /armazem/src/main/java/com/projeto/armazem/service/MovimentacaoEstoqueService.java | UTF-8 | 2,144 | 2.25 | 2 | [] | no_license | package com.projeto.armazem.service;
import com.projeto.armazem.model.MovimentacaoEstoque;
import com.projeto.armazem.model.TipoProdutoSecao;
import com.projeto.armazem.model.VolumeDisponivelPorSecao;
import com.projeto.armazem.model.VolumeTotalPorTipo;
import com.projeto.armazem.repository.MovimentacaoEstoqueReposito... | true |
d9ffecd7c95443efc51d4d7f3df2869b59959277 | Java | by19880401/MybatisplusDemo | /src/main/java/com/hicola/model/ImportOrExportVo.java | UTF-8 | 970 | 1.90625 | 2 | [
"Apache-2.0"
] | permissive | package com.hicola.model;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.ToString;
/**
* @author baiyang
* @date 2021/7/19
*/
@Data
@ToString
public class ImportOrExportVo {
@ExcelProperty(value = "任务项名称", index = 0)
private String itemName;
@ExcelProperty(value = ... | true |
6565c5174c877b702a52d667cff0a503507602b2 | Java | Yuanchenran/ycr12.30 | /app/src/main/java/com/bawei/ycr1230/NetUlit.java | UTF-8 | 3,573 | 2.296875 | 2 | [] | no_license | package com.bawei.ycr1230;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.AsyncTask;
import android.widget.ImageView;
import com.android.volley.RequestQueue;
import com.android.volley.toolbox.Volley;
import com.bumptech.glide.Glide;
import ja... | true |
28c9029639c528f47d6ebe366ebb9e78836a5540 | Java | cculife/CCULife | /ccudata/src/main/java/org/zankio/ccudata/base/source/FetchParseSource.java | UTF-8 | 634 | 2.328125 | 2 | [] | no_license | package org.zankio.ccudata.base.source;
import org.zankio.ccudata.base.model.Request;
public abstract class FetchParseSource<TArgument, TData, TFetch> extends BaseSource<TArgument, TData>{
protected abstract TData parse(Request<TData, TArgument> request, TFetch response) throws Exception;
@Override
publ... | true |
d215b4c21d22d1bb62327880a5fefbe99f2ba2f9 | Java | Vinzaghi/CAR-RENTAL-AND-MANAGEMENT-SYSTEM | /Update 2/CarRental/src/Classes/Van.java | UTF-8 | 562 | 2.59375 | 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 Classes;
/**
*
* @author Patrick
*/
public class Van extends Car {
public Van(int carCode, String bra... | true |
722cad66717ae870a4d86c72685101a29e87cfb6 | Java | fxrWinters/RedisDev | /src/main/java/org/redis/study/web/AppController.java | UTF-8 | 4,214 | 2.421875 | 2 | [] | no_license | package org.redis.study.web;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.redis.study.model.Topic;
import org.redis.study.service.JedisService;
import org.springframework.beans.factory.annotation.Autowi... | true |
8bce4b1b57276fb6e154a0d3d5dce5f100aae742 | Java | awadodeh/MPP_Class | /src/test/java/part1/test/duck/Duck.java | UTF-8 | 536 | 2.671875 | 3 | [] | no_license | package part1.test.duck;
import part1.test.operations.Flying.FlyBehavior;
import part1.test.operations.quacking.QuackBehavior;
/**
* Created by 985191 on 5/27/2016.
*/
public abstract class Duck{
protected QuackBehavior quackBehavior;
protected FlyBehavior flyBehavior;
public void swim()
{
... | true |
d47a108c668e4670db2ee6ef3fcfb29fae519e80 | Java | giampieer/evaluaciononlinedinamico_jsp | /src/java/SERVLET/AlumnoServlet.java | UTF-8 | 7,934 | 2.328125 | 2 | [] | no_license |
package SERVLET;
import BEAN.AdministradorBean;
import BEAN.AlumnoBean;
import DAO.AlumnoDAO;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.ser... | true |
f3b5a86027490e07db551b8c3860d119bfe74108 | Java | vordac/Project_Salad | /src/main/java/sasha/burgazli/App/models/form/StudyGroupForm.java | UTF-8 | 1,180 | 2.625 | 3 | [] | no_license | package sasha.burgazli.App.models.form;
import sasha.burgazli.App.models.StudyGroup;
public class StudyGroupForm {
private String id;
private Integer groupNumber;
private Integer courseValue;
private String specialityName;
public StudyGroupForm() {
}
public StudyGroupForm(StudyGroup... | true |
e4044a339a9b2ba32a8a5d4bfea659eaeca1890d | Java | myhumm/humm-android-sdk | /humm-sdk/src/main/java/humm/android/api/Model/HummBasicResult.java | UTF-8 | 355 | 2.046875 | 2 | [] | no_license | package humm.android.api.Model;
/**
* Created by josealonsogarcia on 15/9/15.
*/
public class HummBasicResult extends HummResult {
public String data_response;
public String getData_response() {
return data_response;
}
public void setData_response(String data_response) {
this.data_... | true |
b8fe50a26d102c1baf49aac98db1662ec1a846ec | Java | liushuai110/netty_homework | /src/main/java/gupao/designPatterns/e_Delegate/EmployeeB.java | UTF-8 | 200 | 2.578125 | 3 | [] | no_license | package gupao.designPatterns.e_Delegate;
public class EmployeeB implements IEmployee {
@Override
public void doing(String command) {
System.out.println("A IS DOING "+command);
}
}
| true |
4658fcb864e0dd36a32a2751daa14adbe6c9244a | Java | busycount/adapter-rv | /library/src/main/java/com/busycount/rvadapter/diff/RvDiffHelper.java | UTF-8 | 1,406 | 2.078125 | 2 | [] | no_license | package com.busycount.rvadapter.diff;
import android.support.v7.util.DiffUtil;
import com.busycount.rvadapter.BaseRvAdapter;
import com.busycount.rvadapter.BaseRvAdapter0;
import java.util.List;
/**
* RecyclerView diff helper
* <p>
* 2018/11/19 | Count.C | Created
*/
public class RvDiffHelper {
public st... | true |
47858f79b48778dada3fdd66510d83e803a69f7e | Java | SaraadKun/LeetCode | /src/main/java/com/saraad/leetcode/dailycode2022/july/IsSameTree.java | UTF-8 | 1,828 | 3.296875 | 3 | [] | no_license | package com.saraad.leetcode.dailycode2022.july;
import com.saraad.leetcode.bean.TreeNode;
import java.util.ArrayDeque;
import java.util.LinkedList;
import java.util.Queue;
/**
* @Description: desc
* @Author: Saraad
* @Link: url
* @Date: 17-07-2022 15:50
*/
public class IsSameTree {
public boolean isSameTr... | true |
09336cec332d36d22b424c7df45bc272130842b2 | Java | mabdousaad/retail-store | /RetailStoreAPI/src/main/java/com/zerog/retail/controller/BillsController.java | UTF-8 | 1,422 | 2.34375 | 2 | [
"Apache-2.0"
] | permissive | package com.zerog.retail.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.... | true |
6d1a0fc129efb1dde5dff7e3ac30e150376adb02 | Java | lucaswei/Sudoku | /test.java | UTF-8 | 199 | 2.171875 | 2 | [] | no_license | public class test{
public static void main(String[] args){
Sudoku game = new Sudoku(1);
game.printB();
/*
SudokuScreen screen = new SudokuScreen();
screen.setVisible(true);
*/
}
}
| true |