text
stringlengths
7
995k
package com.shijingsh.ai.jsat.math.optimization.stochastic; import static java.lang.Math.pow; import static java.lang.Math.sqrt; import com.shijingsh.ai.jsat.linear.DenseVector; import com.shijingsh.ai.jsat.linear.IndexValue; import com.shijingsh.ai.jsat.linear.ScaledVector; import com.shijingsh.ai.jsat.linear.Vec; i...
package br.edu.fatecfranca.list2; public class Vehicle { public static String ownerName; public int wheels; public String color; public int year; public String type; public Vehicle(int wheels, String color, int year, String type) { this.wheels = wheels; this.color = color; this.year = year; this.type...
package com.tle.resttests.test.security; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ObjectNode; import com.tle.json.entity.CollectionJson; import com.tle.json.entity.Groups; import com.tle.json.entity.ItemId; import c...
/* * Copyright 2000-2013 JetBrains s.r.o. * Copyright 2014-2014 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...
package org.openxmlformats.schemas.spreadsheetml.x2006.main.impl; import org.apache.xmlbeans.SchemaType; import org.apache.xmlbeans.impl.values.JavaStringHolderEx; import org.openxmlformats.schemas.spreadsheetml.x2006.main.STRef; public class STRefImpl extends JavaStringHolderEx implements STRef { public STRefImp...
/* * 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 ...
/* * 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 applic...
/* * Copyright 2008 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
/* * Copyright 2006 The National Library of New Zealand * * 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 b...
package com.harp.harpocrates.views; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.graphics.Rectangle; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import com...
package org.esupportail.smsuapiadmin.dto.beans; import java.text.SimpleDateFormat; import java.util.Date; import org.apache.log4j.Logger; /** * UIMonth is the representation on the web side of the Statistic persistent. * * @author MZRL3760 * */ public class UIStatistic { /** * Log4j logger. */ private f...
package net.goldtreeservers.worldguardextraflags.wg.handlers; import java.util.ArrayList; import java.util.Collection; import java.util.Set; import org.bukkit.Location; import org.bukkit.entity.Player; import com.sk89q.worldguard.protection.ApplicableRegionSet; import com.sk89q.worldguard.protection.regions.Protecte...
package org.example.domain.search; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class SdnSearch { private String name; private String address; SdnSearch() { } public String getAddress() { return address; } public String getName() { return name; } public v...
package com.ctrip.xpipe.redis.console.controller.api.data.meta; import com.ctrip.xpipe.utils.IpUtils; import org.springframework.lang.Nullable; /** * @author chen.zhu * <p> * Mar 07, 2018 */ public class KeeperContainerCreateInfo extends AbstractCreateInfo { private String dcName; private String keeperc...
// Targeted by JavaCPP version 1.5.3-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.cpython; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.cpython.global.python.*; /* Slice object interface */ /* A slice object containing start, stop,...
version https://git-lfs.github.com/spec/v1 oid sha256:1a96cefbc73beb8557c6d8b8e63d2d4ae6799c2e1308c7287c60bc8f12c9946e size 1166
package com.adamkorzeniak.masterdata.features.metadata.model.openapi; import lombok.Getter; import lombok.Setter; @Getter @Setter public class Parameter { private String in; private String name; private String description; private boolean required; private ParameterSchema schema; }
package cn.mapway.document.ui.client.test; import cn.mapway.document.ui.client.component.Clients; import cn.mapway.document.ui.client.component.ace.AceEditor; import cn.mapway.document.ui.client.component.ace.AceEditorMode; import cn.mapway.document.ui.client.main.storage.LocalStorage; import cn.mapway.document.ui.cli...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.09.12 at 0...
/** * Author: Sampath Thennakoon * Version: 1.0 * Date: 30.11.2021 4.00 PM */ package com.itsampathlk.colorgrid; public class Coordinate { private int x; private int y; public Coordinate(int x, int y) { this.x = x; this.y = y; } public int getX() { return x; } ...
/** * Copyright 2014 Flipkart Internet Pvt. Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
package com.moon.spring.data.jpa.factory; import org.springframework.data.jpa.provider.QueryExtractor; import org.springframework.data.projection.ProjectionFactory; import org.springframework.data.repository.core.RepositoryMetadata; import org.springframework.jdbc.core.JdbcTemplate; import javax.persistence.EntityMan...
/* * Copyright 2015 Open Networking Laboratory * * 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 org.jboss.resteasy.client.core; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.net.URI; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import org.jboss.resteasy.client.ClientExecutor; import org.jboss.resteasy.client.ProxyBuilder; import org.jboss.resteasy.client...
package software.amazon.sns.topicpolicy; import java.util.List; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import software.amazon.awssdk.services.sns.SnsClient; import software.amazon.awssdk.services.sns.model.AuthorizationErrorException; import sof...
/** * 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...
/* * Copyright 2013 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
package org.robolectric.shadows; import static android.os.Build.VERSION_CODES.JELLY_BEAN; import static android.os.Build.VERSION_CODES.JELLY_BEAN_MR1; import static com.google.common.truth.Truth.assertThat; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.RelativeLayout; import an...
package codechef; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* https://www.codechef.com/problems/COUPSYS */ public class Coupsys { private static class DiscountInfo implements Comparable<DiscountInfo> { private final int city; private final...
package org.hl7.fhir.r4.model.codesystems; /*- * #%L * org.hl7.fhir.r4 * %% * Copyright (C) 2014 - 2019 Health Level 7 * %% * 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 * * ...
package com.xunqi.gulimall.coupon.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.xunqi.gulimall.coupon.entity.SeckillSkuRelationEntity; import org.apache.ibatis.annotations.Mapper; /** * 秒杀活动商品关联 * * @author 阿伦啊 * @email HeJieLin@gulimall.com * @date 2020-05-22 19:35:30 */ @Mapper publ...
package com.teethen.sdk.xmediapicker.cropper.cropwindow.handle; import android.graphics.RectF; import android.support.annotation.NonNull; import com.teethen.sdk.xmediapicker.cropper.cropwindow.edge.Edge; import com.teethen.sdk.xmediapicker.cropper.cropwindow.edge.EdgePair; /** * HandleHelper class to handle corner ...
package de.pxav.kelp.core.inventory.type; import de.pxav.kelp.core.entity.LivingKelpEntity; import de.pxav.kelp.core.inventory.item.KelpItem; import de.pxav.kelp.core.inventory.material.KelpMaterial; import org.bukkit.inventory.Inventory; import java.util.Arrays; import java.util.Collection; import java.util.Set; pu...
package main; import main.Creational.AbstractFactory.*; import main.Creational.Singleton.*; import main.Creational.Builder.*; import main.Creational.FactoryMethod.*; import main.Creational.Prototype.*; import main.Structural.Adapter.*; import main.Structural.Bridge.*; import main.Structural.Composite.*; import main.St...
/* * Copyright (c) 2016 Couchbase, 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...
/*********************************************************************** This file is part of KEEL-software, the Data Mining tool for regression, classification, clustering, pattern mining and so on. Copyright (C) 2004-2010 F. Herrera (herrera@decsai.ugr.es) L. Sanchez (luciano@uniovi.es) J. Alcala-Fde...
package ro.uaic.info.nlptools.dictcompiler; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileInputStream; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import jav...
/* * Copyright 2000-2009 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...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
/** * Project Name:learning-spring * File Name:XssHttpServletRequestWrapper.java * Package Name:me.kany.project.learning.spring.wrapper * Date:2021年01月21日 15:52 * Copyright (c) 2021, Jason.Wang All Rights Reserved. */ package me.kany.project.learning.spring.wrapper; import lombok.extern.log4j.Log4j2; import me.k...
/** * Copyright (C) 2011 Brian Ferris <bdferris@onebusaway.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/licenses/LICENSE-2.0 * * Unless requ...
package com.vm.audit.config; public class PrimaryDataBaseConfig { }
/** * Copyright (c) 2016-2019 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package com.zyf.common.exception; /** * 自定义异常 * * @author Mark sunlightcs@gmail.com */ public class RRException extends RuntimeException { private static final long serialVersionUID = 1L; private Strin...
/* * Copyright (C) 2007 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 2010-2018 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...
/* * RStudioCommandExecutedFromShortcutEvent.java * * Copyright (C) 2021 by RStudio, PBC * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero...
/* * 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...
package engine.components; import engine.graphics.Framebuffer; import engine.graphics.mesh.Mesh; import engine.graphics.mesh.MeshPart; import engine.graphics.shader.ShaderManager; import engine.graphics.shader.ShaderProgram; import engine.graphics.texture.DepthCubeMap; import engine.graphics.texture.Texture; import en...
package hundsun.pdpm.modules.security.service; import hundsun.pdpm.utils.StringUtils; import hundsun.pdpm.modules.system.domain.Menu; import hundsun.pdpm.modules.system.domain.Role; import hundsun.pdpm.modules.system.repository.RoleRepository; import hundsun.pdpm.modules.system.service.dto.UserDTO; import org.springfr...
/** * Copyright 2011-2021 Asakusa Framework Team. * * 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...
/* * Copyright 2000-2009 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 net.sourceforge.cardme.vcard.features; /* * Copyright 2011 George El-Haddad. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the...
package eg.bazinga.sfgpetclinic.controllers; import eg.bazinga.sfgpetclinic.services.VetService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; @Control...
package com.tinkerpop.blueprints.util.io.graphson; import com.tinkerpop.blueprints.Direction; import com.tinkerpop.blueprints.Edge; import com.tinkerpop.blueprints.Graph; import com.tinkerpop.blueprints.Vertex; import com.tinkerpop.blueprints.impls.tg.TinkerGraph; import org.codehaus.jettison.json.JSONArray; import or...
package com.interview.dynamic; /** * http://www.geeksforgeeks.org/check-whether-a-given-string-is-an-interleaving-of-two-other-given-strings-set-2/ */ public class TwoStringInterleavingToFormThird { public boolean isInterleavedRecursive(char str1[], char str2[], char str3[],int pos1, int pos2, int pos3){ if(pos1...
/* * Copyright (c) 2018, b krzanich <krzanichb@protonmail.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, ...
package org.json; /* Copyright (c) 2002 JSON.org 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, pub...
/* * Copyright 2021 4Paradigm * * 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...
package edwin.alkins.swingTest.littelGame2.core.entity.shape; import java.awt.Color; import java.awt.Graphics2D; import java.awt.geom.Arc2D; import java.awt.geom.Rectangle2D; public class Arc2DFill extends Arc2D.Double { private static final long serialVersionUID = -4435429241779220600L; private Color fillColor = ...
/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of sour...
package studio.baka.neko.essentials.commands; import com.mojang.authlib.GameProfile; import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.exceptions.CommandSyntaxException; import net.minecraft.command.argument.GameProfileArgumentType; import net.minecraft.command.argument.ItemStackArgument; impo...
package ServidorCalc; import java.rmi.*; // Classe que registra o servidor da aplicação junto ao servidor de nomes public class Servidor { public static void main(String argv[]) { try { System.out.println("Subindo servidor..."); // Associa o servidor a um nome para o ac...
/* * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software * Foundation. * * You should have received a copy of the GNU Lesser General Public License along with this * program; if not, you can obt...
package org.apereo.cas.adaptors.u2f.storage; import org.apereo.cas.util.DateTimeUtils; import com.github.benmanes.caffeine.cache.LoadingCache; import com.yubico.u2f.data.DeviceRegistration; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.springframework.transaction.annotation.EnableTransactionManageme...
/* * Copyright (C) 2017 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.example.myshop.bean; import java.io.Serializable; /** * Created by Bei on 2016/9/23. * 封装商品信息的bean类 */ public class Wares implements Serializable { private Long id; private String name; private String imgUrl; private String description; private Float price; public Long getId...
/* * Copyright 2018 Felipe Joglar Santos * * 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 ...
/* * Copyright 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 applica...
/** * The MIT License (MIT) * * Copyright (c) 2014-2017 Marc de Verdelhan, 2017-2019 Ta4j Organization & respective * authors (see AUTHORS) * * 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 So...
package net.cassite.pure.ioc.handlers.type; import java.lang.annotation.Annotation; import org.apache.log4j.Logger; import net.cassite.pure.aop.AOP; import net.cassite.pure.aop.AOPController; import net.cassite.pure.ioc.AnnotationHandlingException; import net.cassite.pure.ioc.Utils; import net.cassite.pure.ioc.handl...
/* * Copyright (c) 2019-2022 GeyserMC. http://geysermc.org * * 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,...
/* * Copyright 2019 Treu Techologies * * 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 use this file except in compliance with * the License. You ...
// Targeted by JavaCPP version 1.5.4-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.cuda.nppc; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import org.bytedeco.cuda.cudart.*; import static org.bytedeco.cuda.glo...
// ============================================================================ // // Copyright (C) 2006-2017 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
import java.util.*; import com.jalgoarena.type.TreeNode; public class Solution { public int[] inorderTraversal(TreeNode root) { List<Integer> items = new ArrayList<>(); inorder(root, items); return items.stream().mapToInt(i -> i).toArray(); } private void inorder(TreeNode root, L...
package no.nav.foreldrepenger.web.app.tjenester.behandling.medlem.aksjonspunkt; import java.util.Objects; import java.util.Optional; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; import no.nav.foreldrepenger.behandling.aksjonspunkt.AksjonspunktOppdaterer; import no.nav.foreldrepenger...
/** * -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose Pty Ltd" file="CopyFolderRequest.java"> * Copyright (c) 2003-2021 Aspose Pty Ltd * </copyright> * <summary> * Permission is hereby granted, free of charge, to ...
/* * 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...
package com.siemens.mindsphere.web.rest; import com.siemens.mindsphere.security.jwt.JWTConfigurer; import com.siemens.mindsphere.security.jwt.TokenProvider; import com.siemens.mindsphere.web.rest.vm.LoginVM; import com.codahale.metrics.annotation.Timed; import com.fasterxml.jackson.annotation.JsonProperty; import or...
package cn.shishuihao.thirdparty.api.spring.boot.mybatis.plus.autoconfigure; import cn.shishuihao.thirdparty.api.spring.boot.mybatis.plus.handler.ApiPropertiesJacksonTypeHandler; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.type.TypeHandlerRegistry; import org.mybatis.spring.SqlSessionF...
package com.mqttsnet.thinglinks.broker.service; import com.mqttsnet.thinglinks.common.core.constant.Constants; import com.mqttsnet.thinglinks.common.core.utils.DateUtils; import com.mqttsnet.thinglinks.common.redis.service.RedisService; import com.mqttsnet.thinglinks.link.api.RemoteDeviceActionService; import com.mqtt...
/* * Copyright (c) 2016 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockito.internal.matchers.text; import java.util.Iterator; import java.util.Map; import static java.lang.String.valueOf; /** * Prints a Java object value in a way humans can read it ne...
import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; public class MenuScreen extends Fragment { private String menuText; public static MenuScreen newInstanc...
package ij.process; import ij.*; import ij.plugin.FFT; import ij.plugin.ContrastEnhancer; import java.awt.image.ColorModel; /** This class contains a Java implementation of the Fast Hartley Transform. It is based on Pascal code in NIH Image contributed by Arlo Reeves (http://imagej.nih.gov/ij/docs/ImageFFT/). The Fa...
package ru.ifmo.lab8.ORM.Actions; import ru.ifmo.lab8.ORM.ORMAttribute; import ru.ifmo.lab8.ORM.ORMAttributeCollection; import ru.ifmo.lab8.ORM.ORMTable; import ru.ifmo.lab8.Utils; import java.sql.*; import java.util.List; public class CreateTableAction<T> extends ORMAction { private ORMTable<T> table; priva...
/* 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...
/** * Copyright 2014 Netflix, 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 t...
package com.ovit.nswy.member.service.impl; import com.ovit.nswy.member.mapper.WeatherConditionsMapper; import com.ovit.nswy.member.service.WeatherConditionsService; import org.apache.commons.collections.MapUtils; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired...
/* * 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...
package com.boot.study.exception; import com.boot.study.common.JSONResponse; import lombok.extern.slf4j.Slf4j; import org.springframework.validation.ObjectError; import org.springframework.web.bind.MethodArgumentNotValidException; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframew...
/** * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and conditio...
package coffee.machine; public class DrinkOrder { private final Drink drinkType; private final double money; private final Sugar sugar; public DrinkOrder(Drink drinkType) { this.drinkType = drinkType; this.sugar = new Sugar(0); this.money=0; } public DrinkOrder(Drink drinkType, in...
/* * Copyright 2020 Confluent Inc. * * Licensed under the Confluent Community License (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.confluent.io/confluent-community-license * * Unless required by applicable law or a...
/* * 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.example.drawmaskncrop; import java.io.File; import java.io.FileOutputStream; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Pai...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.mixedreality.v2020_05_01; import com.microsoft.a...
package tech.powerjob.samples.processors; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import tech.powerjob.common.serialize.JsonUtils; import tech.powerjob.worker.core.processor.ProcessResult; import tech.powerjob.worker.core.processor.TaskContext; import tech.powerjob.worker.core.process...
/* * 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 fr.choralegourmande.mvc; import fr.choralegourmande.Application; import fr.choralegourmande.datastore.IDatastore; import fr.choralegourmande.entities.Feed; import fr.choralegourmande.entities.Message; import fr.choralegourmande.misc.images.IImageEnhancement; import fr.choralegourmande.repositories.FeedReposito...
package kr.ac.kopo.kopo44.Service; import kr.ac.kopo.kopo44.DTO.UserDTO; public interface UserService { public int login(String userID, String userPassword); public int join(UserDTO user); }