repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
troggy/bitcoinj
core/src/main/java/com/google/bitcoin/wallet/DeterministicSeed.java
9791
/** * Copyright 2014 Google Inc. * Copyright 2014 Andreas Schildbach * * 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 req...
apache-2.0
ReactiveX/RxJava
src/test/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableMaterializeTest.java
10356
/* * Copyright (c) 2016-present, RxJava Contributors. * * 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 la...
apache-2.0
Unicon/cas-addons
src/main/java/net/unicon/cas/addons/serviceregistry/RegisteredServicesReloadDisablingBeanFactoryPostProcessor.java
2060
package net.unicon.cas.addons.serviceregistry; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanFactoryPostProcessor; import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; import org....
apache-2.0
CPoirot3/OWL-Reasoner
project/src/org/semanticweb/HermiT/datatypes/owlreal/NumberRange.java
1986
/* Copyright 2008, 2009, 2010 by the Oxford University Computing Laboratory This file is part of HermiT. HermiT is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-lookoutequipment/src/main/java/com/amazonaws/services/lookoutequipment/model/transform/CreateDatasetResultJsonUnmarshaller.java
3307
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
apache-2.0
tyybjcc/Design-Patterns-in-java
DesignPatterns/src/com/designpattern/structural/facade/Facade.java
649
package com.designpattern.structural.facade; public class Facade { SystemOne system1 = new SystemOne(); SystemTwo system2 = new SystemTwo(); SystemThree system3 = new SystemThree(); SystemFour system4 = new SystemFour(); public void facadeFunction1() { System.out.println("---- facade function 1"); ...
apache-2.0
stephanenicolas/toothpick
toothpick-runtime/src/test/java/toothpick/getInstance/CycleCheckTest.java
3214
/* * Copyright 2019 Stephane Nicolas * Copyright 2019 Daniel Molinero Reguera * * 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 * ...
apache-2.0
adrian-wang/project-panthera-skin
src/main/java/com/intel/ssg/dcst/panthera/parse/sql/transformer/fb/AndFilterBlock.java
8205
/* * 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-2.0
jsodini/CodeSnip
sdk/java/src/main/java/io/swagger/client/api/DefaultApi.java
8599
package io.swagger.client.api; import com.sun.jersey.api.client.GenericType; import io.swagger.client.ApiException; import io.swagger.client.ApiClient; import io.swagger.client.Configuration; import io.swagger.client.Pair; import io.swagger.client.model.CodeSnippet; import io.swagger.client.model.CodeSnippetList; i...
apache-2.0
blackducksoftware/common-framework
src/test/java/com/blackducksoftware/tools/commonframework/standard/protex/report/template/TestPojoPageTwo.java
2010
/** * CommonFramework * * Copyright (C) 2017 Black Duck Software, Inc. * http://www.blackducksoftware.com/ * * 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 o...
apache-2.0
cping/LGame
Java/Examples/cannonblast(0.5)/src/org/test/JavaSEMain.java
744
package org.test; import org.test.act.MainGame; import loon.LSetting; import loon.LSystem; import loon.LazyLoading; import loon.Screen; import loon.javase.Loon; public class JavaSEMain { public static void main(String[]args){ LSetting setting = new LSetting(); setting.isFPS = true; setting.isLogo = false; ...
apache-2.0
Sellegit/j2objc
runtime/src/main/java/apple/uikit/UIMenuControllerArrowDirection.java
1076
package apple.uikit; import java.io.*; import java.nio.*; import java.util.*; import com.google.j2objc.annotations.*; import com.google.j2objc.runtime.*; import com.google.j2objc.runtime.block.*; import apple.audiotoolbox.*; import apple.corefoundation.*; import apple.coregraphics.*; import apple.coreservices.*; impo...
apache-2.0
hanyahui88/swifts
src/main/java/com/swifts/frame/modules/wx/fastweixin/company/message/req/QYBatchJobType.java
754
package com.swifts.frame.modules.wx.fastweixin.company.message.req; /** * 微信企业号异步任务类型 * ==================================================================== * * -------------------------------------------------------------------- * @author Nottyjay * @version 1.0.beta * @since 1.3.6 * ===================...
apache-2.0
anjuncc/hadoop
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/erasurecode/coder/TestErasureCoderBase.java
9576
/** * 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-2.0
Pardus-Engerek/engerek
model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestRbacDeprecated.java
1603
/* * Copyright (c) 2010-2017 Evolveum * * 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...
apache-2.0
Dennis-Koch/ambeth
jambeth/jambeth-ioc-test/src/test/java/com/koch/ambeth/util/ImmutableTypeSetTest.java
677
package com.koch.ambeth.util; import org.junit.Assert; import org.junit.Test; import com.koch.ambeth.ioc.util.ImmutableTypeSet; public class ImmutableTypeSetTest { public interface MyType { // intended blank } public class MyClass implements MyType { // intended blank } @Test public void...
apache-2.0
Activiti/Activiti
activiti-core/activiti-bpmn-model/src/main/java/org/activiti/bpmn/model/EventGateway.java
912
/* * Copyright 2010-2020 Alfresco Software, Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
apache-2.0
shybovycha/buck
src/com/facebook/buck/skylark/io/impl/SimpleGlobber.java
3622
/* * Copyright 2017-present Facebook, 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...
apache-2.0
renhui/android_career
business/android_testsuite/android_testsuite/android_testsuite/src/main/java/android_testsuite/GuideActivity.java
5130
package android_testsuite; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android_testsuite.mytest.application_search.AppSearchActivity; import android_testsuite.mytest.application_search.UidActivity; import android_...
apache-2.0
jcshen007/cloudstack
api/src/org/apache/cloudstack/api/command/user/loadbalancer/UploadSslCertCmd.java
5159
// 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...
apache-2.0
Moritz30-Projects/CyanAC-Plugin
src/info/cyanac/plugin/bukkit/CyanACTabCompleter.java
675
package info.cyanac.plugin.bukkit; import java.util.ArrayList; import java.util.List; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.command.TabCompleter; public class CyanACTabCompleter implements TabCompleter { @Override public List<String> onTabComplete(CommandSen...
apache-2.0
JR-CCPL87/ccpl-affirmation
src/main/java/pe/com/ccpl/siconc/web/service/RoleService.java
150
package pe.com.ccpl.siconc.web.service; import pe.com.ccpl.siconc.web.model.Role; public interface RoleService { public Role getRole(int id); }
apache-2.0
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.artifact.proxyservice/src/org/wso2/developerstudio/eclipse/artifact/proxyservice/validators/ProxyServiceProjectFieldController.java
8585
/* * Copyright (c) 2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Un...
apache-2.0
WindFromFarEast/SmartButler
libzxing/src/main/java/com/xys/libzxing/zxing/activity/CaptureActivity.java
10672
/* * Copyright (C) 2008 ZXing 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 applicable l...
apache-2.0
yangb0/spinach
spinach/spinach-web/src/main/java/com/yang/spinach/common/utils/spring/SpringCacheManagerWrapper.java
3363
/** * Copyright (c) 2005-2012 https://github.com/zhangkaitao Licensed under the Apache License, Version 2.0 (the * "License"); */ package com.yang.spinach.common.utils.spring; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.List; impo...
apache-2.0
tzpBingo/java-example
src/main/java/org/javacore/io/zip/ZipCompress.java
4471
package org.javacore.io.zip; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import ...
apache-2.0
Flowdalic/java-pinning
java-pinning-core/src/main/java/eu/geekplace/javapinning/pin/Pin.java
3689
/** * * Copyright 2014-2017 Florian Schmaus * * 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 ...
apache-2.0
Jukkorsis/Hadrian
src/main/java/com/northernwall/hadrian/handlers/service/dao/GetAuditData.java
840
/* * Copyright 2014 Richard Thurston. * * 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 agr...
apache-2.0
nafae/developer
modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201306/ActivateRateCardCustomizations.java
2796
/** * ActivateRateCardCustomizations.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201306; /** * The action used to activate {@link RateCardCustomization} objects. */ public class ActivateRateCard...
apache-2.0
fabric8io/kubernetes-client
kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/WatchHTTPManager.java
4143
/** * Copyright (C) 2015 Red Hat, 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...
apache-2.0
nafae/developer
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201406/cm/CampaignFeedServiceInterface.java
4521
package com.google.api.ads.adwords.jaxws.v201406.cm; import java.util.List; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.ws.RequestWrapper; import javax.xml.ws.ResponseWrapper; /** * *...
apache-2.0
pdeva/druid
processing/src/main/java/io/druid/query/extraction/MatchingDimExtractionFn.java
2777
/* * 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...
apache-2.0
cs-au-dk/TAJS
src/dk/brics/tajs/analysis/dom/event/EventException.java
2982
/* * Copyright 2009-2020 Aarhus University * * 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 applicab...
apache-2.0
blessonkavala/cp
cashportal/src/main/java/com/svcet/cashportal/service/UserRoleService.java
391
package com.svcet.cashportal.service; import com.svcet.cashportal.web.beans.UserRequest; import com.svcet.cashportal.web.beans.UserRolesScreenRequest; import com.svcet.cashportal.web.beans.UserRolesScreenResponse; public interface UserRoleService { UserRolesScreenResponse editUserRoles(UserRequest userRequest); v...
apache-2.0
igoldin74/java_for_testers
addressbook_tests/src/test/java/com/igoldin/qa/school/appmanager/DbHelper.java
1614
package com.igoldin.qa.school.appmanager; import com.igoldin.qa.school.model.ContactData; import com.igoldin.qa.school.model.Contacts; import com.igoldin.qa.school.model.GroupData; import com.igoldin.qa.school.model.Groups; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.boot.Me...
apache-2.0
bernhardhuber/netbeansplugins
nb-manifest-support/zip/ManifestSupport/src/org/netbeans/modules/manifestsupport/dataobject/ManifestDataNode.java
805
package org.netbeans.modules.manifestsupport.dataobject; import org.openide.loaders.DataNode; import org.openide.nodes.Children; public class ManifestDataNode extends DataNode { private static final String IMAGE_ICON_BASE = "SET/PATH/TO/ICON/HERE"; public ManifestDataNode(ManifestDataObject obj) { ...
apache-2.0
killme2008/xmemcached
src/main/java/net/rubyeye/xmemcached/command/text/TextGetOneCommand.java
2662
/** * Copyright [2009-2010] [dennis zhuang(killme2008@gmail.com)] Licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You * may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by * applicable la...
apache-2.0
gbaldera/Yts
app/src/main/java/com/gbaldera/yts/fragments/PopularMoviesFragment.java
495
package com.gbaldera.yts.fragments; import android.content.Loader; import com.gbaldera.yts.loaders.PopularMoviesLoader; import com.jakewharton.trakt.entities.Movie; import java.util.List; public class PopularMoviesFragment extends BaseMovieFragment { @Override protected int getLoaderId() { return B...
apache-2.0
leafclick/intellij-community
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/javadoc/MissingDeprecatedAnnotationInspection.java
8667
/* * Copyright 2003-2019 Dave Griffith, 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 required by applicab...
apache-2.0
nafae/developer
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201406/video/SummaryBudgets.java
3027
package com.google.api.ads.adwords.jaxws.v201406.video; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; import com.google.api.ads.adwords.jaxws.v201406.cm.Money; /** * * Class representing the various summary ...
apache-2.0
rodbate/httpserver
src/main/java/com/rodbate/httpserver/nioserver/old/WriterChannel.java
86
package com.rodbate.httpserver.nioserver.old; public interface WriterChannel { }
apache-2.0
jior/glaf-gac
glaf-base/src/main/java/com/glaf/base/modules/sys/model/Dictory.java
1856
package com.glaf.base.modules.sys.model; import java.io.Serializable; import java.util.Date; public class Dictory implements Serializable { private static final long serialVersionUID = 2756737871937885934L; private long id; private long typeId; private String code; private String name; private int sort; privat...
apache-2.0
nafae/developer
modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201311/AudienceSegmentAudienceSegmentType.java
3381
/** * AudienceSegmentAudienceSegmentType.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201311; public class AudienceSegmentAudienceSegmentType implements java.io.Serializable { private java.lang....
apache-2.0
nafae/developer
modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201308/DeleteCustomTargetingValues.java
2806
/** * DeleteCustomTargetingValues.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201308; /** * Represents the delete action that can be performed on * {@link CustomTargetingValue} objec...
apache-2.0
diogocs1/comps
mobile/src/com/comps/util/GsonManager.java
231
package com.comps.util; import com.google.gson.Gson; public class GsonManager { private static Gson instance; public static Gson getInstance(){ if (instance == null){ instance = new Gson(); } return instance; } }
apache-2.0
sosy-lab/java-smt
src/org/sosy_lab/java_smt/test/FormulaManagerTest.java
14364
// This file is part of JavaSMT, // an API wrapper for a collection of SMT solvers: // https://github.com/sosy-lab/java-smt // // SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org> // // SPDX-License-Identifier: Apache-2.0 package org.sosy_lab.java_smt.test; import static com.google.common.truth.Truth...
apache-2.0
OpenSourceConsulting/athena-chameleon
src/main/java/com/athena/chameleon/engine/entity/xml/application/jeus/v5_0/VendorType.java
1969
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.09.17 at 0...
apache-2.0
srapisarda/ontop
obdalib-core/src/main/java/it/unibz/inf/ontop/renderer/TargetQueryRenderer.java
9391
package it.unibz.inf.ontop.renderer; /* * #%L * ontop-obdalib-core * %% * Copyright (C) 2009 - 2014 Free University of Bozen-Bolzano * %% * 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 a...
apache-2.0
DenverM80/ds3_java_sdk
ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/ModifyUserSpectraS3ResponseParser.java
2377
/* * ****************************************************************************** * Copyright 2014-2017 Spectra Logic Corporation. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License i...
apache-2.0
rohitiskul/ParticleSystem
particlesystem/src/main/java/com/github/particlesystem/modifiers/ParticleModifier.java
335
package com.github.particlesystem.modifiers; import com.github.particlesystem.Particle; public interface ParticleModifier { /** * modifies the specific value of a particle given the current miliseconds * * @param particle * @param miliseconds */ void apply(Particle particle, long mi...
apache-2.0
FTFL02-ANDROID/julkarnine
ICare/src/com/ftfl/icare/FragmentAppointmentList.java
3803
package com.ftfl.icare; import java.util.List; import com.ftfl.icare.adapter.CustomAppointmentAdapter; import com.ftfl.icare.adapter.CustomDoctorAdapter; import com.ftfl.icare.helper.AppointmentDataSource; import com.ftfl.icare.helper.DoctorProfileDataSource; import com.ftfl.icare.model.Appointment; import com.ftfl.i...
apache-2.0
xcjava/ymWaterWeb
manager_ws_client/com/ymsino/water/service/manager/manager/ManagerService.java
6070
package com.ymsino.water.service.manager.manager; import java.util.List; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import javax.xml.ws.RequestWrapper; import javax.xml.ws.ResponseWrapper; /** * This class was generated by the JAX-WS RI....
apache-2.0
llxyhuang/YWeather
app/src/main/java/app/yweather/com/yweather/util/Utility.java
2845
package app.yweather.com.yweather.util; import android.annotation.TargetApi; import android.content.Context; import android.content.SharedPreferences; import android.os.Build; import android.preference.PreferenceManager; import org.json.JSONArray; import org.json.JSONObject; import java.text.SimpleDateFormat; import...
apache-2.0
grandcentrix/ThirtyInch
thirtyinch/src/main/java/net/grandcentrix/thirtyinch/TiActivity.java
7692
/* * Copyright (C) 2017 grandcentrix GmbH * 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 agree...
apache-2.0
papegaaij/jsr-352
JSR352.JobXML.Model/src/main/java/com/ibm/jbatch/jsl/util/JSLValidationEventHandler.java
2107
/* * Copyright 2012 International Business Machines Corp. * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. Licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance * with the License. You ...
apache-2.0
iclockwork/percy
wechat4j/src/test/java/com/iclockwork/percy/wechat4j/HelloWorldTest.java
646
package com.iclockwork.percy.wechat4j; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; /** * HelloWorldTest * * @author: fengwang * @date: 2016/3/9 13:40 * @version: 1.0 * @since: JDK 1.7 */ public class HelloWorldTest { /** * ...
apache-2.0
Scicrop/sentinel-extractor
source-code/sentinel-extractor-commons/src/com/scicrop/se/commons/utils/LogHelper.java
1743
package com.scicrop.se.commons.utils; import java.io.IOException; import org.apache.commons.logging.Log; import org.apache.log4j.ConsoleAppender; import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.apache.log4j.PatternLayout; import org.apache.log4j.RollingFileAppender; public class LogHelper...
apache-2.0
salyh/jm14specsvn
src/main/java/javax/mail/search/AddressTerm.java
2071
/* * 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-2.0
Seven-and-Nine/example-code-for-nine
Java/normal code/Java I/Lab4/Lab4_2.java
1401
public class Lab4_2 { public static void main(String[] arg) { System.out.print(" * |"); for(int x=1;x<=12;x++) { if (x<10) System.out.print(' '); if (x<100) System.out.print(' '); System.out.print(x+" "); } System.out.println(); for(int x=1;x<=21;x++) { if (x<10) System....
artistic-2.0
cocolove2/LISDemo
library-lis/src/main/java/uk/co/senab/photoview/PhotoView.java
6686
/******************************************************************************* * Copyright 2011, 2012 Chris Banes. * * 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.apac...
artistic-2.0
bgroenks96/coregl
coregl-utils/src/main/java/com/lessvoid/coregl/CoreRender.java
7233
/** * Copyright (c) 2013, Jens Hohmuth * 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 co...
bsd-2-clause
tkmnet/RCRS-ADF
gradle/gradle-2.1/src/core/org/gradle/initialization/ProjectDirectoryProjectSpec.java
2457
/* * Copyright 2009 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...
bsd-2-clause
chototsu/MikuMikuStudio
sdk/jme3-core/src/com/jme3/gde/core/filters/impl/JmeWaterFilter.java
3026
/* * Copyright (c) 2009-2010 jMonkeyEngine * 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...
bsd-2-clause
octavianiLocator/g3m
tools/vectorial-streaming/src/com/glob3mobile/vectorial/processing/LODPointFeaturesPreprocessor.java
5344
package com.glob3mobile.vectorial.processing; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Comparator; import java.util.List; import com.glob3mobile.utils.Progress; import com.glob3mobile.vectorial.lod.PointFeatureLODStorage; import com.glob3mobile.vectorial.lod.mapd...
bsd-2-clause
skynav/ttt
ttt-ttv/src/main/java/com/xfsi/xav/validation/images/jpeg/JpegInputStream.java
3933
/* * Copyright 2016 Skynav, Inc. All rights reserved. * Portions Copyright 2009 Extensible Formatting Systems, Inc (XFSI). * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source c...
bsd-2-clause
smcpeak/earthshape
src/earthshape/EarthShape.java
118405
// EarthShape.java // See copyright.txt for license and terms of use. package earthshape; import java.awt.BorderLayout; import java.awt.Cursor; import java.awt.Image; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.InputEvent; import java.awt.eve...
bsd-2-clause
geronimo-iia/ferox
ferox-math/src/main/java/com/ferox/math/bounds/Frustum.java
28685
/* * Ferox, a graphics and game library in Java * * Copyright (c) 2012, Michael Ludwig * 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 t...
bsd-2-clause
hydai/Cocoon
Cocoon/src/cocoonClient/Panels/StatusPanel.java
3759
package cocoonClient.Panels; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JScrollPane; import javax....
bsd-2-clause
f1nalspace/leverman-devlog
lman/src/de/lman/Leverman.java
11052
package de.lman; import de.lman.engine.Colors; import de.lman.engine.Game; import de.lman.engine.InputState; import de.lman.engine.Keys; import de.lman.engine.Mouse; import de.lman.engine.math.Mat2f; import de.lman.engine.math.Scalar; import de.lman.engine.math.Transform; import de.lman.engine.math.Vec2f; import de.lm...
bsd-2-clause
highsource/jaxb2-basics
basic/src/main/java/org/jvnet/jaxb2_commons/plugin/mergeable/MergeablePlugin.java
10727
package org.jvnet.jaxb2_commons.plugin.mergeable; import java.util.Arrays; import java.util.Collection; import javax.xml.namespace.QName; import org.jvnet.jaxb2_commons.lang.JAXBMergeStrategy; import org.jvnet.jaxb2_commons.lang.MergeFrom2; import org.jvnet.jaxb2_commons.lang.MergeStrategy2; import org.jvnet.jaxb2_c...
bsd-2-clause
Drafigon/WildGraphs
src/operations/O_RelaxEdge.java
590
package operations; import data.Collector; import graph.implementation.Edge; import utility.GraphFunctions; /** * Set the curve point to an ideal position. * If source and destination are equal, it would be a line. * If not, it is a noose on top of the vertex. */ public class O_RelaxEdge implements EdgeOperation...
bsd-2-clause
tkmnet/RCRS-ADF
modules/core/src/main/java/adf/launcher/connect/ConnectorAmbulanceCentre.java
1801
package adf.launcher.connect; import adf.agent.office.OfficeAmbulance; import adf.control.ControlAmbulance; import adf.launcher.AbstractLoader; import adf.launcher.ConfigKey; import rescuecore2.components.ComponentConnectionException; import rescuecore2.components.ComponentLauncher; import rescuecore2.config.Config; i...
bsd-2-clause
James1345/bfg
src/com/mithos/bfg/loop/OnEventAdapter.java
821
package com.mithos.bfg.loop; import java.awt.event.KeyEvent; import java.awt.event.MouseEvent; import java.awt.event.MouseWheelEvent; /** * This class is an adapter for {@link OnEvent}. All methods do * nothing and return true, so you need only implement the methods * that you need to. * @author James McMahon * ...
bsd-2-clause
jinterval/jinterval
jinterval-ir/src/main/java/net/java/jinterval/ir/IRPredictor.java
10164
/* * Copyright (c) 2012, JInterval Project. * 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 o...
bsd-2-clause
chototsu/MikuMikuStudio
sdk/jme3-core/src/com/jme3/gde/core/properties/UserDataProperty.java
5643
/* * Copyright (c) 2009-2010 jMonkeyEngine * 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...
bsd-2-clause
netmelody/neoclassycle
src/main/java/org/netmelody/neoclassycle/renderer/StrongComponentRenderer.java
1856
/* * Copyright (c) 2012 Tom Denley * This file incorporates work covered by the following copyright and * permission notice: * * Copyright (c) 2003-2008, Franz-Josef Elmer, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the...
bsd-2-clause
TrNdy/mastodon-tracking
src/test/java/org/mastodon/tracking/mamut/trackmate/wizard/CreateLargeModelExample.java
4524
package org.mastodon.tracking.mamut.trackmate.wizard; import org.mastodon.mamut.model.Link; import org.mastodon.mamut.model.Model; import org.mastodon.mamut.model.Spot; import org.mastodon.model.AbstractModelImporter; public class CreateLargeModelExample { private static final int N_STARTING_CELLS = 6; private sta...
bsd-2-clause
milot-mirdita/GeMuDB
Vendor/NCBI eutils/src/gov/nih/nlm/ncbi/www/soap/eutils/efetch_gene/PatentPriority_type0.java
28888
/** * PatentPriority_type0.java * * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:34:40 IST) */ package gov.nih.nlm.ncbi.www.soap.eutils.efetch_gene; /** * PatentPriority_type0 bean clas...
bsd-2-clause
TeamSprocket/2013Robot
BackRightAutonomous.java
952
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author Bill */ public class BackRightAutonomous extends CommandBase { public BackRightAutonomous() { // Use requires() here to declare subsystem dependencies // eg. requ...
bsd-3-clause
iig-uni-freiburg/SEWOL
src/de/uni/freiburg/iig/telematik/sewol/accesscontrol/rbac/lattice/graphic/RoleGraphViewer.java
874
package de.uni.freiburg.iig.telematik.sewol.accesscontrol.rbac.lattice.graphic; import org.apache.commons.collections15.Factory; import edu.uci.ics.jung.graph.Graph; import edu.uci.ics.jung.graph.SparseMultigraph; public class RoleGraphViewer { Graph<Integer, String> g; int nodeCount, edgeCount; Factory<Integer> ...
bsd-3-clause
ezegarra/microbrowser
microba/com/michaelbaranov/microba/gradient/DefaultGradientModel.java
2149
package com.michaelbaranov.microba.gradient; import java.awt.Color; import java.util.ArrayList; import java.util.List; import com.michaelbaranov.microba.common.AbstractBoundedTableModel; /** * A very basic implementation of {@link AbstractBoundedTableModel} used by * default by {@link GradientBar}. This implementa...
bsd-3-clause
percolate/percolate-java-sdk
core/src/main/java/com/percolate/sdk/dto/FacebookConversationMessage.java
3496
package com.percolate.sdk.dto; import com.fasterxml.jackson.annotation.*; import com.percolate.sdk.interfaces.HasExtraFields; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import java.io.Serializable; import java.util.ArrayList; import java.util.HashMa...
bsd-3-clause
UrielCh/ovh-java-sdk
ovh-java-sdk-price/src/main/java/net/minidev/ovh/api/price/dedicatedcloud/_2014v1/sbg1a/infrastructure/filer/OvhHourlyEnum.java
1119
package net.minidev.ovh.api.price.dedicatedcloud._2014v1.sbg1a.infrastructure.filer; import com.fasterxml.jackson.annotation.JsonProperty; /** * Enum of Hourlys */ public enum OvhHourlyEnum { @JsonProperty("iscsi-1200-GB") iscsi_1200_GB("iscsi-1200-GB"), @JsonProperty("iscsi-13200g-GB") iscsi_13200g_GB("iscsi-1...
bsd-3-clause
ShadowShitler/Bridgette
src/org/usfirst/frc369/Robot2017Code/subsystems/LED.java
726
package org.usfirst.frc369.Robot2017Code.subsystems; import org.usfirst.frc369.Robot2017Code.Robot; import edu.wpi.first.wpilibj.Relay; import edu.wpi.first.wpilibj.command.Subsystem; /** * */ public class LED extends Subsystem { // Put methods for controlling this subsystem // here. Call these from Comma...
bsd-3-clause
NCIP/cacore-sdk-pre411
SDK4/system/src/gov/nih/nci/system/webservice/WSQueryImpl.java
5667
/*L * Copyright Ekagra Software Technologies Ltd. * Copyright SAIC * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cacore-sdk-pre411/LICENSE.txt for details. */ package gov.nih.nci.system.webservice; import gov.nih.nci.system.applicationservice.ApplicationService; i...
bsd-3-clause
GeoscienceAustralia/geodesy-sitelog-domain
src/main/java/au/gov/ga/geodesy/sitelog/domain/model/Contact.java
1834
package au.gov.ga.geodesy.sitelog.domain.model; import javax.validation.constraints.Size; /** * http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/contact/2004/baseContactLib.xsd:contactType */ public class Contact { private Integer id; @Size(max = 200) protected String name; @Size(max = 200) protect...
bsd-3-clause
TeamCohen/MinorThird
src/main/java/edu/cmu/minorthird/text/gui/ZoomingTextLabelsViewer.java
1434
package edu.cmu.minorthird.text.gui; import edu.cmu.minorthird.text.FancyLoader; import edu.cmu.minorthird.text.TextLabels; import edu.cmu.minorthird.util.gui.ControlledViewer; import edu.cmu.minorthird.util.gui.VanillaViewer; import edu.cmu.minorthird.util.gui.Viewer; import edu.cmu.minorthird.util.gui.ViewerFrame; i...
bsd-3-clause
NCIP/cagrid-workflow
workflow-portlet/src/main/java/gov/nih/nci/cagrid/portal/portlet/workflow/mvc/NewInstanceFormController.java
6693
/** *============================================================================ * The Ohio State University Research Foundation, The University of Chicago - * Argonne National Laboratory, Emory University, SemanticBits LLC, * and Ekagra Software Technologies Ltd. * * Distributed under the OSI-approved BSD 3-Clau...
bsd-3-clause
levans/Open-Quark
src/Quark_Gems/src/org/openquark/gems/client/IntellicutList.java
10380
/* * Copyright (c) 2007 BUSINESS OBJECTS SOFTWARE LIMITED * 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 n...
bsd-3-clause
DweebsUnited/CodeMonkey
java/CodeMonkey/HEMesh/wblut/geom/WB_MutableCoordinateMath3D.java
2810
/* * HE_Mesh Frederik Vanhoutte - www.wblut.com * * https://github.com/wblut/HE_Mesh * A Processing/Java library for for creating and manipulating polygonal meshes. * * Public Domain: http://creativecommons.org/publicdomain/zero/1.0/ * I , Frederik Vanhoutte, have waived all copyright and related or neighbor...
bsd-3-clause
xebialabs/vijava
src/com/vmware/vim25/StaticRouteProfile.java
1954
/*================================================================================ Copyright (c) 2012 Steve Jin. 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 re...
bsd-3-clause
krishagni/openspecimen
WEB-INF/src/com/krishagni/catissueplus/core/biospecimen/events/SpecimenAliquotsSpec.java
5811
package com.krishagni.catissueplus.core.biospecimen.events; import java.math.BigDecimal; import java.util.Date; import java.util.List; import com.krishagni.catissueplus.core.administrative.events.StorageLocationSummary; import com.krishagni.catissueplus.core.common.events.UserSummary; import com.krishagni.catissueplu...
bsd-3-clause
fresskarma/tinyos-1.x
tools/java/net/tinyos/tinydb/topology/MainClass.java
4833
// $Id: MainClass.java,v 1.6 2003/10/07 21:46:08 idgay Exp $ /* tab:4 * "Copyright (c) 2000-2003 The Regents of the University of California. * All rights reserved. * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose, without fee, and without writte...
bsd-3-clause
KingBowser/hatter-source-code
resourceproxy/commons/src/me/hatter/tools/resourceproxy/commons/io/FilePrintWriter.java
646
package me.hatter.tools.resourceproxy.commons.io; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; public class FilePrintWriter extends PrintWriter { public FileP...
bsd-3-clause
AlexejK/lombok-intellij-plugin
testData/after/value/ValueAndBuilder93.java
3489
// Generated by delombok at Sat Jun 11 11:12:44 CEST 2016 public final class Zoo { private final String meerkat; private final String warthog; public Zoo create() { return new Zoo("tomon", "pumbaa"); } @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") Zoo(final String meerkat...
bsd-3-clause
ivparamonov/android-course-examples
dots/app/src/androidTest/java/ru/ac/uniyar/dots/ApplicationTest.java
348
package ru.ac.uniyar.dots; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { super...
bsd-3-clause
BayesianLogic/blog
src/main/java/blog/model/AtomicFormula.java
5685
/* * Copyright (c) 2005, Regents of the University of California * 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 * ...
bsd-3-clause
NCIP/caarray
software/caarray-common.jar/src/main/java/gov/nih/nci/caarray/magetab/TermSource.java
3123
//====================================================================================== // Copyright 5AM Solutions Inc, Yale University // // Distributed under the OSI-approved BSD 3-Clause License. // See http://ncip.github.com/caarray/LICENSE.txt for details. //=======================================================...
bsd-3-clause
dandelion/dandelion-gua
gua-core/src/main/java/com/github/dandelion/gua/core/field/EventTrackingField.java
432
package com.github.dandelion.gua.core.field; public enum EventTrackingField implements AnalyticsField, AnalyticsCreateField { @AnalyticsFieldControl(AnalyticsFieldControl.Policy.TEXT) eventCategory, @AnalyticsFieldControl(AnalyticsFieldControl.Policy.TEXT) eventAction, @AnalyticsFieldControl(AnalyticsField...
bsd-3-clause
NCIP/cab2b
software/cab2b/src/java/server/edu/wustl/cab2b/server/analyticalservice/EntityToAnalyticalServiceMapper.java
11873
/*L * Copyright Georgetown University, Washington University. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cab2b/LICENSE.txt for details. */ package edu.wustl.cab2b.server.analyticalservice; import java.io.InputStream; import java.util.ArrayList; import jav...
bsd-3-clause