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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
9ffc38dad41ee54bf372123d247e8e503c85cbd0 | Java | polarjarod/Naval-Conquest | /TurnBasedNavalCombat/src/Arsenal.java | UTF-8 | 1,630 | 3.171875 | 3 | [] | no_license | import java.util.ArrayList;
public class Arsenal {
private ArrayList<Entity> player1 = new ArrayList<Entity>();
private ArrayList<Entity> player2 = new ArrayList<Entity>();
private ArrayList<Plane> player1P = new ArrayList<Plane>();
private ArrayList<Plane> player2P = new ArrayList<Plane>();
public Arsenal(in... | true |
35248aa3a600c1d46bd590be765601dfcae34b74 | Java | xiaogoudandan/Animation | /app/src/main/java/com/example/william_zhang/animation/view/LoveIconView.java | UTF-8 | 4,840 | 2.203125 | 2 | [
"Apache-2.0"
] | permissive | package com.example.william_zhang.animation.view;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.ValueAnimator;
import android.content.Context;
import android.graphics.PointF;
import android.util.AttributeSet;
import android.view.animation.AccelerateDecele... | true |
026d7482c572301a615b765c14c4c488662f42a9 | Java | hyozkim/java-baseball-precourse | /src/main/java/baseball/dto/Progress.java | UTF-8 | 98 | 1.84375 | 2 | [] | no_license | package baseball.dto;
public enum Progress {
STRIKE, BALL, STRIKE_BALL, NOTHING, STOP, END
}
| true |
e046e8757c1294f964cef15c3a9a52022aa5d060 | Java | fefeyo/NikkeiRSS | /app/src/main/java/com/fefeyo/nikkeirss/RssParserTask.java | UTF-8 | 3,539 | 2.453125 | 2 | [] | no_license | package com.fefeyo.nikkeirss;
import android.app.ProgressDialog;
import android.content.Context;
import android.os.AsyncTask;
import android.util.Log;
import android.util.Xml;
import android.widget.ListView;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import java.io.IOException... | true |
372e05fd877dddb92a78dc6686ada9ea72c5590e | Java | IvanLazov/examples | /bank/test/com/clouway/gwt/bank/client/register/RegisterPresenterTest.java | UTF-8 | 5,038 | 2.125 | 2 | [] | no_license | package com.clouway.gwt.bank.client.register;
import com.clouway.gwt.bank.server.InstanceMatcher;
import com.clouway.gwt.bank.client.RegisterServiceAsync;
import com.clouway.gwt.bank.shared.exceptions.UsernameAlreadyTakenException;
import com.clouway.gwt.bank.shared.exceptions.WrongPasswordException;
import com.clouwa... | true |
2520e85dc4f9912c48fe8be0526212f0131943f3 | Java | tsp520/TChat | /app/src/main/java/com/netease/nim/demo/wzteng/friends/adapter/viewholder/MusicViewHolder.java | UTF-8 | 1,358 | 2.234375 | 2 | [] | no_license | package com.netease.nim.demo.wzteng.friends.adapter.viewholder;
import android.view.View;
import android.view.ViewStub;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.netease.nim.demo.R;
/**
* Created by suneee on 2016/8/16.
*/
public class MusicVie... | true |
f1db393101b95bde178a9d0300e3b7bdbdd9c6bd | Java | gladielf/BluethFish-Control-de-Acuarios | /Android/BluethFish Control de Acuarios/src/com/pfc/bluethfish/control/acuarios/data/PlantColumns.java | UTF-8 | 1,601 | 1.757813 | 2 | [] | no_license | package com.pfc.bluethfish.control.acuarios.data;
/**
* @author Fermín Conejo
*
*/
import android.provider.BaseColumns;
public interface PlantColumns extends BaseColumns {
public final static String ColPlantOrder = "plantOrder";
public final static String ColPlantFamily = "familyPlant";
public final static S... | true |
b84a1d6fbba4fc7e1afc049630b549db29848cfc | Java | codecentric/spring-boot-admin | /spring-boot-admin-server-ui/src/main/java/de/codecentric/boot/admin/server/ui/config/AdminServerUiProperties.java | UTF-8 | 7,050 | 1.757813 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2014-2023 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | true |
b743ae042b7f156c8d05ce478d4027d4c8c2208f | Java | Sudarsono/User | /app/src/main/java/com/sudarsono/user/ui/users/UserAdapter.java | UTF-8 | 2,003 | 2.328125 | 2 | [] | no_license | package com.sudarsono.user.ui.users;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import com.squareup.picasso.Picasso;
import com.sudarsono.user.R;
import... | true |
620f96e02da1670c9cddd98ee731091312e5717a | Java | MohsenShahbazi/linkee-backend-java | /src/main/java/ir/pt/diktee/resource/mapper/BlockedUserMapper.java | UTF-8 | 439 | 1.742188 | 2 | [] | no_license | package ir.pt.diktee.resource.mapper;
import ir.pt.core.mapper.BaseMapper;
import ir.pt.diktee.resource.entity.user.BlockedUser;
import ir.pt.diktee.resource.entity.user.User;
import ir.pt.diktee.resource.model.user.BlockedUserModel;
import ir.pt.diktee.resource.model.user.UserModel;
import org.mapstruct.Mapper;
@Mapp... | true |
2489f5cc8b4bcd8778c7064e337c2bbb8a90c39d | Java | gaowei0115/design-pattern-system | /design-pattern-base/src/main/java/com/mmc/design/pattern/factory/game/CheckersGame.java | UTF-8 | 485 | 3.078125 | 3 | [] | no_license | package com.mmc.design.pattern.factory.game;
/**
* @packageName:com.mmc.design.pattern.factory.game
* @desrciption: 西洋跳棋游戏
* @author: gaowei
* @date: 2018-10-23 17:45
* @history: (version) author date desc
*/
public class CheckersGame implements Game {
private int moves = 0;
private static final int MOV... | true |
0e2ab50c15143420066857ef0afcdea0d48d9419 | Java | owenobyrne/insightly-api-client | /src/main/java/ly/insight/model/Pipeline.java | UTF-8 | 4,850 | 2.109375 | 2 | [] | no_license | package ly.insight.model;
import java.util.Objects;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
/**
* APIPipeline
*/
@ApiModel(description = "APIPipeline")
@javax.annotation.Generated(value = ... | true |
4b2d35b0dc0b2282f23e49fd078703be72fed41e | Java | Seanxiaao/java-normal-bug-cases | /src/main/java/com/sean/devbugssummary/lock/controller/DeadLockController.java | UTF-8 | 4,151 | 2.75 | 3 | [] | no_license | package com.sean.devbugssummary.lock.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.*;
import java.util.concurrent.ThreadLocalRandom;
import java.util.... | true |
5a7d8b9e4b7a763b182c2c5bdcd0de3ee32915b1 | Java | sauravrp/Places | /app/src/test/java/com/example/sauravrp/listings/ListingsDetailViewModelTest.java | UTF-8 | 4,480 | 2.25 | 2 | [] | no_license | package com.example.sauravrp.listings;
import android.arch.core.executor.testing.InstantTaskExecutorRule;
import android.arch.lifecycle.Observer;
import com.example.sauravrp.listings.network.models.Contact;
import com.example.sauravrp.listings.network.models.ListingDetail;
import com.example.sauravrp.listings.network... | true |
0e8ca790035e5ced50f92e912d21f0b11e066e5f | Java | swekiiz/software-architecture-and-design | /refactor/lsp-after/Square.java | UTF-8 | 318 | 2.515625 | 3 | [] | no_license | package com.solid.lsp;
public class Square implements ISquare {
private int side;
Square() {
}
Square(int side) {
this.setSide(side);
}
public int getSide() {
return width;
}
public void setSide(int side) {
this.width = width;
}
}
| true |
cc340a614e5cabbcd0f559ce73639f944b1b3431 | Java | mich561d/CA2_TTT_API | /src/main/java/exceptions/EntityNotFoundExceptionMapper.java | UTF-8 | 1,035 | 2.15625 | 2 | [] | no_license | package exceptions;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import javax.servlet.ServletContext;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.ext.ExceptionMapper;
import javax.ws.rs.ext.Provider;
/**
*
... | true |
fca43f7b21dafe4e5d6fac35c7ce45b8ed6531a1 | Java | jms8719/Walk-Walk-Revolution | /app/src/main/java/edu/ucsd/cse110/walkwalkrevolution/invitation/Invitations.java | UTF-8 | 1,131 | 2.84375 | 3 | [] | no_license | package edu.ucsd.cse110.walkwalkrevolution.invitation;
import java.util.ArrayList;
import java.util.List;
import edu.ucsd.cse110.walkwalkrevolution.WalkWalkRevolution;
public class Invitations implements InvitationSubject{
List<Invitation> invitations;
List<InvitationsObserver> observers;
public Invita... | true |
d9830792f8afc0a4bbd0e4d44b14f9d0b6b1e860 | Java | mc-imperial/jtool-sct | /projects/papabench/src/main/java/papabench/core/bus/SPIBusChannel.java | UTF-8 | 270 | 2.171875 | 2 | [
"MIT"
] | permissive | package papabench.core.bus;
import papabench.core.commons.devices.Device;
/**
* Simple representation of SPI link between two devices.
*
* @author Michal Malohlava
*
*/
public interface SPIBusChannel extends Device {
SPIBus getMasterEnd();
SPIBus getSlaveEnd();
}
| true |
bb3312a893aeadf485dae7c1061ad13ee706b1a0 | Java | zsigmond-czine-everit/email-store-api | /src/main/java/org/everit/email/store/EmailStore.java | UTF-8 | 1,617 | 2.40625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (C) 2011 Everit Kft. (http://www.everit.org)
*
* 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... | true |
af7157e0c34e5418e6c8f377ad443948b64132f0 | Java | mrblackhole6897/GIUAKY_QUANLYXE | /app/src/main/java/com/example/quanlyxe/XeActivity.java | UTF-8 | 20,250 | 1.90625 | 2 | [] | no_license | package com.example.quanlyxe;
import android.annotation.SuppressLint;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.annotation.NonNull;
import android.support.design.widget.BottomNavigationView;
import android.support.v7.app.AlertDialog;
impo... | true |
711a209ab4078f94a104e5912b7c0580462debb3 | Java | gangaramana/Leetcode | /src/main/java/find_town_judge_997/FindTownJudge.java | UTF-8 | 1,450 | 3.0625 | 3 | [] | no_license | package find_town_judge_997;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
public class FindTownJudge {
public static void main(String[] args) {
FindTownJudge findTownJudge = new FindTownJudge();
int result= findTownJudge.findJudge(4, new int[][]{{1,3},{1,4},{... | true |
1fcc42c2f4ced5012fd9f64a554aaa6c91f49925 | Java | octoblu/alljoyn | /alljoyn/alljoyn_core/samples/simple/android/client/src/org/alljoyn/bus/samples/simpleclient/BusNameItem.java | UTF-8 | 1,733 | 2.015625 | 2 | [
"ISC"
] | permissive | /*
* Copyright (c) 2010 - 2011, AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFT... | true |
96a9610ef046943a0fa964f87f6af0cfa9b36f43 | Java | Developer-Integration-Lab/InterOp-SOA | /Webapps/LabParticipant/src/main/java/net/aegis/lab/participant/web/action/security/Login.java | UTF-8 | 2,318 | 2.1875 | 2 | [] | no_license | package net.aegis.lab.participant.web.action.security;
import net.aegis.lab.dao.pojo.User;
import net.aegis.lab.exception.ServiceException;
import net.aegis.lab.manager.SecurityManager;
import net.aegis.lab.participant.web.action.BaseAction;
public class Login extends BaseAction {
private static final long seria... | true |
1942722ddaeabb26a8fe3f2951ce7094324edd79 | Java | DJ-Chemik/PizzaApp | /src/main/java/pl/chemik/PizzaApp/objects/ingredients/sauces/CreamSauce.java | UTF-8 | 466 | 2.546875 | 3 | [] | no_license | package pl.chemik.PizzaApp.objects.ingredients.sauces;
import org.springframework.stereotype.Component;
import pl.chemik.PizzaApp.objects.ingredients.CategoryOfIngredient;
import pl.chemik.PizzaApp.objects.ingredients.Ingredient;
@Component
public class CreamSauce extends Ingredient {
public CreamSauce() {
... | true |
4d3968d160ba561cb05fe70e9d2136cf702ab12a | Java | researchstudio-sat/webofneeds | /webofneeds/won-core/src/main/java/won/protocol/message/builder/ResponseBuilder.java | UTF-8 | 4,849 | 2.203125 | 2 | [
"Zlib",
"EPL-1.0",
"LZMA-exception",
"bzip2-1.0.6",
"CPL-1.0",
"CDDL-1.0",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package won.protocol.message.builder;
import java.net.URI;
import java.util.Optional;
import won.protocol.exception.MissingMessagePropertyException;
import won.protocol.message.WonMessage;
import won.protocol.message.WonMessageDirection;
import won.protocol.message.WonMessageType;
import won.protocol.vocabulary.WONMS... | true |
f680e28ca8bbfbc57d243cc4796397dd42adc1b9 | Java | NickRowell/astronomy | /src/projects/tgas/exec/SeniorHonoursProject2017.java | UTF-8 | 23,529 | 2.265625 | 2 | [] | no_license | package projects.tgas.exec;
import java.io.IOException;
import java.util.Collection;
import java.util.LinkedList;
import java.util.List;
import java.util.logging.Logger;
import Jama.Matrix;
import astrometry.util.AstrometryUtils;
import constants.Galactic;
import constants.Units;
import infra.io.Gnuplot;
import infra... | true |
53d92e15df40abfa68d2b1e6327c9a74df3894fa | Java | Darrenworkhard/leetcod-OA | /Good/Medium/LC1011-CapacityWitinDDays-BinaryS.java | UTF-8 | 698 | 2.890625 | 3 | [] | no_license | class Solution {
public int shipWithinDays(int[] weights, int D) {
int lo = 0;
int hi = 0;
for(int i : weights)
{
hi += i;
lo = Math.max(lo, i);
}
while(lo <= hi)
{
int mid = lo + (hi - lo) / 2;
int sum = 0;
... | true |
725bf5548a25dbfef21d42f5b6861dacaa236792 | Java | priyaBhadouria/InventoryMicroservices | /3_Dev_DigitalInventoryMicroServices/src/main/java/com/ge/current/digitalinventoryservice/totalinventory/entity/InstallerReceivedEntity.java | UTF-8 | 4,160 | 1.914063 | 2 | [] | no_license |
package com.ge.current.digitalinventoryservice.totalinventory.entity;
import java.sql.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="installer_received_details_view",schema="analytics")
public class InstallerR... | true |
1feac8735866960456f21eacb6afa70f3447f8b8 | Java | brilliant38/28-4-bookshop | /28-4-bookshop/src/service/BookCodeService.java | UTF-8 | 712 | 2.484375 | 2 | [] | no_license | package service;
import java.sql.Connection;
import java.util.ArrayList;
public class BookCodeService {
Connection connection = DriverUtil.driverDBcon();
public ArrayList<BookCode> bookCode(){
ArrayList<BookCode> bookCodeList = null;
try {
connection.setAutoCommit(false);
BookCodeDao bookcod... | true |
67438ee04a758ecc81d0eb59db744e6c0c482f0a | Java | Ertinfagor/BulletinBoard | /main/src/main/java/com/senkatel/bereznikov/bulletinboard/cities/CitiesDialog.java | UTF-8 | 2,178 | 2.328125 | 2 | [] | no_license | package com.senkatel.bereznikov.bulletinboard.cities;
import android.app.DialogFragment;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import an... | true |
a8fb3d9c73766f6267bfbd440c90bc2f5606d6bb | Java | Sundar-Gandu/MeteorLite | /runelite-api/src/main/java/net/runelite/api/Identifiable.java | UTF-8 | 75 | 1.835938 | 2 | [] | no_license | package net.runelite.api;
public interface Identifiable {
int getId();
}
| true |
bfb9237957ab71fdb6443c6c5106a016b331844b | Java | CIPM-tools/PCM-Headless | /org.pcm.headless.rest/src/main/java/org/pcm/headless/rest/iface/RestInterface.java | UTF-8 | 11,296 | 1.796875 | 2 | [] | no_license | package org.pcm.headless.rest.iface;
import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.uti... | true |
b84c3d47ccbf7b2d47969270f5f562e43835b859 | Java | krojowska/app_analize_temperature | /app/src/main/java/com/example/temperatureapplication/Growth.java | UTF-8 | 483 | 2.4375 | 2 | [] | no_license | package com.example.temperatureapplication;
import com.google.gson.annotations.SerializedName;
public class Growth {
@SerializedName("sensorsTemperature")
private float Temperature;
@SerializedName("id")
private int Id;
@SerializedName("reading_time")
private String time;
public float g... | true |
7cb229a01936a2e88f656dd6fbfc84fcf6be1d83 | Java | kiuby88/tomat | /core/src/test/java/org/tomat/agnostic/application/test/AppDatabaseAgnosticApplicationTest.java | UTF-8 | 4,455 | 2.171875 | 2 | [
"CC-BY-3.0"
] | permissive | package org.tomat.agnostic.application.test;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.tomat.ResourcePathResolver;
import org.tomat.agnostic.application.AgnosticA... | true |
74089bb0faa9dde085a7c0d4acf78a233e7248c1 | Java | jasonlaw-dev/leetcode | /src/102.binary-tree-level-order-traversal(revision-0).java | UTF-8 | 1,434 | 3.328125 | 3 | [] | no_license | import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
/*
* @lc app=leetcode id=102 lang=java
*
* [102] Binary Tree Level Order Traversal
*/
class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) { val = x; }
}
// @lc code=start
/... | true |
06082eecdfe6b7eb20389df20fbf62fa8152f2ed | Java | NikitaNesterenko/JM-SYSTEM-MESSAGE | /service-abstract/src/main/java/jm/CommandsBotService.java | UTF-8 | 303 | 1.65625 | 2 | [] | no_license | package jm;
import com.fasterxml.jackson.core.JsonProcessingException;
import jm.dto.SlashCommandDto;
public interface CommandsBotService {
String getWsCommand(SlashCommandDto command) throws JsonProcessingException;
String sendMsg(SlashCommandDto command) throws JsonProcessingException;
}
| true |
54b0bff93d1529ae20a79f0da1db360831e119b2 | Java | lirchi/Termes | /TermesBot.java | UTF-8 | 8,077 | 2.9375 | 3 | [] | no_license | import java.lang.Math;
enum TermesActions {
TURN_RIGHT , TURN_LEFT , GO_FORWARD , PICK_UP , PUT_DOWN;
/* public TermesActions getNext() {
return values()[(ordinal()+1) % values().length];
}
public TermesActions getLast() {
return values()[(this.ordinal() + values().length - 1) % val... | true |
6cd00dd76a3b72be1e4ce0afb3051822c1c49f25 | Java | diegoareval/SistemaJaryva | /src/com/devs/auxiliar/SesionUsuarios.java | UTF-8 | 322 | 1.929688 | 2 | [] | no_license |
package com.devs.auxiliar;
import entities.Usuarios;
/**
*
* @author DiegoArevalo
*/
public class SesionUsuarios {
public Usuarios usuarios;
public Usuarios getUsuarios() {
return usuarios;
}
public void setUsuarios(Usuarios usuarios) {
this.usuarios = usuarios;
}
... | true |
a9e33745320172d74e85fcbbfe6de5540eee772f | Java | federicocosentino87/SOLID_design_pattern | /dependency-inversion-principle/src/dependency/inversion/principle/main/Database.java | UTF-8 | 131 | 1.664063 | 2 | [] | no_license | package dependency.inversion.principle.main;
public interface Database {
public void connect();
public void discconnect();
}
| true |
1a267c0290bf71d932fe6efd51f2fe9b266a0558 | Java | DJBruteForce/ICNPluginExample | /src/com/ibm/igf/resources/LocaleResources_af_ZA.java | UTF-8 | 708 | 1.976563 | 2 | [] | no_license | package com.ibm.igf.resources;
public class LocaleResources_af_ZA extends java.util.ListResourceBundle {
static final Object[][] contents = { { "GUIDATEFORMAT", "yyyy/MM/dd" }, { "GUIDATEPATTERN", "####/##/##" }, { "GUIBLANKDATETEXT", " / / " }, { "GUIDEFAULTDATETEXT", "2001/01/01" }, { "DefaultFrameTitle"... | true |
be7542fd1502f56f7aa290b407f4b29d3d0459e2 | Java | ninahyeon/GookieRun | /src/server/Member.java | UHC | 1,021 | 3 | 3 | [] | no_license | package server;
import java.util.ArrayList;
import jdbc.MemberDAO;
import jdbc.MemberDTO;
public class Member {
// Ʈ ⼭ DAO select ؼ
private ArrayList<MemberDTO> mList = null;
private MemberDAO mDAO = null;
private MemberDTO m = null;
public Member() {
mDAO = MemberDAO.getInstance();
}
public int login... | true |
029086a3c638380a718c0679b13f0843ed2b23fa | Java | Vkothari28/EscapeFinal | /src/escape/board/pathFinder/PathFinderStrategy.java | UTF-8 | 1,316 | 2.546875 | 3 | [] | no_license | /*******************************************************************************
* This files was developed for CS4233: Object-Oriented Analysis & Design.
* The course was taken at Worcester Polytechnic Institute.
*
* All rights reserved. This program and the accompanying materials
* are made available under the t... | true |
115967d61c7a260e533420d82865ec683b4953f0 | Java | JimCallahan/Pipeline | /src/java/us/temerity/pipeline/message/job/JobGetNumProcessorsRsp.java | UTF-8 | 2,643 | 2.109375 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | // $Id: JobGetNumProcessorsRsp.java,v 1.4 2009/08/19 22:48:06 jim Exp $
package us.temerity.pipeline.message.job;
import us.temerity.pipeline.*;
import us.temerity.pipeline.core.*;
import us.temerity.pipeline.message.*;
import java.io.*;
import java.util.*;
/*------------------------------------------------------... | true |
c33f68b03c9d5752345ad62fe75d855c463a6f56 | Java | SCCapstone/SCChildcare | /SCChildcareMobile/src/mobile/scchildcare/Search_AsyncTask.java | UTF-8 | 7,459 | 2.09375 | 2 | [] | no_license | package mobile.scchildcare;
import java.io.IOException;
import java.io.Serializable;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject... | true |
916f51113d1e4793245d2f8abed8dac884a3fb4c | Java | Ginamiso/backend-module | /reflections/week4/exercise1/src/test/java/academy/everyonecodes/drhousediagnoses/logic/DrHouseTest.java | UTF-8 | 1,167 | 2.359375 | 2 | [] | no_license | package academy.everyonecodes.drhousediagnoses.logic;
import academy.everyonecodes.drhousediagnoses.domain.Patient;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.... | true |
1c026faa438a460cd91f71f0c6f71b936a9e8b7b | Java | sun00743/AcAreicle | /app/src/main/java/mika/com/android/ac/broadcast/ui/BroadcastListActivity.java | UTF-8 | 2,479 | 1.984375 | 2 | [] | no_license | /*
* Created mika <sun00743@gmail.com>
* Copyright (c) 2016. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
* Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
* Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
* Proin dapibus sapien vel ante. Ali... | true |
db739893edeeca538e182852f9ed0976e1275574 | Java | Abdulmoiz-Ahmer/EarthQuake-App-in-Android | /app/src/main/java/com/example/aceahmer/quakequake/colorPicker.java | UTF-8 | 1,448 | 2.3125 | 2 | [] | no_license | package com.example.aceahmer.quakequake;
import android.content.Context;
import android.graphics.Color;
import android.support.v4.content.ContextCompat;
import java.text.DecimalFormat;
import static android.support.v4.content.ContextCompat.getColor;
public class colorPicker {
public static int setColor(Context ... | true |
d0ffa694140db13bca67061458149dd3965f136f | Java | svn2github/vuze-plugins | /rating/com/aelitis/azureus/plugins/rating/updater/KeyGenUtils.java | UTF-8 | 1,775 | 1.96875 | 2 | [] | no_license | /*
* Created on 4 mars 2005
* Created by Olivier Chalouhi
*
* Copyright (C) 2004 Aelitis SARL, All rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of ... | true |
4a9784c75df63a8b35b34e445e84d2426c67369f | Java | snolf-wjj/snolfMaster | /src/main/java/com/snolf/manager/cc/service/impl/CcShoppingCartServiceImpl.java | UTF-8 | 1,950 | 2 | 2 | [] | no_license | package com.snolf.manager.cc.service.impl;
import com.github.pagehelper.PageHelper;
import com.snolf.common.Static;
import com.snolf.common.page.PageInfo;
import com.snolf.common.util.ValidateUtil;
import com.snolf.manager.cc.mapper.CcShoppingCartMapper;
import com.snolf.manager.cc.model.CcShoppingCart;
import com.sno... | true |
46d4edb627e3e8da812f69a02f8e9b65044bf6f4 | Java | yl-yue/yue-library | /yue-library-webflux/src/main/java/ai/yue/library/webflux/config/WebFluxAutoConfig.java | UTF-8 | 405 | 1.523438 | 2 | [
"Apache-2.0"
] | permissive | package ai.yue.library.webflux.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import ai.yue.library.webflux.env.WebFluxEnv;
/**
* webflux bean 自动配置
*
* @author ylyue
* @since 2018年11月26日
*/
@Configuration
@Import({ WebFluxRegistrations... | true |
0105c38d1d2b465793155345cae00dcc09f5f1a9 | Java | 2045338/JavaApplet | /src/H04/Opdr4_5.java | UTF-8 | 276 | 2.234375 | 2 | [] | no_license | package H04;
import java.applet.Applet;
import java.awt.*;
public class Opdr4_5 extends Applet {
public void init() { setBackground(Color.gray);
}
public void paint(Graphics g) {
g.fillArc(20, 20, 100, 150, 250,360);
}
}
| true |
3590f7413af6fe64992c5568038aaad47ae0df4d | Java | adso54/books-register | /src/test/java/pl/kamil_danielski/booksregister/domain/PublisherTest.java | UTF-8 | 955 | 2.8125 | 3 | [] | no_license | package pl.kamil_danielski.booksregister.domain;
import org.junit.Before;
import org.junit.Test;
import java.util.HashSet;
import java.util.Set;
import static org.junit.Assert.*;
public class PublisherTest {
public static final long ID_VALUE = 1L;
private Publisher publisher;
@Before
public void s... | true |
a6b66e63ed01e2dae78833fa69b52ced9e16f93d | Java | dleshem/marthadigest | /marthadigest/src/com/marthastewart/restlet/ParameterizedServerResource.java | UTF-8 | 625 | 2.265625 | 2 | [] | no_license | package com.marthastewart.restlet;
import java.util.HashMap;
import java.util.Map;
import org.restlet.data.Form;
import org.restlet.data.Parameter;
import org.restlet.resource.ServerResource;
public class ParameterizedServerResource extends ServerResource {
protected final Map<String, String> params = ... | true |
76ec86dec4934e27d2f6e1d08c0a7863fd8ae597 | Java | eligosoftware/android | /Notifon/app/src/main/java/com/eligosoftware/notifon/database/NotifonDBHelper.java | UTF-8 | 7,254 | 1.976563 | 2 | [] | no_license | package com.eligosoftware.notifon.database;
import android.content.ContentValues;
import android.content.Context;
import android.content.res.AssetManager;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import com.opencsv.CSVReader;
import java.io.IOException;
import j... | true |
0baf254c8cc6c9f43673c8e2bd157357beeb73c6 | Java | jSerenity/Examen_S_D_6 | /app/src/main/java/com/example/examen_s_d_6/HomeActivity.java | UTF-8 | 4,178 | 2.140625 | 2 | [] | no_license | package com.example.examen_s_d_6;
import androidx.annotation.NonNull;
import androidx.appcompat.app.ActionBarDrawerToggle;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.core.view.GravityCompat;
import androidx.drawerlayout.widget.DrawerLayout;
import android... | true |
e0d6df05282285874a773cd74a97eced032d287a | Java | epam-debrecen-rft-2015/atsy | /web/src/test/java/com/epam/rft/atsy/web/handler/AbstractHandlerTest.java | UTF-8 | 928 | 2.265625 | 2 | [
"Apache-2.0"
] | permissive | package com.epam.rft.atsy.web.handler;
import org.apache.commons.io.FileUtils;
import org.junit.After;
import org.junit.Before;
import java.io.File;
import java.io.IOException;
public abstract class AbstractHandlerTest {
protected static final String FOLDER_NAME_PARENT = "parent folder";
protected static final ... | true |
8f7d452531d84e8bee66bf97d0b48fdccd3383d0 | Java | ardy30/ReshiningApp | /Badymeasurement/src/main/java/com/omnihealthgroup/reshining/badymeasurement/adapter/BodyHeightViewAdapter.java | UTF-8 | 7,291 | 2.296875 | 2 | [] | no_license | package com.omnihealthgroup.reshining.badymeasurement.adapter;
import android.content.Context;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.Alp... | true |
354509ddc4c8830eeac47af371437372026ba783 | Java | AiAndroid/mobilevideo | /video_common/src/com/tv/ui/metro/model/LayoutConstant.java | UTF-8 | 4,591 | 1.6875 | 2 | [] | no_license | package com.tv.ui.metro.model;
/**
* Created by liuhuadong on 11/17/14.
*/
public class LayoutConstant {
public final static int single_view = 100;//-------plain view
public final static int imageswitcher = 101;//-------广告可以-------------给广告切换image
public final static int linearlayout_top = 201;//-------... | true |
19743dfda585c3ebd8f2d462a4228be534a1fb9d | Java | DoanPhuc95/MusicPlayer | /src/musicplayer/MusicPlayerGUI.java | UTF-8 | 4,991 | 2.15625 | 2 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package musicplayer;
import AudioPlayer.AudioPlayer;
import GraphicComponent.playerUI;
import java.awt.Dimension;
import jav... | true |
82edec32d2ec93adccab28a4b1332d8999cc423a | Java | felipecampos17/puc_app | /src/main/java/puc/tutorial/rest/api/model/PedidosModel.java | UTF-8 | 825 | 2.453125 | 2 | [] | no_license | package puc.tutorial.rest.api.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;
@Entity(name = "pedidos")
public class PedidosModel {
@Id
public Integer codPedido;
@Column(nullable = false)
public Date dataPedido;
@Column... | true |
d099b8e0cfddbff4a03c58a11ee5d9eb8251731e | Java | Beulakv/MyProjects | /facefolks/src/facefolks/Main.java | UTF-8 | 4,058 | 2.65625 | 3 | [] | no_license | package facefolks;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
static int registerID=0;
static int roomNumber=0;
// int room[]=new int[25];
public static void main(String[] args) throws IOException {
// TODO Auto-generate... | true |
210ae2de126fb965035c729d2f79b1d03b23ecc3 | Java | zhongxingyu/Seer | /Diff-Raw-Data/2/2_725033622847a020d27c76b768fb4023d221337a/MeteoFragment/2_725033622847a020d27c76b768fb4023d221337a_MeteoFragment_t.java | UTF-8 | 8,847 | 1.726563 | 2 | [] | no_license | package com.storassa.android.scuolasci;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import com.google.analytics.tracking.android.EasyTracker;
import c... | true |
27151e08a19fb66ca7f00ef09c35276b14f890c5 | Java | yuhaihui3435/arltr | /arltr-common/src/main/java/com/neusoft/arltr/common/aspect/ValueNameInjectAspect.java | UTF-8 | 3,734 | 2.40625 | 2 | [] | no_license | package com.neusoft.arltr.common.aspect;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Field;
import java.util.List;
import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.... | true |
0979baac0211c01cefbfe83e6324a184c0f8854e | Java | Miracle-Aligner/ADS_2016-2017 | /.metadata/.plugins/org.eclipse.core.resources/.history/bd/800157f4c64b001714098cb31696d45c | UTF-8 | 5,396 | 3.4375 | 3 | [] | no_license | package lab6;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.O... | true |
c4128e81b5f1d6e07a75d5416170554eed0c8f25 | Java | AvishekThapa1997/Data-Structure-in-Java | /datastructure/src/com/datastructure/stack/MyStack.java | UTF-8 | 1,508 | 3.6875 | 4 | [] | no_license | package com.datastructure.stack;
public class MyStack<T>{
private Object[] arr;
private int top=-1;
private static int max_size;
private T popped_item;
MyStack(){
arr=new Object[10];
max_size=10;
}
MyStack(int size) {
max_size=size;
arr=new Object[max_size];
}
public String toString() {
StringBuffer ... | true |
3a94ef7efc14141387cf457fd9695d8c69d2e54b | Java | Apxdono/spring-sandbox | /spring-base/spring-repo/src/main/java/org/apx/model/handlers/UserLazyHandler.java | UTF-8 | 575 | 2.28125 | 2 | [] | no_license | package org.apx.model.handlers;
import org.apx.model.User;
import org.apx.repo.CommonRepo;
import org.apx.repo.handler.IDBHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Created by oleg on 3/13/14.
*/
public class UserLazyHandler implements IDBHandler<User> {
static Logger LOG = LoggerFact... | true |
553ee938b46eb3837c5c3efa36af0155e08d1aa5 | Java | flypig5211/zf-admin | /zf/src/main/java/com/chinazhoufan/admin/modules/spm/entity/sr/RegisterShareTemp.java | UTF-8 | 4,577 | 2.1875 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.chinazhoufan.admin.modules.spm.entity.sr;
import org.hibernate.validator.constraints.Length;
import java.math.BigDecimal;
import java.util.Date;
import com.chinazhoufan.admin.common.persis... | true |
ee46beb0387aaab30e55d0692fce4684bb4f0059 | Java | Pronomuos/db_project | /src/main/java/com/itmo/java/basics/initialization/impl/SegmentInitializer.java | UTF-8 | 3,397 | 2.671875 | 3 | [] | no_license | package com.itmo.java.basics.initialization.impl;
import com.itmo.java.basics.exceptions.DatabaseException;
import com.itmo.java.basics.index.impl.SegmentOffsetInfoImpl;
import com.itmo.java.basics.initialization.InitializationContext;
import com.itmo.java.basics.initialization.Initializer;
import com.itmo.java.basics... | true |
fa6f9061112bdc6ad44f1ff890a22b588a24921f | Java | zhuzhihuaF/push-server | /src/main/java/com/even/push/dto/SubMsgDto.java | UTF-8 | 805 | 1.992188 | 2 | [] | no_license | package com.even.push.dto;
/**
* @Auther yidadi
* @Date 17-9-4 下午3:40
*/
public class SubMsgDto extends BaseMsgDto{
private String Mqtopic;
private String content;
private String mark;
/**消息的投递次数 0 1 2*/
private int qos;
public String getMqtopic() {
return Mqtopic;
}
publi... | true |
ca1504eaf5cbead6d90408a0254a54145bc48671 | Java | Hartmarken348/titan | /titan-berkeleyje/src/test/java/com/thinkaurelius/titan/BerkeleyStorageSetup.java | UTF-8 | 1,075 | 2.140625 | 2 | [
"BSD-3-Clause",
"Sleepycat",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | package com.thinkaurelius.titan;
import com.thinkaurelius.titan.diskstorage.configuration.ModifiableConfiguration;
import com.thinkaurelius.titan.diskstorage.configuration.WriteConfiguration;
import static com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.*;
public class BerkeleyStorageSetup e... | true |
dc32555267be489e4699e42c0e11e2d644f1218e | Java | LAC-321174/4152J21 | /src/main/java/frc/robot/subsystems/DriveBase.java | UTF-8 | 1,198 | 2.515625 | 3 | [] | no_license | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot.subsystems;
import edu.wpi.first.wpilibj.Talon;
import edu.wpi.first.wpilibj.drive.DifferentialDrive;... | true |
08cc4c9495d1d4826788291a0e6804315b9eacdf | Java | PPL-IIITA/ppl-assignment-UtkarshGupta1998 | /PPLQuest_2/src/Couple/Couple.java | UTF-8 | 951 | 2.828125 | 3 | [] | no_license | package Couple;
import static java.lang.Math.abs;
public class Couple {
public String boy_name;
public String girl_name;
public int happiness;
public int compatibility;
public int attractiveness_diff;
public int intelligence_diff;
public int budget_diff;
public int boyindex;
... | true |
1a00e9f4c7fc30034b75c968fc5cbe653f9de4e9 | Java | xfangfang/NEUNet | /app/src/main/java/com/lalala/fangs/data/AdapterList.java | UTF-8 | 2,968 | 2.46875 | 2 | [] | no_license | package com.lalala.fangs.data;
import android.content.Context;
import android.graphics.Typeface;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.lalala.fangs.neunet.R;
import java.ut... | true |
4541f6cab4c0750f3cb37e9d3e1e0bbab15a0ffb | Java | tonybeckett/TitaniumBlocksSwingUI | /src/us/jaba/titaniumblocksswingui/property/panels/BooleanPanel.java | UTF-8 | 2,197 | 2.4375 | 2 | [] | no_license | /*
* Copyright (c) 2016, Tony Beckett
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list of cond... | true |
a423ae309b25a3469de53b6dac735ad2ba1cf307 | Java | XanChoon/JavaTheCompleteReference | /AverageExample1.java | UTF-8 | 413 | 2.953125 | 3 | [] | no_license | class AverageExample1{
public static void main (String [] args){
double height [] = {161, 162, 163};
double result = 0;
int i;
for(i=0; i<3; i++){
result = result + height[i];
//System.out.println("Average Height is " + height[i]);//Print all ... | true |
e5172455fb66440cdd22a1641368d1746cefbf21 | Java | Tom10010/text1 | /experimentThree/src/program1/PersonApp.java | UTF-8 | 284 | 2.515625 | 3 | [] | no_license | package program1;
public class PersonApp {
public static void main(String[] args) {
Person P = new Person("Zhang", 19, 'M');
Student S = new Student(2015169, "wang", 19, 'M');
Teacher T = new Teacher("English", "Huang", 35, 'F');
S.show();
T.show();
P.show();
}
}
| true |
a31922668a946be5b605057f691c3eb13b7ead55 | Java | surampudis/Java | /FinalKeyword/src/FinalMethod.java | UTF-8 | 325 | 3.171875 | 3 | [] | no_license | class A{
final void show() {
System.out.println("I am from show method of A Class");
}
}
class B extends A{
/*
* void show() { System.out.println("I am from show method of B Class"); }
*/
}
public class FinalMethod {
public static void main (String ar[]) {
B b = new B();
b.show();
}... | true |
3f28e24d24da533074c562698bb7290579732cf4 | Java | SeanMcA/GolfApp | /GolfSG/app/src/main/java/com/redballgolf/golfSG/RoundOfGolf/Hole.java | UTF-8 | 2,653 | 2.640625 | 3 | [] | no_license | package com.redballgolf.golfSG.RoundOfGolf;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.Log;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
public class Hole implements Parcelable{
private List<Shot> shotList;
private... | true |
833fdd6cb8c961d025b4cbf85d9162d5d5165e1a | Java | WahdanZ/NearByApp | /app/src/main/java/nearby/wahdan/bazinga/nearbyapp/networking/Model/VenueModel/EntitiesItem.java | UTF-8 | 675 | 2.375 | 2 | [] | no_license | package nearby.wahdan.bazinga.nearbyapp.networking.Model.VenueModel;
import java.util.List;
import com.google.gson.annotations.SerializedName;
public class EntitiesItem{
@SerializedName("indices")
private List<Integer> indices;
@SerializedName("type")
private String type;
public void setIndices(List<Integer> ... | true |
94ac4a3cf08c19d93aee76a06ef45c890949a323 | Java | meeidol-luo/qooq | /classes5/com/tencent/mobileqq/filemanager/util/FileManagerUtil$TipsClickedInterface.java | UTF-8 | 398 | 1.5625 | 2 | [] | no_license | package com.tencent.mobileqq.filemanager.util;
import android.view.View;
public abstract interface FileManagerUtil$TipsClickedInterface
{
public abstract void a(View paramView);
}
/* Location: E:\apk\QQ_91\classes5-dex2jar.jar!\com\tencent\mobileqq\filemanager\util\FileManagerUtil$TipsClickedInterfac... | true |
2c75e3a270433d86b42b0dbc7754926c6ce9dbdb | Java | Agilefreaks/DroidOmni | /droidomni/src/main/java/com/omnipaste/droidomni/service/OmniService.java | UTF-8 | 5,789 | 1.679688 | 2 | [] | no_license | package com.omnipaste.droidomni.service;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.Messenger;
import com.omnipaste.clipboardprovider.ClipboardProvider;
import com.omnipaste.droidomni.DroidOmniApplication;
import com.omnipaste.droidomni.factory.Notification... | true |
dc6b3e78fc62538cd289d31309ea9cab5d1a29b1 | Java | DurgeshMind1970/NewTourTestFramework | /TEST CASES/com/newtours/testcases/TC4_FindaFlight.java | UTF-8 | 1,340 | 2.296875 | 2 | [] | no_license | package com.newtours.testcases;
import java.util.Hashtable;
import org.testng.annotations.Test;
import com.newtour.genericfunctions.BusinessFunctions;
import com.newtour.genericfunctions.GenericFunctions;
import com.newtour.pages.FlightFinder;
import com.newtour.utilities.LogUtility;
import com.newtour.utilities.Ver... | true |
83f4b2635665250fd9f8a810879fb0ba3e153da9 | Java | xhzxhzxhz/bzc | /src/main/java/com/folkestone/bzcx/bean/bean_do/type/StandardTypeDo.java | UTF-8 | 1,052 | 2.0625 | 2 | [] | no_license | package com.folkestone.bzcx.bean.bean_do.type;
import com.folkestone.bzcx.common.util.UUIDUtil;
public class StandardTypeDo {
private String typeId = UUIDUtil.getUUID("SType");
private String typeName;
private String typeLetter;
private String comment;
public String getC... | true |
b535d10e63722b26135e61bdd3a54cfb4a3e1cf3 | Java | sarika1609/FurlencoU2 | /Furlenco/app/src/main/java/com/example/furlenco/HomeScreenViewHolders/RentingImageViewHolder.java | UTF-8 | 1,003 | 2.328125 | 2 | [] | no_license | package com.example.furlenco.HomeScreenViewHolders;
import android.view.View;
import android.widget.ImageView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import com.example.furlenco.HomeScreenModelClasses.Curated;
import com.example.furlenco.HomeScreenModelClasses.Design;
i... | true |
6dafe9eb88efc250805fb3b0b67e689dfa1afd13 | Java | leandrodmoreira/DengueMaps | /dengueMaps/app/src/main/java/com/example/ferpa/denguemaps/MapsActivity.java | UTF-8 | 3,116 | 2.734375 | 3 | [] | no_license | package com.example.ferpa.denguemaps;
import android.support.v4.app.FragmentActivity;
import android.os.Bundle;
import com.example.ferpa.denguemaps.entities.PlaceEntity;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.OnMapReadyC... | true |
a2b462bf064834b8a62ef25b1acfaf76e5c53aef | Java | Pecsj/note | /java基础/java工具类/Java第50课---集合之TreeMap+考试系统练习/代码/ExamSystem/src/exam/Teacher.java | UTF-8 | 791 | 3.328125 | 3 | [] | no_license | package exam;
import java.util.ArrayList;
public class Teacher {
//负责批卷子
// 参数 学生作答所有选项 真实的试卷 跟学生随机的那套一致
// 返回值 int
public int checkPaper(ArrayList<Question> paper, String[] answers){
System.out.println("老师正在批卷子,请耐心等待最终成绩。。。");
try {
Thread.sleep(5000);
} catch... | true |
7e910c277b6c7862500ddd7ad0cb16e101b262d4 | Java | TenPetr/java-generics | /src/com/tenpetr/NodeList.java | UTF-8 | 489 | 2.984375 | 3 | [] | no_license | package com.tenpetr;
import java.util.ArrayList;
public class NodeList implements NodeListGenerics {
private ArrayList<Node<String>> list = new ArrayList<>();
@Override
public void add(String s) {
var node = new Node<String>();
node.setText(s);
list.add(node);
}
@Overri... | true |
676e83e62fbe56931da2d5dbd8b6c14c22835642 | Java | OluwakemiFasae/LaundryApp | /src/java/dataaccess/product.java | UTF-8 | 1,114 | 2.703125 | 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 dataaccess;
import db.DBUtils;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.LinkedList;... | true |
e91e9217eedbba1046839fc81f34583aabd7c5ba | Java | zclyne/Personal-Blog-Website | /src/main/java/com/yifan/blog/dao/UserRepository.java | UTF-8 | 310 | 1.9375 | 2 | [
"Apache-2.0"
] | permissive | package com.yifan.blog.dao;
import com.yifan.blog.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
public interface UserRepository extends JpaRepository<User, Long> {
// 定义函数要符合命名规范
User findByUsernameAndPassword(String username, String password);
}
| true |
9de79f40103e97ad53ed53b7fb7c9391c7dcc356 | Java | vladis1350/OnlineStore | /src/main/java/by/integrator/telegrambot/model/Brand.java | UTF-8 | 652 | 2.125 | 2 | [] | no_license | package by.integrator.telegrambot.model;
import lombok.*;
import javax.persistence.*;
import java.util.Set;
@Data
@Builder
@Table(name = "brand")
@Entity
@AllArgsConstructor
@NoArgsConstructor
public class Brand {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "id", nullable = fal... | true |
471cc8914b775fc4dd70661b162be7075b952128 | Java | mysticalmountain/sample | /sample.permission/src/test/java/com/sample/permission/repository/MenuRepositoryTest.java | UTF-8 | 4,223 | 2.453125 | 2 | [] | no_license | package com.sample.permission.repository;
import com.alibaba.fastjson.TypeReference;
import com.sample.permission.BaseTest;
import com.sample.permission.dto.MenuDto;
import com.sample.permission.model.Menu;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.beans.BeanUtils;
import org.springfra... | true |
3c47fe300cef1bf052e4bbf9f1daed0625d9f77b | Java | ZOUANI/compta_transparency_accountingProject | /src/main/java/com/zsmart/accountingProject/service/facade/ClientService.java | UTF-8 | 892 | 1.851563 | 2 | [] | no_license | package com.zsmart.accountingProject.service.facade;
import com.zsmart.accountingProject.bean.Client;
import java.util.List;
public interface ClientService {
public Client save(Client client);
public Client saveWithFactureClients(Client client);
public List<Client> findAll();
public Client findBy... | true |
f2008e04f68c5146f1bd340cf78547670e2c3540 | Java | sorozcop/serenity_mobile_base_project | /src/main/java/co/com/devco/tasks/Checkout.java | UTF-8 | 1,598 | 2.09375 | 2 | [] | no_license | package co.com.devco.tasks;
import co.com.devco.automation.mobile.actions.Scroll;
import net.serenitybdd.screenplay.Actor;
import net.serenitybdd.screenplay.Performable;
import net.serenitybdd.screenplay.Task;
import net.serenitybdd.screenplay.actions.Click;
import net.serenitybdd.screenplay.actions.Enter;
imp... | true |
a55debce1438f3f0682d9f21b17435f76d8e86c3 | Java | LoveYannier/EasyMall | /src/cn/tedu/filter/EncodeFilter.java | GB18030 | 4,029 | 2.796875 | 3 | [] | no_license | package cn.tedu.filter;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.Map;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.s... | true |
e8cf74efc5ac66d66c1167dfd4087849b24052c7 | Java | EduardoPazz/ACH2001-Introducao-a-programacao-em-Java | /lista-11/ex04/Pessoa.java | UTF-8 | 328 | 2.75 | 3 | [] | no_license | package ex04;
class Pessoa {
private String nome;
private int RG;
private int CPF;
Pessoa(String nome, int RG, int CPF) {
this.nome = nome;
this.RG = RG;
this.CPF = CPF;
}
public String nome() {return nome;}
public int RG() {return RG;}
public int CPF() {return... | true |
7944d3f11ec1495aad62ebc039b55df8334c0b3d | Java | LuisRCbmo/AgendaVirtual | /mavenproject2/src/main/java/vista/mostrarCita.java | UTF-8 | 16,147 | 2.171875 | 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 vista;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import modelo.*;
import java.util.*;
import Not... | true |
a62abaf37030067327898fafb74851d6a643f420 | Java | terohakkarainen/depemp | /src/main/java/fi/thakki/depemp/service/DepartmentService.java | UTF-8 | 2,796 | 2.453125 | 2 | [] | no_license | package fi.thakki.depemp.service;
import java.util.Optional;
import java.util.stream.Collectors;
import org.hibernate.exception.ConstraintViolationException;
import org.springframework.orm.jpa.JpaSystemException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transact... | true |
37d779f9b1b17612ad8d862f1841b18203bffebd | Java | baristaze/ProjectBackups | /Ginger/src/net/pic4pic/ginger/utils/LocationManagerUtil.java | UTF-8 | 4,681 | 2.484375 | 2 | [] | no_license | package net.pic4pic.ginger.utils;
import java.io.IOException;
import java.util.List;
import java.util.Locale;
import net.pic4pic.ginger.entities.GeoLocation;
import net.pic4pic.ginger.entities.Locality;
import android.app.Activity;
import android.content.Context;
import android.location.Address;
import a... | true |
b6c555246106dd8e6ff1dfb29480b917eafc4183 | Java | Prunoideae/PhasePotion | /src/main/java/com/naive/phase/Auxiliary/Register/AutomaticRegister.java | UTF-8 | 1,578 | 2.28125 | 2 | [] | no_license | package com.naive.phase.Auxiliary.Register;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import com.naive.phase.Phase;
import com.naive.phase.Auxiliary.Instantiable.Data.Math.Pairs;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
import net.min... | true |
6e3443eb50000e07bec0a7b5c1f9c3a2c15d9fa0 | Java | 15116446660/mall-2 | /mall-merchant/src/main/java/com/perenc/mall/merchant/entity/vo/MemberGradeVO.java | UTF-8 | 767 | 1.835938 | 2 | [] | no_license | package com.perenc.mall.merchant.entity.vo;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.sql.Date;
/**
* @ClassName: MemberGradeVO
* @Description: 前端会员等级返回数据
*
* @Author: GR
* @Date: 2019/9/18 12:51
*
* Modification History:
* Date Author ... | true |