code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
package es.ucm.fdi.iw.controller;
import java.security.Principal;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.EntityManager;
import javax.servlet.http.HttpSession;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework... | lorenpaz/CardEx | src/main/java/es/ucm/fdi/iw/controller/HomeController.java | Java | apache-2.0 | 4,005 |
package org.apache.hadoop.mapred.spatial;
import java.io.IOException;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapred.RecordWriter;
import org.apache.hadoop.mapred.Reporter;
import org.... | aseldawy/spatialhadoop | src/mapred/org/apache/hadoop/mapred/spatial/RTreeGridRecordWriter.java | Java | apache-2.0 | 955 |
/*******************************************************************************
* Copyright 2019 Tremolo Security, Inc.
*
* 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://... | TremoloSecurity/OpenUnison | unison/unison-sdk/src/main/java/com/tremolosecurity/proxy/ExternalSessionExpires.java | Java | apache-2.0 | 1,124 |
package org.apache.lucene.index;
/**
* Copyright 2004 The Apache Software Foundation
*
* 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... | lpxz/grail-lucene358684 | src/java/org/apache/lucene/index/SegmentReader.java | Java | apache-2.0 | 18,645 |
/* Copyright (C) 2013-2014 Computer Sciences Corporation
*
* 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 ap... | ezbake/ezmongo | ezmongo-java-driver/src/main/org/bson/util/ClassAncestry.java | Java | apache-2.0 | 3,530 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | rdblue/incubator-nifi | commons/data-provenance-utils/src/main/java/org/apache/nifi/provenance/lineage/FlowFileNode.java | Java | apache-2.0 | 2,335 |
package zoara.sfs2x.extension;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Arrays;
import zoara.sfs2x.extension.simulation.World;
import zoara.sfs2x.extension.utils.RoomHelper;
import com.smartfoxserver.bitswarm.sessions.ISe... | xiehan/zoara-server | src/zoara/sfs2x/extension/LoginEventHandler.java | Java | apache-2.0 | 4,312 |
package org.mcxa.vortaro;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addit... | ianmcxa/vortaro | app/src/test/java/org/mcxa/vortaro/ExampleUnitTest.java | Java | apache-2.0 | 394 |
package org.plantuml.idea.action;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.ToggleAction;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.fileEditor.FileEditorManager;
import com.intellij.openapi.project.DumbAware;
import com.intellij.openap... | esteinberg/plantuml4idea | src/org/plantuml/idea/action/ImageHighlightToggleAction.java | Java | apache-2.0 | 1,200 |
package liquibase.sqlgenerator.core;
import liquibase.change.ColumnConfig;
import liquibase.database.ObjectQuotingStrategy;
import liquibase.database.core.OracleDatabase;
import liquibase.sql.Sql;
import liquibase.statement.DatabaseFunction;
import liquibase.statement.SequenceCurrentValueFunction;
import liquibase.sta... | liquibase/liquibase | liquibase-core/src/test/java/liquibase/sqlgenerator/core/InsertOrUpdateGeneratorOracleTest.java | Java | apache-2.0 | 7,276 |
/*
* Copyright 2005-2011 Sixth and Red River Software, Bas Leijdekkers
*
* 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 ... | consulo/consulo-metrics | src/com/sixrr/metrics/ui/dialogs/ExplanationDialog.java | Java | apache-2.0 | 4,055 |
package Init.Enum;
import Generics.Generator;
import java.util.EnumMap;
import java.util.Iterator;
import static Init.Enum.Input.*;
import static Init.Print.print;
/**
* Created by Defias on 2020/07.
* Description: 使用enum的状态机
*
*/
public class TestEnumStates {
public static void main(String[] args) {
... | gdefias/JavaDemo | InitJava/base/src/main/java/Init/Enum/TestEnumStates.java | Java | apache-2.0 | 3,956 |
package org.marsik.bugautomation.rest;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
@ApplicationPath("/")
public class RestApplication extends Application {
@Override
public Set<Class<?>> getClasses() {
... | MarSik/bugautomation | src/main/java/org/marsik/bugautomation/rest/RestApplication.java | Java | apache-2.0 | 495 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package net.opengis.gml.provider;
import java.util.Collection;
import java.util.List;
import net.opengis.gml.GmlFactory;
import net.opengis.gml.GmlPackage;
import net.opengis.gml.TopoVolumeType;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse... | markus1978/citygml4emf | de.hub.citygml.emf.ecore.edit/src/net/opengis/gml/provider/TopoVolumeTypeItemProvider.java | Java | apache-2.0 | 6,438 |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* 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 applic... | android/android-test | espresso/core/javatests/androidx/test/espresso/action/GeneralLocationTest.java | Java | apache-2.0 | 4,547 |
/*
* Copyright 2014 The Netty Project
*
* The Netty Project licenses this file to you 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... | doom369/netty | transport-native-unix-common/src/main/java/io/netty/channel/unix/Unix.java | Java | apache-2.0 | 3,285 |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | googleapis/google-api-java-client-services | clients/google-api-services-dialogflow/v3/1.31.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowCxV3ListAgentsResponse.java | Java | apache-2.0 | 3,689 |
package com.deleidos.framework.monitoring.response;
public class InfoResponse {
public static final String PATH = "/proxy/${APP_ID}/ws/v2/stram/info";
public static class Stats {
public int allocatedContainers;
public int plannedContainers;
public int totalVCoresAllocated;
public int vcoresRequired;
pu... | deleidos/de-pipeline-tool | de-framework-monitoring/src/main/java/com/deleidos/framework/monitoring/response/InfoResponse.java | Java | apache-2.0 | 1,247 |
package uk.ac.manchester.cs.openphacts.queryexpander.queryLoader;
import java.util.List;
import java.util.Set;
import org.bridgedb.uri.tools.GraphResolver;
import org.bridgedb.utils.Reporter;
import static org.junit.Assert.*;
import org.junit.Test;
import uk.ac.manchester.cs.openphacts.queryexpander.QueryUtils;
import... | openphacts/queryExpander | query.expander.implementation/test/uk/ac/manchester/cs/openphacts/queryexpander/queryLoader/OpsReplacemeentTest.java | Java | apache-2.0 | 1,764 |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | youdonghai/intellij-community | java/java-impl/src/com/intellij/codeInspection/util/IteratorDeclaration.java | Java | apache-2.0 | 7,121 |
package com.xidian.yetwish.reading.ui;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import com.xidian.yetwish.reading.R;
import com.xidian.yetwish.reading.framework.utils.SharedPreferencesUtils;
import com.xidian.yetwish... | yetwish/Reading | reading/src/main/java/com/xidian/yetwish/reading/ui/SplashActivity.java | Java | apache-2.0 | 1,907 |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_5188 {
}
| lesaint/experimenting-annotation-processing | experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_5188.java | Java | apache-2.0 | 151 |
/*
* Copyright 2011 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | krasserm/ipf | platform-camel/core/src/main/java/org/openehealth/ipf/platform/camel/core/management/ProcessorManagementNamingStrategy.java | Java | apache-2.0 | 2,034 |
package com.buddycloud.utils;
import android.app.Activity;
import android.content.Context;
import android.view.inputmethod.InputMethodManager;
public class InputUtils {
public static void hideKeyboard(Activity activity) {
InputMethodManager imm = (InputMethodManager) activity.getSystemService(Context.INP... | buddycloud/buddycloud-android | src/com/buddycloud/utils/InputUtils.java | Java | apache-2.0 | 620 |
/*******************************************************************************
* # Copyright 2015 InfinitiesSoft Solutions Inc.
* #
* # 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
... | infinitiessoft/keystone4j | keystone4j-core/src/main/java/com/infinities/keystone4j/contrib/revoke/driver/RevokeDriver.java | Java | apache-2.0 | 1,112 |
package com.flying.promotion.javatuning.future.jdk;
import java.util.concurrent.Callable;
/**
* Created by Joseph on 7/25/2016.
*/
public class RealData implements Callable<String>{
private String para;
public RealData(String para){
this.para=para;
}
@Override
public String call() throws... | wangshijun101/JavaSenior | CoreJava/src/main/java/com/flying/promotion/javatuning/future/jdk/RealData.java | Java | apache-2.0 | 610 |
/**
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under ... | bric3/assertj-core | src/main/java/org/assertj/core/util/introspection/PropertySupport.java | Java | apache-2.0 | 8,633 |
package com.ciandt.techgallery.servlets;
import java.io.IOException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@SuppressWarnings("serial")
public class ViewTech extends HttpServlet {
@Override
public void doGet(HttpServlet... | tuliobraga/tech-gallery | src/main/java/com/ciandt/techgallery/servlets/ViewTech.java | Java | apache-2.0 | 587 |
/*
* Copyright 2012-2013 inBloom, Inc. and its affiliates.
*
* 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 appli... | inbloom/secure-data-service | tools/data-tools/src/org/slc/sli/test/edfi/entities/meta/GradeBookEntryMeta.java | Java | apache-2.0 | 2,017 |
package savetheenvironment.profiles.mocking;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.core.env.MapPropertySource;
import org.springframework.core.env.StandardEnvironment;
import java.util.HashMap... | joshlong/adaptive-spring | core/src/test/java/savetheenvironment/profiles/mocking/Main.java | Java | apache-2.0 | 2,787 |
package rmi;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.rmi.server.UnicastRemoteObject;
public class MyRemoteClass implements MyRemoteInterface {
public String[] sayYourName(String name) throws RemoteException {
System.err.pri... | myrosicky/projects | weibo/src/main/java/rmi/MyRemoteClass.java | Java | apache-2.0 | 932 |
package org.apereo.cas.impl.calcs;
import org.apereo.cas.api.AuthenticationRiskEvaluator;
import org.apereo.cas.api.AuthenticationRiskScore;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.config.CasCoreAuthenticationConfigura... | gabedwrds/cas | support/cas-server-support-electrofence/src/test/java/org/apereo/cas/impl/calcs/DateTimeAuthenticationRequestRiskCalculatorTests.java | Java | apache-2.0 | 5,383 |
/*
* Copyright 2003-2005 The Apache Software Foundation.
*
* 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 ap... | axeolotl/wsrp4cxf | persistence-xml/src/java/org/apache/wsrp4j/persistence/xml/PersistentInformationXML.java | Java | apache-2.0 | 3,611 |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0, (the "License"); you ma... | equella/Equella | Source/Plugins/Core/com.equella.core/src/com/tle/web/copyright/AbstractCopyrightFilestoreFilter.java | Java | apache-2.0 | 4,308 |
/*
* Copyright 2006-2017 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | christophd/citrus | core/citrus-api/src/main/java/com/consol/citrus/validation/DefaultEmptyMessageValidator.java | Java | apache-2.0 | 2,319 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | jatin9896/incubator-carbondata | core/src/main/java/org/apache/carbondata/core/datamap/DataMapStoreManager.java | Java | apache-2.0 | 23,372 |
package com.michaelfotiadis.crossyscore.ui.components.addplayer.avatar;
import android.view.View;
import android.widget.ImageView;
import com.michaelfotiadis.crossyscore.R;
import com.michaelfotiadis.crossyscore.ui.core.common.viewholder.BaseViewHolder;
import butterknife.Bind;
public final class ListAvatarViewHol... | MikeFot/android-crossy-score | app/src/main/java/com/michaelfotiadis/crossyscore/ui/components/addplayer/avatar/ListAvatarViewHolder.java | Java | apache-2.0 | 629 |
package com.getroadmap.r2rlib.models;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* Created by jan on 28/08/2017.
* test dayflag bitwise and operator
*/
public class DayFlagsTest {
@Test
public void isSunday() throws Exception {
Day... | roadmaptravel/Rome2RioAndroid | library/src/test/java/com/getroadmap/r2rlib/models/DayFlagsTest.java | Java | apache-2.0 | 2,022 |
/*
* Copyright 2016 Crown Copyright
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | gchq/stroom | stroom-core-client/src/main/java/stroom/util/client/JSONUtil.java | Java | apache-2.0 | 2,742 |
package com.nbsp.materialfilepicker.ui;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx... | nbsp-team/MaterialFilePicker | library/src/main/java/com/nbsp/materialfilepicker/ui/DirectoryFragment.java | Java | apache-2.0 | 3,395 |
/*
* Copyright 2009 Aleksandar Seovic
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | aseovic/coherence-tools | core/src/main/java/com/seovic/core/factory/LinkedHashMapFactory.java | Java | apache-2.0 | 1,163 |
/*
* Copyright 2011 Vasily Shiyan
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | xicmiah/see | src/main/java/see/evaluation/processors/AggregatingProcessor.java | Java | apache-2.0 | 1,669 |
package Armadillo.Communication.Impl.Distributed;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import org.joda.time.DateTime;
import org.joda.time.Minutes;
import org.joda.time.Seconds... | camachohoracio/Armadillo.Core | Communication/src/main/java/Armadillo/Communication/Impl/Distributed/DistControllerToWorkerHeartBeat.java | Java | apache-2.0 | 15,386 |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2022 DBeaver Corp and others
*
* 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/LICE... | dbeaver/dbeaver | plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/navigator/DBNNodeExtendable.java | Java | apache-2.0 | 987 |
package com.faravy.icare;
import java.util.ArrayList;
import android.app.ActionBar;
import android.app.Activity;
import android.content.ContentProviderOperation;
import android.content.Intent;
import android.content.OperationApplicationException;
import android.graphics.Color;
import android.graphics.drawable.ColorDr... | FTFL02-ANDROID/Faravy | iCareFaravy/src/com/faravy/icare/ViewDoctorActivity.java | Java | apache-2.0 | 5,472 |
/*
* Copyright (C) 2007-2008 The Android Open Source Project
*
* 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 app... | jiro-aqua/JotaTextEditor | app/src/main/java/jp/sblo/pandora/jota/text/EditableInputConnection.java | Java | apache-2.0 | 4,042 |
package cz.znj.kvr.sw.exp.java.netty.netty;
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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.... | kvr000/zbynek-java-exp | netty-exp/netty5-exp/netty5-datagram-listener-exp/src/main/java/cz/znj/kvr/sw/exp/java/netty/netty/MyEmbeddedEventLoop.java | Java | apache-2.0 | 7,288 |
/*
* Copyright 2015 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.ap... | sekigor/hawkular-agent | hawkular-wildfly-agent/src/main/java/org/hawkular/agent/monitor/extension/RemoteJMXAttributes.java | Java | apache-2.0 | 3,027 |
/***************************************************************************
Copyright (c) 2016, EPAM SYSTEMS INC
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/... | epam/DLab | integration-tests/src/main/java/com/epam/dlab/automation/http/HttpStatusCode.java | Java | apache-2.0 | 1,003 |
package org.tll.canyon.service;
import java.util.List;
import java.util.ArrayList;
import org.jmock.Mock;
import org.springframework.orm.ObjectRetrievalFailureException;
import org.tll.canyon.dao.AssetRoleDao;
import org.tll.canyon.model.AssetRole;
import org.tll.canyon.service.BaseManagerTestCase;
import org.tll.c... | clafonta/canyon | test/service/org/tll/canyon/service/AssetRoleManagerTest.java | Java | apache-2.0 | 3,376 |
package com.wind.gifassistant.ui;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.TextUtils;
import android.text.format.DateUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewG... | dxjia/GifAssistant | app/src/main/java/com/wind/gifassistant/ui/GifProductsListFragment.java | Java | apache-2.0 | 4,062 |
package org.bds.lang.nativeMethods.string;
import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import org.bds.lang.Parameters;
import org.bds.lang.Type;
import org.bds.lang.TypeList;
import org.bds.lang.nativeMethods.MethodNative;
import org.bds.run.BdsThread;
import org.bds.task.Task;
impo... | leepc12/BigDataScript | src/org/bds/lang/nativeMethods/string/MethodNative_string_isEmpty.java | Java | apache-2.0 | 871 |
package com.suscipio_solutions.consecro_mud.Items.BasicTech;
import com.suscipio_solutions.consecro_mud.Common.interfaces.CMMsg;
import com.suscipio_solutions.consecro_mud.Common.interfaces.PhyStats;
import com.suscipio_solutions.consecro_mud.Items.interfaces.Technical;
import com.suscipio_solutions.consecro_mud.Items.... | ConsecroMUD/ConsecroMUD | com/suscipio_solutions/consecro_mud/Items/BasicTech/GenKineticField.java | Java | apache-2.0 | 2,625 |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2021 DBeaver Corp and others
*
* 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/licen... | Sargul/dbeaver | plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/sql/SQLQueryResult.java | Java | apache-2.0 | 4,467 |
package chapter1_3;
public class DeleteTail<Item> {
private Node<Item> first;
private int N;
public int getN(){
return N;
}
private static class Node<Item>{
private Item item;
private Node<Item> next;
}
public static void main(String[] args) {
// TODO Auto-generated method stub
DeleteTail<String> d... | sawer1208/algs | src/chapter1_3/DeleteTail.java | Java | apache-2.0 | 498 |
package nam.model.transactionScope;
import java.io.Serializable;
import org.aries.ui.AbstractListObject;
import nam.model.TransactionScope;
public class TransactionScopeListObject extends AbstractListObject<TransactionScope> implements Comparable<TransactionScopeListObject>, Serializable {
private TransactionSc... | tfisher1226/ARIES | nam/nam-view/src/main/java/nam/model/transactionScope/TransactionScopeListObject.java | Java | apache-2.0 | 1,750 |
package org.docksidestage.oracle.dbflute.bsentity;
import java.util.List;
import java.util.ArrayList;
import org.dbflute.dbmeta.DBMeta;
import org.dbflute.dbmeta.AbstractEntity;
import org.dbflute.dbmeta.accessory.DomainEntity;
import org.docksidestage.oracle.dbflute.allcommon.DBMetaInstanceHandler;
import org.docksi... | dbflute-test/dbflute-test-dbms-oracle | src/main/java/org/docksidestage/oracle/dbflute/bsentity/BsVendor$Dollar.java | Java | apache-2.0 | 6,829 |
package com.nutcore.nut.correlationid;
import javax.enterprise.inject.Produces;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
/**
* Created by davidecerbo on 14/11/2016.
*/
public class ClientProducer
{
@Produces
public Client newClient()
{
return ClientBuilder
... | jesty/orientdb-microservices | nut-corelationid/src/main/java/com/nutcore/nut/correlationid/ClientProducer.java | Java | apache-2.0 | 419 |
package com.didichuxing.doraemondemo.dokit;
import android.content.Context;
import android.util.DisplayMetrics;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.WindowManager;
import android.widget.CompoundButton;
import android.widget.FrameLayout;
import a... | didi/DoraemonKit | Android/app/src/main/java/com/didichuxing/doraemondemo/dokit/SimpleDokitView.java | Java | apache-2.0 | 3,618 |
package com.planet_ink.coffee_mud.Commands;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink.coffee_mud.Behaviors.interfaces.*;
import com... | robjcaskey/Unofficial-Coffee-Mud-Upstream | com/planet_ink/coffee_mud/Commands/Value.java | Java | apache-2.0 | 3,508 |
/*
*
* ====================================================================
* 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
*
* Unles... | ampproject/validator-java | src/main/java/dev/amp/validator/visitor/InvalidRuleVisitor.java | Java | apache-2.0 | 6,111 |
package org.helianto.core.test;
import org.helianto.core.domain.Entity;
import java.util.ArrayList;
import java.util.List;
/**
* Class to support <code>Entity</code> tests.
*
* @author Mauricio Fernandes de Castro
*/
public class EntityTestSupport {
public static Entity entity = createEntity();
public... | iservport/helianto | helianto-core/src/main/java/org/helianto/core/test/EntityTestSupport.java | Java | apache-2.0 | 1,747 |
package org.genericsystem.remote;
//package org.genericsystem.kernel;
//
//import java.util.Collections;
//
//import org.testng.annotations.Test;
//
//@Test
//public class MetaRelationTest extends AbstractTest {
//
// public void test001_setMetaAttribute_engineEngine() {
//
// Root engine = new Root();
// Vertex meta... | genericsystem/genericsystem2015 | gs-kernel/src/test/java/org/genericsystem/remote/MetaRelationTest.java | Java | apache-2.0 | 1,116 |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.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... | serge-rider/dbeaver | plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/dialogs/connection/ConnectionPageNetwork.java | Java | apache-2.0 | 9,725 |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | joel-costigliola/assertj-core | src/test/java/org/assertj/core/internal/files/Files_assertHasDigest_DigestBytes_Test.java | Java | apache-2.0 | 6,237 |
/*
* Copyright 2009-2015 xinjunli (micromagic@sina.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 requi... | micromagic/eterna | main/src/share/self/micromagic/util/CustomResultIterator.java | Java | apache-2.0 | 2,942 |
package cn.jianke.jkchat.data.dao;
import android.content.Context;
import com.jk.chat.gen.JkChatConversationDao;
import org.greenrobot.greendao.query.QueryBuilder;
import java.util.List;
import cn.jianke.jkchat.domain.JkChatConversation;
import cn.jianke.jkchat.domain.JkChatMessage;
/**
* @className: JkChatConversat... | leibing8912/QuickInquiry | jkchat/src/main/java/cn/jianke/jkchat/data/dao/JkChatConversationDaoWrapper.java | Java | apache-2.0 | 7,135 |
package com.example.currentplacedetailsonmap.data;
import java.io.Serializable;
public class LocationInfo implements Serializable {
private String placeid;
private String lat;
private String lng;
private String vicinity; //addr
private String tel;
private String name;
private String atype;
private String ph... | jorseph/SearchRestaurant | app/src/main/java/com/example/currentplacedetailsonmap/data/LocationInfo.java | Java | apache-2.0 | 2,078 |
package org.apache.rocketmq.spring.boot.handler.impl;
import org.apache.rocketmq.client.consumer.listener.ConsumeOrderlyContext;
import org.apache.rocketmq.common.message.MessageExt;
import org.apache.rocketmq.spring.boot.event.RocketmqEvent;
import org.apache.rocketmq.spring.boot.handler.AbstractRouteableMessage... | vindell/spring-boot-starter-rocketmq | src/main/java/org/apache/rocketmq/spring/boot/handler/impl/RocketmqEventMessageOrderlyHandler.java | Java | apache-2.0 | 1,872 |
package weixin.popular.bean.paymch;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "xml")
@XmlAccessorType(XmlAccessType.FIELD)
public class MchBaseResult {
protected String return_code;
... | China-ls/wechat4java | src/main/java/weixin/popular/bean/paymch/MchBaseResult.java | Java | apache-2.0 | 1,987 |
/*
Copyright 1996-2008 Ariba, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | pascalrobert/aribaweb | src/util/src/main/java/ariba/util/core/Crypto.java | Java | apache-2.0 | 9,878 |
package maven;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
*
* This is the file specification used to activate the profile. The missing value will be the location
* of a file that needs to exist, ... | ThoughtWorksInc/go-plugin-util | src/maven/ActivationFile.java | Java | apache-2.0 | 2,240 |
package uk.ac.abdn.fits.hibernate.dao;
/**
* @author Cheng Zeng, University of Aberdeen
*
*/
import java.util.List;
import org.springframework.transaction.annotation.Transactional;
import uk.ac.abdn.fits.hibernate.model.OperationalHours;
@Transactional(readOnly = false)
public interface OperationalHoursDAO {... | CChengz/dot.r | workspace/fits/ke/src/main/java/uk/ac/abdn/fits/hibernate/dao/OperationalHoursDAO.java | Java | apache-2.0 | 465 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | hanahmily/sky-walking | apm-sniffer/apm-sdk-plugin/motan-plugin/src/main/java/org/apache/skywalking/apm/plugin/motan/MotanConsumerInterceptor.java | Java | apache-2.0 | 4,540 |
/*
* Copyright 2010 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | breskeby/sourcerer | model/src/main/groovy/org/eclipse/buildship/docs/model/SimpleClassMetaDataRepository.java | Java | apache-2.0 | 3,132 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache/incubator-asterixdb | asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/aggregates/std/IntermediateStddevPopAggregateDescriptor.java | Java | apache-2.0 | 2,654 |
/*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | syntelos/gwtcc | src/com/google/gwt/dev/util/arg/OptionGuiLogger.java | Java | apache-2.0 | 937 |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | solimant/druid | benchmarks/src/main/java/io/druid/benchmark/TimeParseBenchmark.java | Java | apache-2.0 | 3,489 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | gitee2008/glaf | src/main/java/com/glaf/core/util/DBUtils.java | Java | apache-2.0 | 86,107 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: qiantao.proto
package com.qiyi.usercloud.carve.demoservice;
public final class AddressBookProtos {
private AddressBookProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public in... | xydu/carve | carve-core/src/test/java/com/qiyi/usercloud/carve/demoservice/AddressBookProtos.java | Java | apache-2.0 | 62,319 |
package com.rx.mvp.cn.view.iface;
import com.rx.mvp.cn.base.IBaseView;
import com.rx.mvp.cn.model.bean.AddressBean;
/**
* 手机归属地页面view接口
*
* @author ZhongDaFeng
*/
public interface IPhoneAddressView extends IBaseView {
//显示结果
void showResult(AddressBean bean);
}
| weiwenqiang/GitHub | MVP/RxJava2ToMVP/Rx-Mvp-master/app/src/main/java/com/rx/mvp/cn/view/iface/IPhoneAddressView.java | Java | apache-2.0 | 305 |
/* The contents of this file are subject to the Health Level-7 Public
* License Version 1.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.hl7.org/HPL/
*
* Software distributed under the License is distributed on an "AS IS"
... | markusgumbel/dshl7 | hl7-javasig/src/org/hl7/types/impl/QSETPeriodicHullImpl.java | Java | apache-2.0 | 4,182 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | wuranbo/elasticsearch | core/src/main/java/org/elasticsearch/action/bulk/BulkRequest.java | Java | apache-2.0 | 25,029 |
/*
* Copyright 2020 Google LLC
*
* 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 applicable law or agreed to ... | googleapis/java-automl | proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationSpecOrBuilder.java | Java | apache-2.0 | 2,549 |
package org.intellimate.izou.sdk.events;
import org.intellimate.izou.events.EventBehaviourControllerModel;
import org.intellimate.izou.events.EventLifeCycle;
import org.intellimate.izou.events.EventModel;
import org.intellimate.izou.identification.Identification;
import org.intellimate.izou.resource.ListResourceProvid... | intellimate/IzouSDK | src/main/java/org/intellimate/izou/sdk/events/Event.java | Java | apache-2.0 | 9,531 |
package com.phonedeck.gcm4j;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
/**
* Connection Factory that uses {@link URL#openConnection()}.
*
*/
public class DefaultConnectionFactory implements ConnectionFactory {
@Override
public HttpURLConnection open(URL url) throw... | phonedeck/gcm4j | src/main/java/com/phonedeck/gcm4j/DefaultConnectionFactory.java | Java | apache-2.0 | 402 |
/*
* Copyright 2016 Kejun Xia
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | kejunxia/AndroidMvc | library/android-mvc-test/src/main/java/com/shipdream/lib/android/mvc/view/viewpager/BaseTabFragment.java | Java | apache-2.0 | 2,856 |
package us.mcsw.minerad.blocks;
import net.minecraft.block.ITileEntityProvider;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import ... | Blaxcraft/MineRad | src/main/java/us/mcsw/minerad/blocks/BlockMicrowave.java | Java | apache-2.0 | 1,325 |
/*
* Copyright 2015-2016 DevCon5 GmbH, info@devcon5.ch
*
* 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 appli... | inkstand-io/scribble | scribble-security/src/main/java/io/inkstand/scribble/security/SimpleUserPrincipal.java | Java | apache-2.0 | 1,122 |
/*
* 3D City Database - The Open Source CityGML Database
* https://www.3dcitydb.org/
*
* Copyright 2013 - 2021
* Chair of Geoinformatics
* Technical University of Munich, Germany
* https://www.lrg.tum.de/gis/
*
* The 3D City Database is jointly developed with the following
* cooperation partners:
*
* Virtua... | 3dcitydb/importer-exporter | impexp-core/src/main/java/org/citydb/core/operation/importer/filter/type/FeatureTypeFilter.java | Java | apache-2.0 | 4,449 |
/*
* Copyright 2015 Manuel Fernández Pérez
*
* 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 appli... | R2RMLManuelFernandez/R2RML | src/view/menu/ontology/OpenOntologyIRI.java | Java | apache-2.0 | 12,983 |
/*
* Copyright 2010 The Apache Software Foundation
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the ... | bcopeland/hbase-thrift | src/main/java/org/apache/hadoop/hbase/client/coprocessor/Exec.java | Java | apache-2.0 | 4,921 |
package ru.stqa.pft.sandbox;
/**
* Created by Даниил on 06.05.2017.
*/
public class Square {
public double l;
public Square(double l) {
this.l = l;
}
public double area() {
return this.l * this.l;
}
}
| SweetyDonut/java_pft | Sandbox/src/main/java/ru/stqa/pft/sandbox/Square.java | Java | apache-2.0 | 230 |
/*
* Copyright 2014-2015 itas group
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | liuxing521a/xcnet | xcnet-common/src/main/java/org/itas/xcnet/common/serialize/support/java/JavaObjectOutput.java | Java | apache-2.0 | 2,605 |
package mobilesafe.dda.com.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.text.InputType;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import com.dda.mobilesafe.utils.UI... | dengdunan/MobileSafe | app/src/main/java/mobilesafe/dda/com/activity/EnterPwdActivity.java | Java | apache-2.0 | 6,857 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | yext/closure-templates | java/src/com/google/template/soy/data/internal/AugmentedParamStore.java | Java | apache-2.0 | 2,522 |
/**
* Copyright 2014 David L. Whitehurst
*
* Licensed under the Apache License, Version 2.0
* (the "License"); You may not use this file except
* in compliance with the License. You may obtain a
* copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | dlwhitehurst/MusicRecital | src/main/java/org/musicrecital/service/impl/RoleManagerImpl.java | Java | apache-2.0 | 1,780 |
package com.acs.wave.router;
import com.acs.wave.router.constants.ProtocolVersion;
import com.acs.wave.router.constants.RedirectStatus;
import com.acs.wave.router.functional.BodyWriter;
import com.acs.wave.router.constants.ResponseStatus;
import com.acs.wave.utils.ExceptionUtils;
import java.util.Optional;
import st... | albertoteloko/wave-server | router/http/src/main/java/com/acs/wave/router/HTTPResponseBuilder.java | Java | apache-2.0 | 3,696 |
/*
* Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.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
... | nengxu/OrientDB | server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/command/get/OServerCommandGetStaticContent.java | Java | apache-2.0 | 9,117 |
package net.argius.stew.command;
import static java.sql.Types.*;
import java.io.*;
import java.sql.*;
import net.argius.stew.*;
/**
* The Download command used to save selected data to files.
*/
public final class Download extends Command {
private static final Logger log = Logger.getLogger(Download.class);
... | argius/Stew4 | src/net/argius/stew/command/Download.java | Java | apache-2.0 | 6,380 |