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 br.com.zalem.ymir.client.android.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.View;
import android.widget.FrameLayout;
import br.com.zalem.ymir.client.android.commons.R;
/**
* SquareLayout é uma extensão de {@link androi... | ZalemSoftware/Ymir | ymir.client-android.commons/src/main/java/br/com/zalem/ymir/client/android/widget/SquareLayout.java | Java | lgpl-3.0 | 4,053 |
/*
* Copyright (C) 2010 Teleal GmbH, Switzerland
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version.
*
* Th... | HisenseUSA/Cling-1.0.5 | support/src/main/java/org/teleal/cling/support/igd/callback/GetStatusInfo.java | Java | lgpl-3.0 | 2,339 |
/* $Id: PtbguiMain.java 446504 2014-09-16 14:46:53Z gouriano $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government ... | kyungtaekLIM/PSI-BLASTexB | src/ncbi-blast-2.5.0+/c++/src/build-system/project_tree_builder_gui/src/ptbgui/PtbguiMain.java | Java | lgpl-3.0 | 94,823 |
package be.bendem.bukkit.orebroadcast.updater;
import be.bendem.bukkit.orebroadcast.OreBroadcast;
import net.gravitydevelopment.updater.Updater;
import org.bukkit.command.CommandSender;
import org.bukkit.scheduler.BukkitRunnable;
import java.io.File;
/**
* @author bendem
*/
public class OreBroadcastUpdater {
... | bendem/OreBroadcast | src/main/java/be/bendem/bukkit/orebroadcast/updater/OreBroadcastUpdater.java | Java | lgpl-3.0 | 3,000 |
/*******************************************************************************
* Copyright (C) 2009-2020 Human Media Interaction, University of Twente, the Netherlands
*
* This file is part of the Articulated Social Agents Platform BML realizer (ASAPRealizer).
*
* ASAPRealizer is free software: you can redistrib... | ArticulatedSocialAgentsPlatform/AsapRealizer | Engines/AsapAudioEngine/src/asap/audioengine/TimedAbstractAudioUnit.java | Java | lgpl-3.0 | 6,784 |
/*******************************************************************************
* Copyright (C) 2009-2020 Human Media Interaction, University of Twente, the Netherlands
*
* This file is part of the Articulated Social Agents Platform BML realizer (ASAPRealizer).
*
* ASAPRealizer is free software: you can redistrib... | ArticulatedSocialAgentsPlatform/AsapRealizer | Environments/AsapRealizerEmbodiments/src/asap/realizerembodiments/SchedulingClockEmbodiment.java | Java | lgpl-3.0 | 1,270 |
/*
* This file is protected by Copyright. Please refer to the COPYRIGHT file
* distributed with this source distribution.
*
* This file is part of REDHAWK bulkioInterfaces.
*
* REDHAWK bulkioInterfaces is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public L... | RedhawkSDR/framework-bulkioInterfaces | libsrc/java/src/bulkio/InUInt16Port.java | Java | lgpl-3.0 | 14,812 |
/*
* Copyright (C) 2015 higherfrequencytrading.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License.
*
* This program is distr... | lburgazzoli/Chronicle-Engine | src/test/java/net/openhft/chronicle/engine/ChassisRFCTest.java | Java | lgpl-3.0 | 9,546 |
/******************************************************************************
* Copyright (C) 2010-2016 CERN. All rights not expressly granted are reserved.
*
* This file is part of the CERN Control and Monitoring Platform 'C2MON'.
* C2MON is free software: you can redistribute it and/or modify it under the
* t... | c2mon/c2mon | c2mon-shared/c2mon-shared-common/src/main/java/cern/c2mon/shared/common/datatag/address/OPCDataHardwareAddress.java | Java | lgpl-3.0 | 1,209 |
package myokun.mods.elex.core;
import net.minecraftforge.common.ForgeDirection;
/**
* Elemental Experimentation
*
* RenderUtilities
*
* @author Myo-kun
* @credit BuildCraft team
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*/
public class RenderUtilities {
public stati... | myoKun345/ElementalExperimentation | elex_common/myokun/mods/elex/core/RenderUtilities.java | Java | lgpl-3.0 | 832 |
package org.sahsu.rif.services.graphics;
import java.io.BufferedReader;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Set;
import org.geotools.feature.DefaultFeatureCollection;
import org.json.JSONArray;
import org.json.JSONObject;
import org.sahsu.rif.generic.fileformats.AppFile;
import org.s... | smallAreaHealthStatisticsUnit/rapidInquiryFacility | rifServices/src/main/java/org/sahsu/rif/services/graphics/RIFMapsParameters.java | Java | lgpl-3.0 | 16,616 |
/*
* This file is part of The Memory Tree/ProcessingParis project.
*
* Copyright 2010 Karsten Schmidt (PostSpectacular Ltd.)
*
* MemoryTree is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either versi... | learn-postspectacular/processing-paris-2010 | src/memorytree/day1/ContentLoader.java | Java | lgpl-3.0 | 2,325 |
/*
* Copyright (C) 2005-2015 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... | dnacreative/records-management | rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/classification/SecurityClearanceServiceImpl.java | Java | lgpl-3.0 | 10,710 |
/**
* Copyright (C) 2013 Inera AB (http://www.inera.se)
*
* This file is part of Inera Axel (http://code.google.com/p/inera-axel).
*
* Inera Axel 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, e... | Predictly/axel | shs/shs-broker/shs-agreement-mongodb/src/test/java/se/inera/axel/shs/broker/agreement/mongo/MongoAgreementServiceIT.java | Java | lgpl-3.0 | 2,575 |
package com.mxt.anitrend.model.entity.anilist.meta;
import android.os.Parcel;
import android.os.Parcelable;
@Deprecated
public class FormatStats implements Parcelable {
private String format;
private int amount;
protected FormatStats(Parcel in) {
format = in.readString();
amount = in.rea... | wax911/AniTrendApp | app/src/main/java/com/mxt/anitrend/model/entity/anilist/meta/FormatStats.java | Java | lgpl-3.0 | 1,012 |
/**
*
*/
package com.sporniket.libre.game.input;
/**
* {@link KeyboardEvent} for a physical event (physical key press/release).
*
* @author dsporn
*
*/
public class KeyboardEventPhysical extends KeyboardEvent
{
final Key myKey;
public KeyboardEventPhysical(InputTranslator source, Key key)
{
super(source)... | sporniket/game | core/src/main/java/com/sporniket/libre/game/input/KeyboardEventPhysical.java | Java | lgpl-3.0 | 386 |
package org.javacord.api.listener.server;
import org.javacord.api.event.server.ServerChangeRulesChannelEvent;
import org.javacord.api.listener.GloballyAttachableListener;
import org.javacord.api.listener.ObjectAttachableListener;
/**
* This listener listens to server rules channel changes.
*/
@FunctionalInterface
p... | BtoBastian/Javacord | javacord-api/src/main/java/org/javacord/api/listener/server/ServerChangeRulesChannelListener.java | Java | lgpl-3.0 | 671 |
/***************************************************
*
* cismet GmbH, Saarbruecken, Germany
*
* ... and it just works.
*
****************************************************/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="ht... | cismet/cids-custom-wrrl-db-mv | src/main/java/de/cismet/cids/gaeb/xsd/types/Tgspan.java | Java | lgpl-3.0 | 2,770 |
package eu.stamp_project.dspot.common.configuration.options;
import eu.stamp_project.dspot.common.automaticbuilder.AutomaticBuilder;
import eu.stamp_project.dspot.common.automaticbuilder.gradle.GradleAutomaticBuilder;
import eu.stamp_project.dspot.common.automaticbuilder.maven.MavenAutomaticBuilder;
import eu.stamp_pr... | STAMP-project/dspot | dspot/src/main/java/eu/stamp_project/dspot/common/configuration/options/AutomaticBuilderEnum.java | Java | lgpl-3.0 | 951 |
/*
Copyright 2012 Daniel Gonzalez Peña, Osvaldo Graña
This file is part of the bicycle Project.
bicycle Project is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your opti... | sing-group/bicycle | src/main/java/es/cnio/bioinfo/bicycle/gatk/ListerFilter.java | Java | lgpl-3.0 | 15,483 |
/*******************************************************************************
* Copyright (C) 2009-2020 Human Media Interaction, University of Twente, the Netherlands
*
* This file is part of the Articulated Social Agents Platform BML realizer (ASAPRealizer).
*
* ASAPRealizer is free software: you can redi... | ArticulatedSocialAgentsPlatform/HmiCore | HmiNeurophysics/src/hmi/neurophysics/EyeSaturation.java | Java | lgpl-3.0 | 3,556 |
package org.csiro.igsn.entity.postgres2_0;
// Generated 27/10/2015 10:58:13 AM by Hibernate Tools 4.3.1
import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import ja... | AuScope/IGSN | src/main/java/org/csiro/igsn/entity/postgres2_0/Sample.java | Java | lgpl-3.0 | 13,851 |
package me.ichun.mods.morph.client.entity;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.vertex.IVertexBuilder;
import me.ichun.mods.ichunutil.client.render.RenderHelper;
import me.ichun.mods.ichunutil.client.tracker.ClientEntityTracker;
import me.ichun.mods.ichunutil.common.entity.util.Entit... | iChun/Morph | src/main/java/me/ichun/mods/morph/client/entity/EntityAcquisition.java | Java | lgpl-3.0 | 21,684 |
package com.domeastudio.mappingo.servers.util.mpsecurity;
import com.domeastudio.mappingo.servers.util.mpsecurity.base.Byte2StringHelper;
import java.security.MessageDigest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class MD5SHAHelper {
private static Logger logger = LoggerFactory.getLogge... | DomeA/Nebula | code/Leo/mappingo/servers/util/mp-security/src/main/java/com/domeastudio/mappingo/servers/util/mpsecurity/MD5SHAHelper.java | Java | lgpl-3.0 | 2,048 |
package micdoodle8.mods.galacticraft.mars.world.gen.dungeon;
import java.util.ArrayList;
import java.util.Random;
import micdoodle8.mods.galacticraft.core.world.gen.dungeon.GCCoreDungeonBoundingBox;
import micdoodle8.mods.galacticraft.core.world.gen.dungeon.GCCoreDungeonRoom;
import micdoodle8.mods.galacticraft.core.... | hunator/Galacticraft | common/micdoodle8/mods/galacticraft/mars/world/gen/dungeon/GCMarsRoomChests.java | Java | lgpl-3.0 | 4,033 |
package com.ruthless.crezyscientist.entity;
import net.minecraft.entity.monster.EntityMob;
import net.minecraft.world.World;
public class MonsterBase extends EntityMob
{
public MonsterBase(World worldIn)
{
super(worldIn);
}
} | Ruthlessbug/CrezyScientist | src/main/java/com/ruthless/crezyscientist/entity/MonsterBase.java | Java | lgpl-3.0 | 233 |
package org.jumbune.common.beans;
/***
* constants for hadoop specific versions.
*/
public enum SupportedHadoopDistributions {
/** The default hadoop version for apache 1.2.1 non-yarn */
HADOOP_NON_YARN("Hadoop 1.2"),
/** The HADOOP 0_20_02 */
HADOOP_MAPR("Hadoop 1.0.3"),
/** The HADOOP 2.4.1 */
HADOOP_... | impetus-opensource/jumbune | common/src/main/java/org/jumbune/common/beans/SupportedHadoopDistributions.java | Java | lgpl-3.0 | 1,366 |
/*
* SwitchTest.java
*
* Copyright (c) 2008-2010 CSIRO, Delft University of Technology.
*
* This file is part of Darjeeling.
*
* Darjeeling 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, ei... | RWTH-OS/ostfriesentee-examples | app/testsuite/java/testvm/tests/SwitchTest.java | Java | lgpl-3.0 | 2,043 |
/**
* No8 Copyright (C) 2015 no8.io
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is dist... | daniloqueiroz/no8 | src/main/java/no8/application/ApplicationException.java | Java | lgpl-3.0 | 1,336 |
package org.javlo.module.ticket;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Set;
public interface Ticket {
public static final String STATUS_NEW = "new";
public static final String STATUS_WORKING = "working";
public static final String STATUS_ONHOLD = "on... | Javlo/javlo | src/main/java/org/javlo/module/ticket/Ticket.java | Java | lgpl-3.0 | 2,509 |
/*
* SonarQube
* Copyright (C) 2009-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, o... | Godin/sonar | server/sonar-server/src/main/java/org/sonar/server/qualityprofile/QProfileComparison.java | Java | lgpl-3.0 | 5,994 |
/*******************************************************************************
* Copyright (C) 2013 Open Universiteit Nederland
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, e... | WELTEN/dojo-ibl | src/main/java/org/celstec/arlearn2/util/GamesCache.java | Java | lgpl-3.0 | 2,085 |
package com.topcat.npclib.pathing;
public interface PathReturn {
public void run(NPCPath path);
} | duckdoom5/RpgEssentials | RpgEssentials/src/com/topcat/npclib/pathing/PathReturn.java | Java | lgpl-3.0 | 104 |
package ajiwo.xlfparser;
import java.util.Map;
public class XlfMedia {
public String id;
public String type;
public int duration;
public String render;
public Map<String, String> options;
public Map<String, String> raws;
}
| ajiwo/xlfparser-jni | java/ajiwo/xlfparser/XlfMedia.java | Java | lgpl-3.0 | 249 |
package com.minnymin.zephyr.bukkit.util.command;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.METHOD)
@Retention(value = RetentionPolicy.RUNTIME)
public @interface Cmd {
public Str... | minnymin3/Zephyr | Zephyr-Bukkit/src/main/java/com/minnymin/zephyr/bukkit/util/command/Cmd.java | Java | lgpl-3.0 | 437 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | teryk/sonarqube | sonar-plugin-api/src/test/java/org/sonar/api/config/CategoryTest.java | Java | lgpl-3.0 | 1,690 |
package nif.niobject.bs;
import java.io.IOException;
import java.nio.ByteBuffer;
import nif.ByteConvert;
import nif.NifVer;
import nif.niobject.NiExtraData;
import nif.tools.MiniFloat;
public class BSPositionData extends NiExtraData
{
/*
<niobject name="BSPositionData" inherit="NiExtraData">
F... | philjord/jnif | jnif/src/nif/niobject/bs/BSPositionData.java | Java | lgpl-3.0 | 893 |
package me.ichun.mods.hats.common.hats;
import me.ichun.mods.hats.common.Hats;
import java.util.ArrayList;
import java.util.Locale;
import java.util.Random;
public class HatPool
{
public final ArrayList<HatInfo> hatsInPool = new ArrayList<>();
private final Random rand = new Random(); //only used for getting... | iChun/Hats | src/main/java/me/ichun/mods/hats/common/hats/HatPool.java | Java | lgpl-3.0 | 1,039 |
// Written by Jürgen Moßgraber - mossgrabers.de
// (c) 2017-2022
// Licensed under LGPLv3 - http://www.gnu.org/licenses/lgpl-3.0.txt
package de.mossgrabers.framework.command.trigger.track;
import de.mossgrabers.framework.command.core.AbstractTriggerCommand;
import de.mossgrabers.framework.configuration.Configu... | git-moss/DrivenByMoss | src/main/java/de/mossgrabers/framework/command/trigger/track/ToggleVUCommand.java | Java | lgpl-3.0 | 1,354 |
package com.sones;
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;
import com.microsoft.schemas._2003._10.serialization.arrays.ArrayOfst... | sones/sones-RemoteTagExample | java/RemoteTagExample/src/com/sones/VertexTypeService.java | Java | lgpl-3.0 | 55,607 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2013 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | xinghuangxu/xinghuangxu.sonarqube | sonar-batch/src/main/java/org/sonar/batch/issue/ignore/pattern/PatternMatcher.java | Java | lgpl-3.0 | 2,354 |
/*
* Copyright (c) 2014 Jared Gonzalez
*
* 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 to use, copy, modify, merge, p... | rilian-la-te/vala-panel-appmenu | subprojects/jayatana/java/core/Feature.java | Java | lgpl-3.0 | 1,380 |
package net.anthavio.wotan.client;
import java.io.Closeable;
import java.lang.reflect.Array;
import net.anthavio.cache.CacheBase;
import net.anthavio.httl.HttlBuilderVisitor;
import net.anthavio.httl.HttlParameterSetter.ConfigurableParamSetter;
import net.anthavio.httl.HttlRequestBuilders.HttlRequestBuilder;
import n... | anthavio/wotan | wotan-client/src/main/java/net/anthavio/wotan/client/WotanClient.java | Java | lgpl-3.0 | 6,153 |
/*
* Copyright 2005,2009 Ivan SZKIBA
*
* 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... | bigorc/orchestra | src/main/java/org/ini4j/Ini.java | Java | lgpl-3.0 | 5,718 |
package com.jeroensteenbeeke.andalite.java.transformation.template;
import com.google.common.collect.ImmutableList;
import com.jeroensteenbeeke.andalite.java.transformation.EnumScopeOperationBuilder;
import com.jeroensteenbeeke.andalite.java.transformation.HasEnumConstantBuilder;
import com.jeroensteenbeeke.andalite.j... | jsteenbeeke/andalite | java/src/main/java/com/jeroensteenbeeke/andalite/java/transformation/template/EnumConstantTemplate.java | Java | lgpl-3.0 | 2,258 |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2013 Jaspersoft Corporation. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
... | sikachu/jasperreports | src/net/sf/jasperreports/data/cache/NumberToBigIntegerOffsetTransformer.java | Java | lgpl-3.0 | 1,844 |
/*
* This is free and unencumbered software released into the public domain.
*/
package com.mycompany;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.request.http.handler.RedirectRequestHandler;
import javax.servlet.http.HttpServletRequest;
import java.security.Principal;
/**
* @autho... | shawnmckinney/fortressdemo1 | src/main/java/com/mycompany/LaunchPage.java | Java | unlicense | 1,058 |
package com.pmi.restlet.ext.xstream.impl;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import com.thoughtworks.xstream.annotations.XStreamAlias... | devacfr/spring-restlet | restlet.ext.xstream/src/test/java/com/pmi/restlet/ext/xstream/impl/AnnotedCustomer.java | Java | unlicense | 2,481 |
package net.hetimatan.net.http;
import java.io.IOException;
import net.hetimatan.io.file.KyoroFile;
import net.hetimatan.io.filen.ByteKyoroFile;
import net.hetimatan.util.event.net.io.KyoroSocket;
import net.hetimatan.util.http.HttpRequestHeader;
import net.hetimatan.util.http.HttpRequest;
import net.het... | kyorohiro/HetimaUtil | test_util/net/hetimatan/net/http/HttpServer3xx.java | Java | unlicense | 2,366 |
package decaf.backend;
import java.util.HashSet;
import java.util.Random;
import decaf.Driver;
import decaf.dataflow.BasicBlock;
import decaf.machdesc.Register;
import decaf.tac.Tac;
import decaf.tac.Temp;
public class RegisterAllocator {
private BasicBlock bb;
private MipsFrameManager frameManager;... | thucoldwind/ucore_mips | Decaf/src/decaf/backend/RegisterAllocator.java | Java | unlicense | 5,291 |
package com.dis.model;
import com.dis.data.DB2ConnectionManager;
import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.HashMap;
import java.util.Map;
public class References {
public Map<Integer, Article> article... | caleron/dis2017 | src/com/dis/model/References.java | Java | unlicense | 5,018 |
package my.cardgame.main;
public class Run {
public static void main(String[] args) {
Login.login();
}
}
| Hajdulord/My.CardGame.Project-akci--reakci- | Card-Game.Main/src/my/cardgame/main/Run.java | Java | unlicense | 123 |
package ch.santosalves.ssme.states;
public class GenericState implements IState{
private int id;
private String name;
public GenericState(int id, String name) {
this.id = id;
this.name = name;
}
@Override
public int getId() {
return this.id;
}
@Override
public String getName() {
return this.name;... | sergio-alves/SSME | src/main/java/ch/santosalves/ssme/states/GenericState.java | Java | unlicense | 509 |
package org.mies.censo.pojo;
import java.io.Serializable;
public class ProvinciaMiesBean implements Serializable{
private static final long serialVersionUID = -5912752878210288198L;
private int idProvincia;
private String nombre;
private PaisMiesBean pais;
private long vinculados;
private long aspirantes... | fjamores3/appMies | src/org/mies/censo/pojo/ProvinciaMiesBean.java | Java | unlicense | 1,335 |
package com.algotrado.mt4.impl;
import java.io.Serializable;
import com.algotrado.mt4.tal.strategy.check.pattern.SingleCandleBarData;
public abstract class Pattern implements Serializable {
protected int timeFrame;
public Pattern () {
timeFrame = 15;
}
public abstract boolean isBullishReversalPattern(Singl... | AlgoAnalysis/Algo | MT4Processor/src/com/algotrado/mt4/impl/Pattern.java | Java | unlicense | 1,981 |
public class DiceDriver {
public static void main(String args[])
{
PairOfDice dice = new PairOfDice();
for (int i=0; i<5; i++)
{
System.out.println(dice.toString());
System.out.println("Dice total: "+ dice.getValue());
if (dice.hasAOne()) System.out.println("This roll has a one");
if (dice.isSna... | GHJGHJJHG/CTYJava | Pair of Dice/src/DiceDriver.java | Java | unlicense | 462 |
/*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jurisdictio... | sebhoss/annotated-contracts | contract-frameworks/contract-spring/contract-spring-defaults/src/main/java/com/github/sebhoss/contract/verifier/impl/ErrorMessageConfiguration.java | Java | unlicense | 1,944 |
package com.smartgwt.mobile.client.types;
public enum DateItemSelectorFormat implements ValueEnum {
DAY_MONTH_YEAR("DMY"),
MONTH_DAY_YEAR("MDY"),
YEAR_MONTH_DAY("YMD"),
DAY_MONTH("DM"),
MONTH_DAY("MD"),
YEAR_MONTH("YM"),
MONTH_YEAR("MY");
private final String value;
private DateIt... | will-gilbert/SmartGWT-Mobile | mobile/src/main/java/com/smartgwt/mobile/client/types/DateItemSelectorFormat.java | Java | unlicense | 460 |
package com.ushaqi.zhuishushenqi.model;
public class NotificationRoot extends Root
{
private NotificationItem[] notifications = new NotificationItem[0];
public NotificationItem[] getNotifications()
{
return this.notifications;
}
public void setNotifications(NotificationItem[] paramArrayOfNotificationIt... | clilystudio/NetBook | allsrc/com/ushaqi/zhuishushenqi/model/NotificationRoot.java | Java | unlicense | 577 |
package com.temi4hik.interactivestory.model;
/**
* Created by Artem on 19.04.15.
*/
public class Choice {
private String mText;
private int mNextPage;
public Choice(String text, int nextPage) {
mText = text;
mNextPage = nextPage;
}
public String getText() {
return mText;... | temi4hik/StoryApp | app/src/main/java/com/temi4hik/interactivestory/model/Choice.java | Java | unlicense | 393 |
package gov.usgs.wma.wqp.validation;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import javax.validation.ConstraintValidatorContext;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.mockito.Mock;
import o... | mbucknell/WQP-WQX-Services | src/test/java/gov/usgs/wma/wqp/validation/BBoxValidatorTest.java | Java | unlicense | 2,865 |
package com.charlesmadere.hummingbird.views;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.View;
import com.charlesmadere.hummingbird.R;
public final class RatioViewHelper {
private static final int FIXED_SIDE_HEIGHT = 0;
private... | charlesmadere/that-lil-hummingbird | project/app/src/main/java/com/charlesmadere/hummingbird/views/RatioViewHelper.java | Java | unlicense | 3,935 |
/*
* NOTE: This copyright does *not* cover user programs that use HQ
* program services by normal system calls through the application
* program interfaces provided as part of the Hyperic Plug-in Development
* Kit or the Hyperic Client Development Kit - this is merely considered
* normal use of the program, and do... | cc14514/hq6 | hq-web/src/main/java/org/hyperic/hq/ui/util/minitab/SubMiniTab.java | Java | unlicense | 2,754 |
package io.github.jonestimd.subset;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/**
* This class finds subsets of a collection that match some criteria. The criteria are specified by an implementation
* of {@link SubsetPredicate}. The {@code static} factory methods can be used ... | jonestimd/subsets | src/main/java/io/github/jonestimd/subset/SubsetSearch.java | Java | unlicense | 4,137 |
package Monotone_Increasing_Digits;
import java.util.ArrayList;
import java.util.List;
public class Solution {
public int monotoneIncreasingDigits(int N) {
/**
* Greedy solution
* If N in [0, 9]: return N
* Get every digits of N, for digits[i]:
* If digits[i] > digits[i... | lizij/Leetcode | src/Monotone_Increasing_Digits/Solution.java | Java | unlicense | 2,455 |
package eu.goodlike.libraries.jooq;
import eu.goodlike.neat.Null;
import org.jooq.*;
import java.util.Collection;
import java.util.function.Supplier;
public final class CommandsManyImpl<R extends Record, Left, Right>
extends SQL implements CommandsMany<Left, Right> {
@Override
public void setUnivers... | TheGoodlike13/goodlike-utils | src/main/java/eu/goodlike/libraries/jooq/CommandsManyImpl.java | Java | unlicense | 2,686 |
/*******************************************************************************
* Copyright (c) 2013, Daniel Murphy
* 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 ... | RedTriplane/RedTriplane | r3-box2d-jf/src/org/jbox2d/f/collision/Manifold.java | Java | unlicense | 4,119 |
package br.ufsc.ine.leb.projetos.estoria;
import java.util.LinkedList;
import java.util.List;
import org.junit.runner.Description;
import org.junit.runner.Result;
import org.junit.runner.notification.Failure;
import org.junit.runner.notification.RunListener;
public final class EspiaoDeEscolta extends RunListener {
... | lucasPereira/estoria | java/br/ufsc/ine/leb/projetos/estoria/EspiaoDeEscolta.java | Java | unlicense | 2,061 |
/*******************************************************************************
* Copyright 2014 Katja Hahn
*
* 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.o... | katjahahn/PortEx | src/main/java/com/github/katjahahn/parser/sections/debug/package-info.java | Java | apache-2.0 | 863 |
/*
* Copyright 2002-2020 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-test/src/test/java/org/springframework/test/web/servlet/htmlunit/MockMvcWebClientBuilderTests.java | Java | apache-2.0 | 6,242 |
package com.csc.web.tags;
import java.io.IOException;
import java.util.Hashtable;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.PageContext;
import javax.servlet.jsp.tagext.TagSupport;
/**
* @author Hector
* @date Aug 8, 2011
*/
//com.csc.turtleblog.tags.HistoryTagSupport
public cla... | hectorlarios/turtle-blog | src/com/csc/web/tags/CscGet.java | Java | apache-2.0 | 3,864 |
/*
* Copyright (C) 2017-2019 Dremio 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 applicable l... | dremio/dremio-oss | sabot/kernel/src/main/java/com/dremio/exec/planner/logical/EnumerableRule.java | Java | apache-2.0 | 1,448 |
/*
* 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 ... | DariusX/camel | components/camel-coap/src/main/java/org/apache/camel/coap/CoAPEndpoint.java | Java | apache-2.0 | 16,113 |
/*
Copyright (c) 2008 Health Market Science, 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 in w... | jahlborn/jackcess | src/main/java/com/healthmarketscience/jackcess/impl/query/UnionQueryImpl.java | Java | apache-2.0 | 2,428 |
/*
* 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 ... | b-slim/hive | ql/src/java/org/apache/hadoop/hive/ql/ddl/table/storage/AlterTableUnarchiveDesc.java | Java | apache-2.0 | 1,877 |
/*
* 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 ... | citlab/vs.msc.ws14 | flink-0-7-custom/flink-compiler/src/main/java/org/apache/flink/compiler/dag/CollectorMapNode.java | Java | apache-2.0 | 1,960 |
/*
* 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
*
* Un... | delebash/orientdb-parent | tests/src/test/java/com/orientechnologies/orient/test/java/collection/HashMapSpeedTest.java | Java | apache-2.0 | 1,180 |
/*
* Copyright 2017 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 ... | firebase/firebase-admin-java | src/main/java/com/google/firebase/FirebaseApp.java | Java | apache-2.0 | 20,850 |
/*
* Copyright 2010-2021 James Pether Sörling
*
* 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 o... | Hack23/cia | service.impl/src/test/java/com/hack23/cia/service/impl/AbstractServiceFunctionalIntegrationTest.java | Java | apache-2.0 | 10,565 |
package com.sequenceiq.cloudbreak.shell.converter;
import java.util.List;
import java.util.Map;
import javax.inject.Inject;
import org.springframework.shell.core.Completion;
import org.springframework.shell.core.MethodTarget;
import com.sequenceiq.cloudbreak.client.CloudbreakClient;
import com.sequenceiq.cloudbreak... | sequenceiq/cloudbreak | shell/src/main/java/com/sequenceiq/cloudbreak/shell/converter/NetworkNameConverter.java | Java | apache-2.0 | 1,296 |
package ru.stqa.pft.mantis.appmanager;
import org.apache.commons.net.ftp.FTPClient;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
public class FtpHelper {
private final ApplicationManager app;
private FTPClient ftp;
public FtpHelper(ApplicationManager app) {
t... | NatalyaP161/java_panfilova | mantis-tests/src/test/java/ru/stqa/pft/mantis/appmanager/FtpHelper.java | Java | apache-2.0 | 1,094 |
/**
* Copyright (c) 2015 Intel 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 applicable law or ... | trustedanalytics/data-acquisition | src/main/java/org/trustedanalytics/das/service/BadRequestException.java | Java | apache-2.0 | 781 |
package com.effectivejava.io;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
public class FillStrings {
/**
* @param args
*/
... | alexhilton/EffectiveJava | src/com/effectivejava/io/FillStrings.java | Java | apache-2.0 | 1,110 |
package com.rey.material.widget;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.content.res.ColorStateList;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import... | geliangdashen/Material | lib/src/main/java/com/rey/material/widget/SnackBar.java | Java | apache-2.0 | 20,428 |
/*
* Copyright 2015-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... | ilayaperumalg/spring-cloud-stream | spring-cloud-stream/src/main/java/org/springframework/cloud/stream/config/BindingProperties.java | Java | apache-2.0 | 4,364 |
/*
* 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-compute | proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceCdnPolicy.java | Java | apache-2.0 | 153,820 |
/*
* Copyright (C) 2009-2018 Lightbend Inc. <https://www.lightbend.com>
*/
package javaguide.http.routing.controllers;
import java.util.Optional;
import play.mvc.Controller;
import play.mvc.Result;
public class Api extends Controller {
public Result list(String version) {
return ok("version " + versio... | Shenker93/playframework | documentation/manual/working/javaGuide/main/http/code/javaguide/http/routing/controllers/Api.java | Java | apache-2.0 | 511 |
/*
* Copyright 2009-2016 University of Hildesheim, Software Systems Engineering
*
* 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... | QualiMaster/Infrastructure | AdaptationLayer/src/eu/qualimaster/adaptation/internal/IAdaptationLogger.java | Java | apache-2.0 | 3,887 |
/*
* Created by Orchextra
*
* Copyright (C) 2016 Gigigo Mobile Services SL
*
* 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... | fSergio101/orchextra-android-sdk | orchextrasdk/src/main/java/com/gigigo/orchextra/sdk/features/BeaconFeature.java | Java | apache-2.0 | 1,274 |
/*
* Copyright 2018 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... | jyotisingh/gocd | server/src/main/java/com/thoughtworks/go/server/newsecurity/controllers/AuthenticationController.java | Java | apache-2.0 | 10,802 |
package com.passenger.android.sunshine.app.sync;
import android.accounts.Account;
import android.accounts.AccountManager;
import android.annotation.SuppressLint;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.AbstractThreadedSyncAdapter;
import android.content.ContentP... | dalmia/Sunshine-Advanced | app/src/main/java/com/passenger/android/sunshine/app/sync/SunshineSyncAdapter.java | Java | apache-2.0 | 29,453 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package pl.hojczak.swa.agents;
import pl.hojczak.swa.abstracts.AbstractAgent;
import pl.hojczak.swa.enums.Resources;
/**
*
* @autho... | MrJacek/agent | src/main/java/pl/hojczak/swa/agents/Country.java | Java | apache-2.0 | 959 |
/*
* 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/license... | liuyuanyuan/dbeaver | plugins/org.jkiss.dbeaver.data.transfer.ui/src/org/jkiss/dbeaver/tools/transfer/ui/internal/DTUIActivator.java | Java | apache-2.0 | 1,686 |
package org.sboehm.gbf.common;
import java.util.Collection;
import java.util.function.Function;
public abstract class AbstractMapper<BO extends BusinessObject, TO extends TransferObject> implements Mapper<BO, TO> {
protected <PBO, PTO> void mapSomeProperties(Collection<PBO> propertiesFromBusinessObject, Collecti... | sboehm85/gbf | gbf-service/src/main/java/org/sboehm/gbf/common/AbstractMapper.java | Java | apache-2.0 | 573 |
/*
* Copyright (c) 2021, Peter Abeles. All Rights Reserved.
*
* This file is part of Efficient Java Matrix Library (EJML).
*
* 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:... | lessthanoptimal/ejml | main/ejml-ddense/test/org/ejml/dense/row/TestCovarianceOps_DDRM.java | Java | apache-2.0 | 1,893 |
/*
* 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 ... | jior/glaf | workspace/glaf-base/src/main/java/com/glaf/base/modules/sys/form/GenericFormBean.java | Java | apache-2.0 | 1,010 |
/*
* Copyright 2014-2020 Real Logic Limited.
*
* 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 ... | EvilMcJerkface/Aeron | aeron-cluster/src/test/java/io/aeron/cluster/TestNode.java | Java | apache-2.0 | 15,055 |
/*
* 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-rekognition/src/main/java/com/amazonaws/services/rekognition/model/IndexFacesResult.java | Java | apache-2.0 | 13,322 |
package jp.com.pollseed.mahout.wrapper.user;
import jp.com.pollseed.mahout.wrapper.common.AbstractAnalyzer;
import org.apache.mahout.cf.taste.model.DataModel;
abstract class AbstractUser extends AbstractAnalyzer {
protected final UserItemVO dto;
protected AbstractUser(DataModel dataModel, UserItemVO dto) {... | pollseed/machine-learning | src/main/java/jp/com/pollseed/mahout/wrapper/user/AbstractUser.java | Java | apache-2.0 | 514 |
/*
* Copyright 2016 Karl Bennett
*
* 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... | shiver-me-timbers/smt-http-mock-parent | smt-http-mock-tomcat-parent/smt-http-mock-tomcat-common/src/main/java/shiver/me/timbers/http/servlet/tomcat/TomcatContainer.java | Java | apache-2.0 | 3,496 |