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
/** * Copyright Intellectual Reserve, 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...
brenthale/gedcomx-java
enunciate-gedcomx-support/src/main/java/org/gedcomx/build/enunciate/RecipeClasspathHandler.java
Java
apache-2.0
2,169
/* * 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...
aws/aws-sdk-java
aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/Problem.java
Java
apache-2.0
19,577
package lesson.types; public class Classes { public static void main(String[] args) { JustClass one = new JustClass(); JustClass two = new JustClass(123, "sdf"); System.out.println(one); System.out.println(two); } } class JustClass { private int number; private String...
nesterione/JavaTrainings
src/lesson/types/Classes.java
Java
apache-2.0
602
/** * Utility classes for converting between granularities of SI (power-of-ten) and IEC (power-of-two) * byte units and bit units. * <p> * <h3>Example Usage</h3> * What's the difference in hard drive space between perception and actual? * <pre><code> * long perception = BinaryByteUnit.TEBIBYTES.toBytes(2); * lo...
JakeWharton/byteunits
src/main/java/com/jakewharton/byteunits/package-info.java
Java
apache-2.0
799
/* * 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 ...
hirohanin/pig7hadoop21
src/org/apache/pig/experimental/logical/relational/LogicalSchema.java
Java
apache-2.0
7,432
package com.github.nikolaymakhonin.android_app_example.di.factories; import android.content.Context; import android.support.annotation.NonNull; import com.github.nikolaymakhonin.android_app_example.di.components.AppComponent; import com.github.nikolaymakhonin.android_app_example.di.components.DaggerAppComponent; imp...
NikolayMakhonin/AndroidAppExample
AndroidAppExample/AppExample/src/main/java/com/github/nikolaymakhonin/android_app_example/di/factories/ComponentsFactory.java
Java
apache-2.0
1,243
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2020, Arnaud Roques * * Project Info: https://plantuml.com * * If you like this project or if ...
talsma-ict/umldoclet
src/plantuml-asl/src/net/sourceforge/plantuml/objectdiagram/command/CommandAddData.java
Java
apache-2.0
2,860
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
Legostaev/xmlsec-gost
src/test/java/org/apache/xml/security/test/stax/c14n/Canonicalizer20010315ExclusiveTest.java
Java
apache-2.0
40,733
/* * Copyright 2015 OpenCB * * 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 wr...
kalyanreddyemani/biodata
biodata-formats/src/main/java/org/opencb/biodata/formats/io/AbstractFormatReader.java
Java
apache-2.0
1,817
package org.ovirt.engine.ui.uicommonweb.models.configure.roles_ui; import java.util.ArrayList; import org.ovirt.engine.core.common.businessentities.ActionGroup; import org.ovirt.engine.core.common.mode.ApplicationMode; import org.ovirt.engine.ui.uicommonweb.models.ApplicationModeHelper; import org.ovirt.engine.ui.uic...
derekhiggins/ovirt-engine
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/configure/roles_ui/RoleTreeView.java
Java
apache-2.0
34,814
package com.jpattern.core.command; import com.jpattern.core.IProvider; import com.jpattern.core.exception.NullProviderException; import com.jpattern.logger.ILogger; import com.jpattern.logger.SystemOutLoggerFactory; /** * * @author Francesco Cina' * * 11/set/2011 */ public abstract class ACommand<T extends IPro...
ufoscout/jpattern
core/src/main/java/com/jpattern/core/command/ACommand.java
Java
apache-2.0
5,668
/* * Copyright 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 applica...
gstevey/gradle
subprojects/base-services/src/main/java/org/gradle/internal/hash/HashingOutputStream.java
Java
apache-2.0
1,665
/* * Copyright (c) 2014 Spotify AB. * * 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...
gtonic/helios
helios-services/src/main/java/com/spotify/helios/agent/Supervisor.java
Java
apache-2.0
14,062
package de.saxsys.mvvmfx.examples.contacts.model; public class Subdivision { private final String name; private final String abbr; private final Country country; public Subdivision(String name, String abbr, Country country) { this.name = name; this.abbr = abbr; this.country = country; } public String g...
sialcasa/mvvmFX
examples/contacts-example/src/main/java/de/saxsys/mvvmfx/examples/contacts/model/Subdivision.java
Java
apache-2.0
1,010
package fr.jmini.asciidoctorj.testcases; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.Map; import org.asciidoctor.AttributesBu...
jmini/asciidoctorj-experiments
test-cases/adoc-test-cases/src/main/java/fr/jmini/asciidoctorj/testcases/ShowTitleTrueTestCase.java
Java
apache-2.0
8,764
package fr.sii.ogham.sms.message; import fr.sii.ogham.core.util.EqualsBuilder; import fr.sii.ogham.core.util.HashCodeBuilder; /** * Represents a phone number. It wraps a simple string. The aim is to abstracts * the concept and to be able to provide other fields latter if needed. * * @author Aurélien Baudet * *...
groupe-sii/ogham
ogham-core/src/main/java/fr/sii/ogham/sms/message/PhoneNumber.java
Java
apache-2.0
1,017
package org.fastnate.generator.converter; import java.time.Duration; import org.fastnate.generator.context.GeneratorContext; import org.fastnate.generator.statements.ColumnExpression; import org.fastnate.generator.statements.PrimitiveColumnExpression; /** * Converts a {@link Duration} to an SQL expression. * * @a...
liefke/org.fastnate
fastnate-generator/src/main/java/org/fastnate/generator/converter/DurationConverter.java
Java
apache-2.0
786
// // Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.8-b130911.1802 // Vedere <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. // Gene...
fgaudenzi/testManager
testManager/XMLRepository/CertificationModel/org/cumulus/certificate/model/HistoryStateType.java
Java
apache-2.0
2,497
/* * Copyright 2021 ThoughtWorks, 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 agr...
GaneshSPatil/gocd
common/src/main/java/com/thoughtworks/go/serverhealth/ServerHealthService.java
Java
apache-2.0
6,153
package gov.ic.geoint.spreadsheet; /** * */ public interface ICell extends Hashable { /** * * @return */ public int getColumnNum(); /** * * @return */ public int getRowNum(); /** * * @return */ public String getValue(); }
GEOINT/spreadsheetDiff
src/main/java/gov/ic/geoint/spreadsheet/ICell.java
Java
apache-2.0
298
package sdk.chat.demo.examples.api; import io.reactivex.functions.Consumer; import sdk.guru.common.DisposableMap; public class BaseExample implements Consumer<Throwable> { // Add the disposables to a map so you can dispose of them all at one time protected DisposableMap dm = new DisposableMap(); @Overri...
chat-sdk/chat-sdk-android
chat-sdk-demo/src/main/java/sdk/chat/demo/examples/api/BaseExample.java
Java
apache-2.0
423
//Copyright (c) 2014 by Disy Informationssysteme GmbH package net.disy.eenvplus.tfes.core.api.query; // NOT_PUBLISHED public interface ISuggestionQuery extends ISourceQuery { String getKeyword(); }
eENVplus/tf-exploitation-server
TF_Exploitation_Server_core/src/main/java/net/disy/eenvplus/tfes/core/api/query/ISuggestionQuery.java
Java
apache-2.0
201
package com.jwetherell.algorithms.data_structures.interfaces; /** * A tree can be defined recursively (locally) as a collection of nodes (starting at a root node), * where each node is a data structure consisting of a value, together with a list of nodes (the "children"), * with the constraints that no node is du...
phishman3579/java-algorithms-implementation
src/com/jwetherell/algorithms/data_structures/interfaces/ITree.java
Java
apache-2.0
1,766
/* * Copyright 2014, The Sporting Exchange Limited * Copyright 2014, Simon Matić Langford * * 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/LICENS...
eswdd/disco
disco-framework/jetty-transport/src/test/java/uk/co/exemel/disco/transport/jetty/CrossOriginHandlerTest.java
Java
apache-2.0
3,706
package org.nd4j.linalg.indexing; import com.google.common.base.Function; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.nd4j.linalg.BaseNd4jTest; import org.nd4j.linalg.api.ndarray.INDArray; import org.nd4j.linalg.api.ops.impl.accum.MatchCondition; import or...
huitseeker/nd4j
nd4j-backends/nd4j-tests/src/test/java/org/nd4j/linalg/indexing/BooleanIndexingTest.java
Java
apache-2.0
17,052
package com.xiaojinzi.component.error; public class ServiceRepeatCreateException extends RuntimeException { public ServiceRepeatCreateException() { } public ServiceRepeatCreateException(String message) { super(message); } public ServiceRepeatCreateException(String message, Throwable caus...
xiaojinzi123/Component
ComponentImpl/src/main/java/com/xiaojinzi/component/error/ServiceRepeatCreateException.java
Java
apache-2.0
453
package de.uniulm.omi.cloudiator.sword.multicloud.service; import com.google.common.base.Supplier; import com.google.common.collect.ImmutableSet; import com.google.inject.Inject; import de.uniulm.omi.cloudiator.sword.domain.Cloud; import de.uniulm.omi.cloudiator.sword.domain.Pricing; import de.uniulm.omi.cloudiator.sw...
cloudiator/sword
multicloud/src/main/java/de/uniulm/omi/cloudiator/sword/multicloud/service/MultiCloudPricingService.java
Java
apache-2.0
1,844
/* * Copyright 2011-2019 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 "lice...
jentfoo/aws-sdk-java
aws-java-sdk-core/src/main/java/com/amazonaws/transform/AbstractErrorUnmarshaller.java
Java
apache-2.0
2,633
package com.icfcc.cache.support; import com.icfcc.cache.Cache; import java.util.Collection; /** * Simple cache manager working against a given collection of caches. * Useful for testing or simple caching declarations. * * @author Costin Leau * @since 3.1 */ public class SimpleCacheManager extends AbstractCach...
Gitpiece/spring-cache-project
spring-cache/src/main/java/com/icfcc/cache/support/SimpleCacheManager.java
Java
apache-2.0
684
package fr.fablabmars.model; import java.util.ArrayList; import fr.fablabmars.observer.Observable; import fr.fablabmars.observer.Observer; /** * Observable contenant le menu courant. * * @author Guillaume Perouffe * @see Observable */ public class CardMenu implements Observable { /** * List...
gperouffe/FabLabUsers
src/fr/fablabmars/model/CardMenu.java
Java
apache-2.0
1,473
package ru.job4j.collections.tree; /** * Бинарное дерево . * * @author Hincu Andrei (andreih1981@gmail.com) by 20.10.17; * @version $Id$ * @since 0.1 * @param <E> тип данных. */ public class BinaryTree<E extends Comparable<E>> extends Tree<E> { /** * Корень дерева. */ private Node<E> node; ...
andreiHi/hincuA
chapter_005/src/main/java/ru/job4j/collections/tree/BinaryTree.java
Java
apache-2.0
2,101
/** * 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...
linkedin/pinot
pinot-core/src/main/java/org/apache/pinot/core/startree/v2/store/StarTreeIndexContainer.java
Java
apache-2.0
3,059
/* Copyright 2010-2011 Zhengmao HU (James) 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...
james-hu/jabb-core
src/main/java/net/sf/jabb/util/text/StringStartWithMatcher.java
Java
apache-2.0
8,259
package com.dexvis.simple.transform; import javafx.scene.web.HTMLEditor; import org.simpleframework.xml.transform.Transform; public class HTMLEditorTransform implements Transform<HTMLEditor> { public HTMLEditor read(String value) throws Exception { HTMLEditor editor = new HTMLEditor(); editor....
PatMartin/Dex
src/com/dexvis/simple/transform/HTMLEditorTransform.java
Java
apache-2.0
485
package ecologylab.bigsemantics.service.crawler; import java.io.IOException; /** * A general framework for crawling resources. * * @author quyin */ public interface ResourceCrawler<T> { /** * Queue a resource with the given URI. * * @param uri */ void queue(String uri); /*...
ecologylab/BigSemanticsService
BasicCrawler/src/ecologylab/bigsemantics/service/crawler/ResourceCrawler.java
Java
apache-2.0
1,304
package net.sf.anpr.rcp.widget; import java.awt.Color; import java.awt.Graphics; import java.awt.Rectangle; import java.awt.image.BufferedImage; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.SwingConstants; public class JCanvasPanel extends JLabel { private static final lon...
alexmao86/swing-rcp
src/main/java/net/sf/anpr/rcp/widget/JCanvasPanel.java
Java
apache-2.0
1,173
/* * 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.ui.app.standalone/src/org/jkiss/dbeaver/ui/app/standalone/about/AboutBoxAction.java
Java
apache-2.0
1,230
package com.action.design.pattern.chain; /** * 创建不同类型的记录器。赋予它们不同的错误级别,并在每个记录器中设置下一个记录器。每个记录器中的下一个记录器代表的是链的一部分。 * Created by wuyunfeng on 2017/6/15. */ public class ChainPatternDemo { private static AbstractLogger getChainOfLoggers() { AbstractLogger errorLogger = new ErrorLogger(AbstractLogger.ERROR); ...
pearpai/java_action
src/main/java/com/action/design/pattern/chain/ChainPatternDemo.java
Java
apache-2.0
1,140
/* * Copyright (c) 2021, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.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.apac...
lessthanoptimal/BoofCV
main/boofcv-feature/src/benchmark/java/boofcv/alg/descriptor/BenchmarkDescriptorDistance.java
Java
apache-2.0
3,105
package adamin90.com.wpp.model.mostsearch; import java.util.ArrayList; import java.util.List; import javax.annotation.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @Generated("org.jsonschema2pojo") public class MostSearchData { @SerializedName("data") ...
adamin1990/MaterialWpp
wpp/app/src/main/java/adamin90/com/wpp/model/mostsearch/MostSearchData.java
Java
apache-2.0
971
package com.hangon.saying.viewPager; import android.content.Context; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import ...
TangZuopeng/OurApplication
app/src/main/java/com/hangon/saying/viewPager/GradAdapter.java
Java
apache-2.0
4,468
/** * Copyright 2013 Agustín Miura <"agustin.miura@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 ...
agustinmiura/imperium
src/main/java/ar/com/imperium/common/security/DummyHashServiceImpl.java
Java
apache-2.0
925
package com.sadc.game.gameobject.trackobject; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.sadc.game.GameConstants; import com.sadc.game.gameobject.GameUtils; import com.sadc.game.gameobject.Player; /** * @author f536985 (Tom Farello) */ public class Wall ex...
jlturner85/libgdx-gradle-template
core/src/main/java/com/sadc/game/gameobject/trackobject/Wall.java
Java
apache-2.0
1,196
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.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...
orientechnologies/orientdb
core/src/main/java/com/orientechnologies/orient/core/sql/functions/coll/OSQLFunctionSymmetricDifference.java
Java
apache-2.0
4,574
/* * Copyright 2012-2017 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...
dagnir/aws-sdk-java
aws-java-sdk-ses/src/main/java/com/amazonaws/services/simpleemail/model/SetReceiptRulePositionResult.java
Java
apache-2.0
2,365
import java.io.IOException; import java.io.OutputStream; import java.net.InetSocketAddress; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.Properties; import java.util.stream.Stream; import javax.xml.bind.JAXBContext;...
daisy/pipeline-issues
framework/webservice/src/test/java/TestPushNotifications.java
Java
apache-2.0
6,214
/* * Copyright 2012-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 agr...
timzam/jetpad-mapper
util/base/src/test/java/jetbrains/jetpad/base/edt/BufferingEdtManager.java
Java
apache-2.0
1,075
/* * Copyright 2016 * Ubiquitous Knowledge Processing (UKP) Lab * Technische Universität Darmstadt * * 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/lice...
habernal/emnlp2015
code/experiments/src/main/java/de/tudarmstadt/ukp/experiments/argumentation/sequence/io/filters/DocumentRegisterFilter.java
Java
apache-2.0
1,948
package es.npatarino.android.gotchallenge.chat.message.viewmodel; import android.net.Uri; import es.npatarino.android.gotchallenge.chat.message.model.Payload; public class StickerPayLoad implements Payload { private String stickerFilePath; public StickerPayLoad(String stickerFilePath) { this.stickerFilePath...
tonilopezmr/Game-of-Thrones
app/src/main/java/es/npatarino/android/gotchallenge/chat/message/viewmodel/StickerPayLoad.java
Java
apache-2.0
490
/* */ package com.hundsun.network.gates.wulin.biz.service.pojo.auction; /* */ /* */ import com.hundsun.network.gates.luosi.biz.security.ServiceException; /* */ import com.hundsun.network.gates.luosi.common.enums.EnumActiveStatus; /* */ import com.hundsun.network.gates.luosi.common.enums.EnumBid...
hnccfr/ccfrweb
basecore/src/com/hundsun/network/gates/wulin/biz/service/pojo/auction/MulitAuctionServiceImpl.java
Java
apache-2.0
12,488
/* * Copyright 2002-2013 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...
gregodadone/spring-compraventa
src/main/java/org/utn/dacs2017/compraventa/vendedor/VendedorController.java
Java
apache-2.0
1,812
package com.afollestad.breadcrumb; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.graphics.RectF; import android.graphics.drawable.Drawable; import android.os.Build; import android.support.annotation.NonNull; import android.support.v4.view.ViewCompat; i...
jbm714060/Github
breadcrumb/src/main/java/com/afollestad/breadcrumb/LinearBreadcrumb.java
Java
apache-2.0
9,519
/* * Copyright 2015 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 applica...
omalley/orc
java/core/src/test/org/apache/orc/impl/TestOrcLargeStripe.java
Java
apache-2.0
8,450
/* * Solo - A small and beautiful blogging system written in Java. * Copyright (c) 2010-present, b3log.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the ...
b3log/b3log-solo
src/test/java/org/b3log/solo/processor/ErrorProcessorTestCase.java
Java
apache-2.0
1,972
/* 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 * distribut...
stephraleigh/flowable-engine
modules/flowable-engine/src/main/java/org/flowable/engine/impl/cmd/GetRenderedTaskFormCmd.java
Java
apache-2.0
2,774
package com.stdnull.v2api.model; import android.os.Bundle; import android.os.Parcelable; import java.util.ArrayList; import java.util.List; /** * Created by chen on 2017/8/20. */ public class V2MainFragModel { private static final String KEY_V2EXBEAN = "KEY_V2EXBEAN"; private List<V2ExBean> mContentListMo...
stdnull/RunMap
v2api/src/main/java/com/stdnull/v2api/model/V2MainFragModel.java
Java
apache-2.0
1,194
/* * Solo - A small and beautiful blogging system written in Java. * Copyright (c) 2010-present, b3log.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the ...
b3log/b3log-solo
src/main/java/org/b3log/solo/model/Link.java
Java
apache-2.0
1,646
/** * 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...
logzio/camel
camel-core/src/test/java/org/apache/camel/management/ManagedCamelContextTest.java
Java
apache-2.0
12,715
/* * 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...
jprante/elasticsearch-server
server/src/main/java/org/elasticsearch/search/aggregations/metrics/stats/StatsAggregationBuilder.java
Java
apache-2.0
4,154
package jenkins.plugins.hygieia; public class DefaultHygieiaServiceStub extends DefaultHygieiaService { // private HttpClientStub httpClientStub; public DefaultHygieiaServiceStub(String host, String token, String name) { super(host, token, name); } // @Override // public HttpClientStub getH...
tabladrum/hygieia-jenkins-plugin
src/test/java/jenkins/plugins/hygieia/DefaultHygieiaServiceStub.java
Java
apache-2.0
499
package cn.aezo.demo.rabbitmq.c05_model_topic; import cn.aezo.demo.rabbitmq.util.RabbitmqU; import com.rabbitmq.client.AMQP; import com.rabbitmq.client.Channel; import com.rabbitmq.client.Connection; import com.rabbitmq.client.DefaultConsumer; import com.rabbitmq.client.Envelope; import java.io.IOException; /** * 测...
oldinaction/smjava
rabbitmq/src/main/java/cn/aezo/demo/rabbitmq/c05_model_topic/Consumer.java
Java
apache-2.0
2,828
/* * Copyright 2016 The Simple File Server 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 applicabl...
pitchpoint-solutions/sfs
sfs-server/src/test/java/org/sfs/integration/java/BaseTestVerticle.java
Java
apache-2.0
2,779
/* * Core Utils - Common Utilities. * Copyright 2015-2016 GRyCAP (Universitat Politecnica de Valencia) * * 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/...
grycap/coreutils
coreutils-common/src/main/java/es/upv/grycap/coreutils/common/CoreutilsLimits.java
Java
apache-2.0
1,687
/* * Copyright (c) 2016 Ni YueMing<niyueming@163.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 law ...
niyueming/NApply
library/src/main/java/net/nym/napply/library/cookie/store/HasCookieStore.java
Java
apache-2.0
754
/* * Copyright 2012-2017 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...
dagnir/aws-sdk-java
aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesisfirehose/model/transform/ProcessingConfigurationJsonUnmarshaller.java
Java
apache-2.0
3,132
/* * Copyright 2021 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-compute
google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRoutesCallableFactory.java
Java
apache-2.0
4,575
/* Copyright 2013 Semantic Discovery, Inc. (www.semanticdiscovery.com) This file is part of the Semantic Discovery Toolkit. The Semantic Discovery Toolkit 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 So...
KoehlerSB747/sd-tools
src/main/java/org/sd/token/TokenizerNormalizedString.java
Java
apache-2.0
22,049
package lodVader.spring.REST.models.degree; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import org.junit.Test; import com.mongodb.BasicDBList; import com.mongodb.BasicDBObject; import com.mongodb.DBCollection; import com.m...
AKSW/LODVader
src/main/java/lodVader/spring/REST/models/degree/IndegreeDatasetModel.java
Java
apache-2.0
5,358
package no.api.regurgitator; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import io.dropwizard.Configuration; import javax.validation.Valid; import javax.validation.constraints.NotNull; @JsonIgnoreProperties(ignoreUnknown = true) public class Reg...
amedia/regurgitator
regurgitator-service/src/main/java/no/api/regurgitator/RegurgitatorConfiguration.java
Java
apache-2.0
958
package org.minimalj.example.petclinic.frontend; import org.minimalj.backend.Backend; import org.minimalj.example.petclinic.model.Vet; import org.minimalj.frontend.Frontend; import org.minimalj.frontend.editor.Editor.NewObjectEditor; import org.minimalj.frontend.form.Form; public class AddVetEditor extends NewObjectE...
BrunoEberhard/minimal-j
example/007_PetClinic/src/org/minimalj/example/petclinic/frontend/AddVetEditor.java
Java
apache-2.0
710
/* * Copyright 2019 Frederic Thevenet * * 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...
fthevenet/binjr
binjr-core/src/main/java/eu/binjr/common/javafx/controls/SnapshotUtils.java
Java
apache-2.0
1,413
/** * Copyright (C) 2012 Ness Computing, 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 ...
NessComputing/components-ness-jersey
jersey/src/main/java/com/nesscomputing/jersey/types/DateParam.java
Java
apache-2.0
2,189
package hu.akarnokd.rxjava; import java.util.concurrent.TimeUnit; import rx.*; import rx.plugins.RxJavaHooks; import rx.schedulers.Schedulers; public class TrackSubscriber1 { @SuppressWarnings("unchecked") public static void main(String[] args) throws Exception { RxJavaHooks.setOnObservableStart((observ...
akarnokd/akarnokd-misc
src/main/java/hu/akarnokd/rxjava/TrackSubscriber1.java
Java
apache-2.0
1,774
package tk.zielony.carbonsamples.feature; import android.app.Activity; import android.os.Bundle; import tk.zielony.carbonsamples.R; /** * Created by Marcin on 2016-03-13. */ public class TextMarkerActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCre...
sevoan/Carbon
samples/src/main/java/tk/zielony/carbonsamples/feature/TextMarkerActivity.java
Java
apache-2.0
408
/* */ package com.hundsun.network.gates.houchao.biz.services.pojo; /* */ /* */ import org.springframework.context.annotation.Scope; /* */ import org.springframework.stereotype.Service; /* */ /* */ @Service("outFundTrans") /* */ @Scope("prototype") /* */ public class OutFundTrans extends...
hnccfr/ccfrweb
fundcore/src/com/hundsun/network/gates/houchao/biz/services/pojo/OutFundTrans.java
Java
apache-2.0
1,022
/* * Copyright 2002-2018 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 a...
spring-projects/spring-framework
spring-web/src/main/java/org/springframework/web/bind/support/ConfigurableWebBindingInitializer.java
Java
apache-2.0
7,350
/* * Copyright 2000-2013 JetBrains s.r.o. * Copyright 2014-2015 AS3Boyan * Copyright 2014-2014 Elias Ku * * 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/lice...
yanhick/intellij-haxe-nightly-builds
gen/com/intellij/plugins/haxe/lang/psi/impl/HaxeMultiplicativeExpressionImpl.java
Java
apache-2.0
2,047
package com.yuzhou.viewer.service; import android.content.Context; import android.os.AsyncTask; import android.util.Log; import android.widget.Toast; import com.google.common.eventbus.EventBus; import com.loopj.android.http.JsonHttpResponseHandler; import com.loopj.android.http.SyncHttpClient; import com.yuzhou.viewe...
yuzhou2/android_02_grid_image_search
app/src/main/java/com/yuzhou/viewer/service/GoogleApiTask.java
Java
apache-2.0
3,730
package com.rockhoppertech.music.fx.cmn; /* * #%L * rockymusic-fx * %% * Copyright (C) 1996 - 2013 Rockhopper Technologies * %% * 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 * * ...
genedelisa/rockymusic
rockymusic-fx/src/main/java/com/rockhoppertech/music/fx/cmn/GrandStaffApp.java
Java
apache-2.0
3,230
package org.tuxdevelop.spring.batch.lightmin.server.cluster.configuration; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.NestedConfigurationProperty; @Data @ConfigurationProperties(prefix = "spring.batch.lightmin.serv...
tuxdevelop/spring-batch-lightmin
spring-batch-lightmin-server/spring-batch-lightmin-server-cluster/spring-batch-lightmin-server-cluster-infinispan/src/main/java/org/tuxdevelop/spring/batch/lightmin/server/cluster/configuration/InfinispanServerClusterConfigurationProperties.java
Java
apache-2.0
765
package org.ngrinder.home.controller; import lombok.RequiredArgsConstructor; import org.ngrinder.common.constant.ControllerConstants; import org.ngrinder.home.model.PanelEntry; import org.ngrinder.home.service.HomeService; import org.ngrinder.infra.config.Config; import org.ngrinder.script.handler.ScriptHandler; impor...
naver/ngrinder
ngrinder-controller/src/main/java/org/ngrinder/home/controller/HomeApiController.java
Java
apache-2.0
4,677
package com.huawei.esdk.fusionmanager.local.model.system; import com.huawei.esdk.fusionmanager.local.model.FMSDKResponse; /** * 查询计划任务详情返回信息。 * <p> * @since eSDK Cloud V100R003C30 */ public class QueryScheduleTaskDetailResp extends FMSDKResponse { /** * 计划任务。 */ private ScheduleTask scheduleTask...
eSDK/esdk_cloud_fm_r3_native_java
source/FM/V1R5/esdk_fm_neadp_1.5_native_java/src/main/java/com/huawei/esdk/fusionmanager/local/model/system/QueryScheduleTaskDetailResp.java
Java
apache-2.0
571
//Copyright (c) 2014 by Disy Informationssysteme GmbH package net.disy.eenvplus.tfes.modules.sparql.expression; import com.hp.hpl.jena.sparql.expr.E_LogicalAnd; import com.hp.hpl.jena.sparql.expr.E_LogicalOr; import com.hp.hpl.jena.sparql.expr.Expr; import com.hp.hpl.jena.sparql.syntax.ElementFilter; // NOT_PUBLISHED...
eENVplus/tf-exploitation-server
TF_Exploitation_Server_modules/src/main/java/net/disy/eenvplus/tfes/modules/sparql/expression/SparqlExpressionBuilder.java
Java
apache-2.0
1,223
package com.sectong.util; import org.apache.log4j.Logger; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.net.URL; import java.net.URLConnection; public class HttpUtil { private static Logger logger = Logger.getLogger(Ht...
xaioyi/yidongyiljwj
src/main/java/com/sectong/util/HttpUtil.java
Java
apache-2.0
1,988
/* * Copyright 2015 Matthew Timmermans * * 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 ...
6thsolution/ApexNLP
dfalex/src/main/java/com/nobigsoftware/dfalex/DfaFromNfa.java
Java
apache-2.0
9,517
package com.emc.ecs.servicebroker.repository; import com.emc.ecs.servicebroker.exception.EcsManagementClientException; import com.emc.ecs.servicebroker.service.s3.S3Service; import com.emc.ecs.servicebroker.model.Constants; import com.emc.object.s3.bean.GetObjectResult; import com.emc.object.s3.bean.ListObjectsResult;...
emccode/ecs-cf-service-broker
src/main/java/com/emc/ecs/servicebroker/repository/ServiceInstanceBindingRepository.java
Java
apache-2.0
6,740
/******************************************************************************* * Copyright (C) 2016 Kwaku Twumasi-Afriyie <kwaku.twumasi@quakearts.com>. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies...
kwakutwumasi/Quakearts-JSF-Webtools
qa-boot/src/main/java/com/quakearts/webapp/facelets/bootstrap/renderers/BootTableRenderer.java
Java
apache-2.0
15,874
package info.pupcode.model.repo.test; import org.junit.Before; import org.springframework.context.support.ClassPathXmlApplicationContext; /** * Created by fabientronche1 on 08.11.15. */ public class AbstractConcordionFixture { protected SpringConfigTest springConfigTest; protected ClassPathXmlApplicationCo...
PUPInitiative/pup-code-poc
pup-code-domain/src/test/java/info/pupcode/model/repo/test/AbstractConcordionFixture.java
Java
apache-2.0
658
package pro.luxun.luxunanimation.presenter.adapter; import android.support.annotation.UiThread; import android.support.v7.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; import java.util.ArrayList; import java.util.List; /** * Created by wufeiyang on 16/5/7. */ public abstract class B...
ayaseruri/luxunPro
app/src/main/java/pro/luxun/luxunanimation/presenter/adapter/BaseRecyclerAdapter.java
Java
apache-2.0
1,444
package cn.xmut.experiment.service.impl; import java.util.List; import org.apache.commons.fileupload.FileItem; import cn.xmut.experiment.dao.IExperimentDao; import cn.xmut.experiment.dao.impl.jdbc.ExperimentDaoImpl; import cn.xmut.experiment.domain.Experiment; import cn.xmut.experiment.domain.ShowExperiment...
bingoogolapple/J2EENote
experiment/src/cn/xmut/experiment/service/impl/ExperimentServiceImpl.java
Java
apache-2.0
1,988
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j 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 Foundatio...
HuangLS/neo4j
community/primitive-collections/src/main/java/org/neo4j/collection/primitive/PrimitiveLongIntVisitor.java
Java
apache-2.0
1,354
package org.anyline.entity; import com.fasterxml.jackson.databind.JsonNode; import org.anyline.util.*; import org.anyline.util.regular.Regular; import org.anyline.util.regular.RegularUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.Serializable; import java.math.BigDecimal; import java.ut...
anylineorg/anyline
anyline-core/src/main/java/org/anyline/entity/DataSet.java
Java
apache-2.0
115,477
package ua.job4j.loop; /** * Class Класс для вычисления факториала заданного числа. * @author vfrundin * @since 05.11.2017 * @version 1.0 */ public class Factorial { /** * Метод должен вычислять факториал поданного на вход числа. * @param n Число для которого нужно определить факториал. * @ret...
Krok3/junior
chapter_001/src/main/java/ua/job4j/loop/Factorial.java
Java
apache-2.0
728
/* Copyright (C) 2013-2022 TU Dortmund * This file is part of AutomataLib, http://www.automatalib.net/. * * 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/li...
LearnLib/automatalib
core/src/main/java/net/automatalib/graphs/base/compact/CompactBidiGraph.java
Java
apache-2.0
1,632
package com.github.binarywang.wxpay.service.impl; import com.github.binarywang.wxpay.bean.request.*; import com.github.binarywang.wxpay.bean.result.*; import com.github.binarywang.wxpay.exception.WxPayException; import com.github.binarywang.wxpay.service.WxPayService; import com.github.binarywang.wxpay.testbase.ApiTes...
Wechat-Group/WxJava
weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/WxEntrustPapServiceTest.java
Java
apache-2.0
7,346
package org.clinical3PO.common.security; import java.util.Collection; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.authentication.AuthenticationProvider; import org.springframework.security.authentication.BadCredentialsException; import org.springframework.securit...
Clinical3PO/Platform
dev/clinical3PO/app/src/main/java/org/clinical3PO/common/security/CustomAuthenticationProvider.java
Java
apache-2.0
1,572
package com.example.mywechat.utils; import java.util.ArrayList; import java.util.List; import android.app.Activity; /** * ActivityCollector ÀàÓÃÓÚ¹ÜÀíËùÓеĻ * @author dzhiqin * */ public class ActivityCollector { public static List<Activity> activities=new ArrayList<Activity>(); public static void addActiv...
dzhiqin/MyWeChat
src/com/example/mywechat/utils/ActivityCollector.java
Java
apache-2.0
697
/* * The MIT License (MIT) * * Copyright (c) 2015 Cleidimar Viana * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * ...
cleidimarviana/Tabs-Material
app/src/main/java/com/seamusdawkins/tablayout/fragments/FirstFragment.java
Java
apache-2.0
1,928
/** * 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...
prateekbansal/apache-gora-0.4
gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
Java
apache-2.0
17,283
/* * 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 ...
DavidHerzogTU-Berlin/cassandraToRun
src/java/org/apache/cassandra/io/sstable/SSTableScanner.java
Java
apache-2.0
8,241