text stringlengths 7 995k |
|---|
/**
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... |
package uk.gov.hmcts.reform.idam.web.helper;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.junit4.SpringRunner;
import java.util.Arrays;
import java.util.List;
import static org.junit.Assert.assertEquals;
@RunWith(SpringRunner.class)
public class AuthHelperTest {
... |
/*
* 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 ... |
package com.flc.controller.activity.activity;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
impor... |
package com.home.teamnotifier.core;
import com.home.teamnotifier.core.responses.notification.Notification;
import java.util.Collection;
public interface NotificationManager {
void pushToClients(Collection<String> userNames, Notification message);
} |
package nimble.trust.engine.service.interfaces;
import java.io.File;
import java.io.InputStream;
import java.net.URI;
import java.util.List;
import com.hp.hpl.jena.rdf.model.Model;
import nimble.trust.common.OrderType;
import nimble.trust.engine.kb.KnowledgeBaseManager;
import nimble.trust.engine.model.pojo.TrustC... |
/*
* 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 not ... |
/*
* 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 ... |
package com.xiuxing.sample;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
/**
* Created by achar on 2017/5/18.
*/
public class Main {
public static void main(String args[]) {
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Diconfig.... |
/**
* Licensed to Apereo under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. Apereo
* licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in compli... |
package com.court.booking.system;
import com.court.booking.system.dto.CourtDto;
import com.court.booking.system.enums.SportType;
import com.court.booking.system.entity.CourtEntity;
import com.court.booking.system.entity.SportEntity;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
public... |
/*
* Copyright 2010-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package Stream_API.Reduce;
import java.util.Arrays;
import java.util.List;
import java.util.function.Predicate;
public class Match {
public static void main(String[] args) {
Aluno a1 = new Aluno("Ana", 7.1);
Aluno a2 = new Aluno("Luna", 6.1);
Aluno a3 = new Aluno("Gabi", 8.1);
Alun... |
package org.infinispan.persistence.cluster;
import org.infinispan.commons.configuration.BuiltBy;
import org.infinispan.commons.configuration.ConfigurationFor;
import org.infinispan.commons.configuration.attributes.AttributeSet;
import org.infinispan.configuration.cache.AbstractStoreConfiguration;
import org.infinispan... |
/*
* Copyright (C) FuseSource, Inc.
* http://fusesource.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 ... |
/*
* 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 ... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// 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: 2019.05.... |
package com.learn.java.leetcode.lc0721;
import com.learn.java.leetcode.base.CallBack;
import com.learn.java.leetcode.base.Utilitys;
public class Main extends CallBack {
public static void main(String[] args) {
Utilitys.test(Main.class);
}
} |
package com.github.gpluscb.ggjava.entity.object.response.objects;
import com.github.gpluscb.ggjava.entity.EntityType;
import com.github.gpluscb.ggjava.entity.object.response.AbstractGGResponseObject;
import com.github.gpluscb.ggjava.entity.object.response.ListResponse;
import com.github.gpluscb.ggjava.entity.object.re... |
package com.incloud.hcp.rest;
import com.incloud.hcp.jco.maestro.dto.*;
import com.incloud.hcp.jco.maestro.service.JCOEventosPescaService;
import com.incloud.hcp.util.Mensaje;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.Resp... |
/*
* 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 com.pettopia.view.controller;
import com.pettopia.controller.ProductsController;
import com.pettopia.model.bean.Product;
impor... |
/*
* 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 ma... |
/**
* 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... |
/*
* code https://github.com/jittagornp/excel-object-mapping
*/
package com.blogspot.na5cent.exom.converter;
/**
* @author redcrow
*/
public interface TypeConverter<T> {
T convert(Object value, String... pattern);
} |
/**
* Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.hadoop.hive.metastore.api;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
package mvc.ca.base.service;
public class InjectableItem {
private Class className;
private Object object;
public Class getClassName() {
return className;
}
public void setClassName(Class className) {
this.className = className;
}
public Object getObject() {
return object;
}
public void setObject(Object... |
package com.einevault.users.model;
/**
* Created by einevea on 16/08/15.
*/
public class SimpleUser {
protected final String username;
public SimpleUser(String username) {
this.username = username;
}
public String getUsername() {
return username;
}
} |
/**
* 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... |
package com.comnaraeSoft.lib.camerax;
import android.content.Context;
import android.widget.ImageView;
/**
* @author:luck
* @date:2021/12/1 9:53 下午
* @describe:CameraImageEngine
*/
public interface CameraImageEngine {
/**
* load image source
*
* @param context
* @param url
* @param im... |
/*
* Copyright (c) 2018, WSO2 Inc. (http://wso2.com) 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
*
* Unless re... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... |
package com.xiao;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* @author malone xiao
* @ClassName MqApplication.java
* @Description
* @createTime 2021年05月25日 16:04:00
*/
@SpringBootApplication
public class MqApplication {
public ... |
package com.ocdsoft.bacta.swg.server.controller.game;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.ocdsoft.bacta.soe.controller.MessageHandled;
import com.ocdsoft.bacta.soe.controller.GameNetworkMessageController;
import com.ocdsoft.bacta.soe.controller.ConnectionRolesAllowed;
import com.ocdsof... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.atguigu.gulimall.pms.dao;
import com.atguigu.gulimall.pms.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 商品属性
*
* @author zoucj
* @email 1095768010@qq.com
* @date 2019-08-01 21:18:15
*/
@Mapper
public interface AttrDao e... |
/**
* 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... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// 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: 2019.05.... |
package module6;
import de.fhpotsdam.unfolding.data.PointFeature;
import processing.core.PGraphics;
/** Implements a visual marker for ocean earthquakes on an earthquake map
*
* @author Sudharaka Palamkumbura and UC San Diego Intermediate Software Development MOOC team
*
*/
public class OceanQuakeMarker extends ... |
/* Copyright 2019 Telstra Open Source
*
* 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... |
package com.rohan.dynamic_spring_sec.entity;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Matcher {
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
Long Id;
String url;
public Long getId() ... |
/*
* Copyright 2012-2019 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... |
/*********************************************************************************
* *
* The MIT License (MIT) *
* ... |
// This file was generated by Mendix Modeler 7.7.
//
// WARNING: Code you write here will be lost the next time you deploy the project.
package xlsreport.proxies.microflows;
import java.util.HashMap;
import java.util.Map;
import com.mendix.core.Core;
import com.mendix.core.CoreException;
import com.mendix.systemwidei... |
/*
*
* Copyright (c) 2013 - 2020 Lijun Liao
*
* 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 a... |
/*
MIT License
Copyright (c) 2019 Emmanouil Sarris
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, publis... |
package com.example.coolweather.db;
import org.litepal.crud.DataSupport;
/**
* Created by clay on 2019/2/23.
*/
public class City extends DataSupport {
private int id ;
private String cityName;
private int cityCode;
public int getId() {
return id;
}
public void setId(int id) {
... |
package class4;
public class Problem_01_SwapWithoutTmp {
public static void main(String[] args) {
int a = 16;
int b = 111;
System.out.println(a);
System.out.println(b);
a = a ^ b;
b = a ^ b;
a = a ^ b;
System.out.println(a);
System.out.println(b);
}
} |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
/*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE 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://mindorks.com/license/apache-v2
*
* Unless required by applicable... |
package org.onvif.ver10.schema;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyE... |
/*
* 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... |
package Adapters;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RadioButton;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx... |
package dap4.test;
import dap4.dap4shared.ChunkInputStream;
import dap4.core.util.*;
import dap4.dap4shared.RequestMode;
import dap4.servlet.Generator;
import org.junit.Test;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.math.BigInteger;
import java.nio.ByteBuffer;
import java.nio.ByteO... |
/*
* 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 ... |
/*
* (C) Copyright IBM Corp. 2021.
*
* 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... |
/*
* 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 ... |
package br.com.adrian.olympicgames.api.repositories;
import java.util.Date;
import java.util.List;
import java.util.Optional;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
import o... |
package com.android.dreamtheater;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Canvas;
import android.widget.ViewFlipper;
import android.widget.ImageView;
import android.view.View;
import android.support.v13.dreams.BasicDream;
public class Demos {
public static class Demo1... |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.compiler;
import com.intellij.compiler.server.BuildManager;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.util.io.FileUtil;
import c... |
/**
* Copyright (C) 2010-2018 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite 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 vers... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2008-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
*
* http://www.apache.org/license... |
/**
* Copyright © 2016, Evolved Binary Ltd
* 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... |
package org.bcos.credit.util;
import org.fisco.bcos.web3j.crypto.Sign;
import org.fisco.bcos.web3j.utils.Numeric;
public class Tools {
static public Sign.SignatureData stringToSignatureData(String signatureData)
{
byte[] byte_3 = Numeric.hexStringToByteArray(signatureData);
byte[] signR = new ... |
// Copyright 2019 JanusGraph 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 law or agree... |
/**
*
*/
package org.xbib.z3950.common; |
/*
* 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 info.techcavern.wavetact.eventListeners;
import info.techcavern.wavetact.utils.DatabaseUtils;
import info.techcavern.wavetact.... |
package com.oms.repositories;
import java.util.List;
import com.oms.domain.Customer;
public interface ICustomerRepository {
List<Customer> getAllCustomers();
} |
package com.daasuu.epf.filter;
import android.opengl.GLES20;
import android.util.Pair;
import com.daasuu.epf.fbo.EFrameBufferObject;
import com.daasuu.epf.fbo.FrameBufferObject;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import static android.opengl.GLES20.GL_COLOR_BUFFER_BIT;... |
package com.comment.model;
import java.util.Iterator;
public class GetParams extends BaseParams {
/**
*
*/
private static final long serialVersionUID = -5041793410763948512L;
public void addParams(String key, Object object) {
put(key, object);
}
@Override
public String toString() {
int i = 0;
Strin... |
package com.vonhof.matchit;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
/**
* Used to define and store expressions. The context must include all sub expressions and expression functions that
* you'll use in subsequent expressions.
*
*
* @author Henrik Hofmeis... |
package org.docksidestage.hangar.freeflute.basic.multiple;
import java.io.Serializable;
/**
* member table
* @author FreeGen
*/
public class SeaMemberStatus implements Serializable {
private static final long serialVersionUID = 1L;
// ======================================================================... |
package com.dodo.xinyue.core.delegates;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.IdRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v... |
package org.apereo.cas.integration.pac4j.authentication.handler.support;
import org.apereo.cas.authentication.AuthenticationHandlerExecutionResult;
import org.apereo.cas.authentication.CoreAuthenticationUtils;
import org.apereo.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler;
impor... |
/*
* 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 ... |
package com.freetmp.maven.mbg.extend.plugin;
import com.freetmp.mbg.plugin.page.MySqlPaginationPlugin;
import com.freetmp.mbg.plugin.page.PostgreSQLPaginationPlugin;
import org.apache.commons.lang3.reflect.FieldUtils;
import org.junit.Test;
import static org.junit.Assert.*;
import org.mybatis.generator.config.Context;... |
package com.store.storeorderapi.models;
import java.util.Date;
import java.util.Objects;
import java.util.Set;
import com.store.storesharedmodule.utils.ArgumentVerifier;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection = "orders")
pub... |
package model;
import java.sql.Date;
public class PolicyInfo {
private int unid;
private String city;
private String department;
private int year;
private String title;
private String keywords;
private String abstrac;
private String place;
private String direction;
public int getunid()
{
return unid;
... |
package seedu.giatros.logic.commands;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
public class CommandResultTest {
@Test
public void equals() {
... |
package catgirl.mvp;
public interface ComponentPresenterCache {
long generateId();
<T> Presenter<T> getPresenter(long id);
<T> void setPresenter(long id, Presenter<T> presenter);
<C> C getComponent(long id);
<C> void setComponent(long id, C component);
} |
package ru.Test;
import org.junit.Assert;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.Select;
public class TaskTwelve extends WebDriverSettings {
@Test
public void taskTwelvetest() throws InterruptedException {
driv... |
/*
* 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... |
/*MIT License
Copyright (c) 2021 Marko Dujović
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, publish,
d... |
package io.pivotal.dataservices.scdf.source.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties("gemfire.client")
public class GemfireClientCacheProperties {
private Boolean authenticationRequired = false;
private String userName;
private String password;
... |
/*
* 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")... |
package kr.goldenmine.inumodelloader.inumodelloader.block;
import kr.goldenmine.inumodelloader.inumodelloader.Inumodelloader;
import kr.goldenmine.inumodelloader.inumodelloader.block.wood.ModWoodTypes;
import kr.goldenmine.inumodelloader.inumodelloader.item.ModCreativeModeTab;
import kr.goldenmine.inumodelloader.inumo... |
package model;
import constant.Constants;
import math.IActivation;
import util.RandomGenerator;
public class Neuron {
private float[] weights;
private float bias;
private float[] recurrentWeights;
private float neuronOutput = 0;
private float activationOutput = 0;
private IActivation activationF... |
package jason;
import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.*;
import jason.datastructure.Trie;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
import javax.swing.tree.VariableHeightLayoutCache;
import org.junit.Before;
import org... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* GetMailAddressPanel.java
*
* Created on 13.11.2009, 13:21:07
*/
package dimm.home.Panels;
import dimm.home.Rendering.GlossButton;
import dimm.home.Rendering.GlossDialogPanel;
import dimm.home.UserMain;
import... |
package wusc.edu.pay.facade.report.entity;
import java.util.Date;
import wusc.edu.pay.common.entity.BaseEntity;
/***
*
* @描述: POS商户报表数据表.
* @作者: Lanzy.
* @创建时间: 2014-4-19, 下午10:32:11 .
* @版本: V1.0.
*
*/
public class PosMerchantReport extends BaseEntity {
/**
*
*/
private static final long serialVer... |
/*
***** BEGIN LICENSE BLOCK *****
* Version: CPL 1.0/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Common Public
* License Version 1.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.eclipse.org/legal/cp... |
/* SPDX-License-Identifier: Apache-2.0 */
package io.openlineage.spark3.agent.lifecycle.plan.catalog;
import io.openlineage.spark.agent.facets.TableProviderFacet;
import io.openlineage.spark.agent.util.DatasetIdentifier;
import io.openlineage.spark.agent.util.PathUtils;
import java.util.Arrays;
import java.util.Map;
... |
package mcjty.xnet.apiimpl.fluids;
import com.google.common.collect.ImmutableSet;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
import mcjty.lib.varia.FluidTools;
import mcjty.lib.varia.JSonTools;
import mcjty.rftoolsbase.api.xnet.gui.IEditorGui;
import mcjty.rftoolsbase.api.xnet.gui.Indicat... |
package uk.gov.hmcts.reform.ccd.documentam.dto;
import uk.gov.hmcts.reform.ccd.documentam.model.Document;
import java.util.List;
public class UploadResponse {
private List<Document> documents;
public UploadResponse(List<Document> documents) {
this.documents = documents;
}
public List<Docum... |
/**
* Copyright 2018 Anson.Zhifu http://www.zhifu.com
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required b... |
package br.com.zup.anaminadakis.proposta.bloqueio.request;
import com.fasterxml.jackson.annotation.JsonCreator;
public class BloqueioRequest {
private String sistemaResponsavel;
@JsonCreator
public BloqueioRequest(String sistemaResponsavel) {
this.sistemaResponsavel = sistemaResponsavel;
}
... |
package org.hl7.fhir.r4.model.codesystems;
/*
Copyright (c) 2011+, HL7, Inc.
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 copyr... |
package org.ondetem.data.jpa;
import org.ondetem.entities.Marker;
import org.springframework.data.repository.CrudRepository;
public interface JPAMarkersRepository extends CrudRepository<Marker, Long>{
} |
// https://www.codeeval.com/open_challenges/22/
import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
File inputFile = new File(args[0]);
BufferedReader bufferedReader = new BufferedReader(new FileReader(inputFile));
String lineInFile;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.